httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joshua Slive" <>
Subject Re: [users@httpd] Does "AllowOverride All" damage Apache performance?
Date Thu, 22 Feb 2007 16:05:23 GMT
On 2/22/07, thomas Armstrong <> wrote:
> Hi.
> One colleague claims that if we set "AllowOverride All" within our
> httpd.conf, the performance of Apache (we use 2.0.59) is damaged.
> Is this true? Any suggestion is welcome.

As discussed here:
if AllowOverride is set to anything other than "none", then there will
be a performance penalty as apache looks for .htaccess files.

This would only be noticeable on a site that was stretching its
performance to the limits.  For example, runs with
AllowOverride enabled and easily transfers hundreds of gigabytes and
hundreds of millions of requests per day.  And if you are running any
kind of dynamic content like php, the processing time for those
scripts will overwhelm any time spent looking for .htaccess files.

In other words, the performance hit from enabling .htaccess is
irrelevant to most sites.  But if you are running a site that needs
the maximum throughput for requests for small static files, you might
consider disabling it and testing the result.


The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message