Re: Find and Replace

From: Date: Mon, 30 Jul 2001 19:27:29 +0000
Subject: Re: Find and Replace
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-60266@lists.php.net to get a copy of this message
On Monday 30 July 2001 20:14, billfarr@ages.com wrote: > It's also possible (if you're allowed to change the httpd.conf file) to put > in a <filesmatch> directive, something like > <FilesMatch "\.(htaccess|inc|log)$"> > Order deny,allow > Deny from all > </FilesMatch> This is also by far the safest technique (other than moving the included files outside your webroot), as it means there is no chance of an included file being parsed without it's normal surrounding code which may provide a security hole in your system. Do it this way!!!! -- Phil Driscoll

« previous php.general (#60266) next »