httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joshua Slive" <jos...@slive.ca>
Subject Re: [users@httpd] Order/Alow/Deny Performances
Date Thu, 13 Mar 2008 17:19:09 GMT
On Wed, Mar 12, 2008 at 7:33 PM, Res <res@ausics.net> wrote:
> Hi All,
>
>  I'm curious if anyone has thoughts/experiences on system performances
>  for...
>
>  Overall <directory / >  is set as
>  Order Deny,Allow
>  Deny from all
>  ...for security reasons
>
>  Each of our virtual hosts have the same, except 'allow from all' in their
>  respective '/var/virtuals/domain.name/www' directory blocks,
>
>  Now if all of the virtuals are under /var/virtuals, would there be any
>  more impact on responses over a single more higher directory block for
>  /var/virtuals, rather than putting the order/allows in each virtual host
>  block as we do now?
>
>  Just weighing up the risk of allowing everything under virtuals in a
>  single entry, against performace, with every domain having an entry for
>  their own www just to block out their own logs/ and non-web-accesible-storage
>  directories, in %99.99R cases they dont use their pvt store directoy.
>  Perhaps this is all moot as there is 0 impact?

This depends on how many vhosts we are talking about. For a reasonable
number (say, in the dozens), there should be essentially no difference
between the two configurations. For a very large number of vhosts, the
size of the configuration file can sometimes balloon. Although it
still won't have much of an effect on processing time, it can affect
memory usage. That is why there are various mass-virtual-hosting
options to handle hundreds or thousands of vhosts without having a
separate config section for each.

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@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message