On 8/25/06, Evaldas Imbrasas <[EMAIL PROTECTED]> wrote:
> It would be no more performance-draining to check for an .htaccess
> file than it would be to check for any other file as a condition for
> issuing a 503.
If .htaccess files are enabled, Apache would check for their existance
recursively, wouldn't it? Meaning, for a requested file that is 4
directories deep it would do 5 .htaccess existence checks.
Only if you ask for it. You can turn AllowOverride on or off for any
directory. You would simply need it on for one directory. (I'm not
saying it's a good idea. I'd recommend simply changing httpd.conf and
gracefully restarting. But if you want to trigger off the existence
of a file, you might as well use .htaccess.)
Joshua.
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
" from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]