Re: [users@httpd] 503 response with mod_rewrite?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 8/25/06, Evaldas Imbrasas <evaldas@xxxxxxxxxxxx> 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: users-unsubscribe@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux