Re: include files / htaccess
| From: | Michael Dearman | Date: | Fri, 15 Dec 2000 04:02:34 +0000 |
| Subject: | Re: include files / htaccess | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-30439@lists.php.net to get a copy of this message | ||
mailing_list@gmx.at wrote:
>
> I know, this is a little bit OffTopic but ...
>
> It is not possible for me, to put my include-files ".inc" out of the
> htdocs-path!
> Can I use htaccess to prevent the server showing these files' source-code?
>
<Files ~ *.inc>
Order allow, deny
Deny from all
</Files>
And while your at it, maybe:
Options -Indexes
Mike D.