Re: Looking for an informed opinion
| From: | (by way of mailing_list@gmx.at) | Date: | Wed, 29 Nov 2000 01:58:06 +0000 |
| Subject: | Re: Looking for an informed opinion | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-27749@lists.php.net to get a copy of this message | ||
better you place them outside document-root
there's no reason to put them inside document-root!
The only reason would be, to access them via http, but this is exactly
what you don't want!!!
michi
> You can setup Apache (if that's the server you're using) to deny access
> to inc files if requested directly from a browser. This will still allow
> you to include them in php or html files which is their purpose anyway
>
> <Files *.inc>
> AllowOverride AuthConfig FileInfo Indexes Limit Options
> Order allow,deny
> Deny from all
> </Files>
>
> Andrian
>
--
Sent through GMX FreeMail - http://www.gmx.net