Re: include files / htaccess
| From: | Paul Gardiner | Date: | Fri, 15 Dec 2000 08:19:26 +0000 |
| Subject: | Re: include files / htaccess | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-30479@lists.php.net to get a copy of this message | ||
You could use the following in your httpd.conf file:
<Files ~ "\.inc$">
Order allow,deny
Deny from all
</Files>
Regards,
- Paul -
----- Original Message -----
From: <mailing_list@gmx.at>
To: <php-general@lists.php.net>
Sent: Friday, December 15, 2000 1:52 AM
Subject: [PHP] include files / htaccess
> 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?
>
> thanks
> michi
>
> --
> Sent through GMX FreeMail - http://www.gmx.net
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>
>