Quote:
|
Originally Posted by sachin1361
Should i place these directives in each <VirtualHost> boxes as displayed below:
<VirtualHost *:80>
...
DocumentRoot /web/sites/path
...
<Directory />
Options FollowSymLinks
</Directory>
<Directory /web/sites/path>
Options -FollowSymLinks +SymLinksIfOwnerMatch
</Directory>
...
</VirtualHost>
will this configuration work ????
|
Strictly say, it will not work because of <Directory /> syntax typo error

.
In serious, yes, if you have few virtual hosts, each of them has it`s own document root and therefore you have to include these two Directory options (for site / and for DocumentRoot) in every virtualhost.
I do not care about these options tunning, because, IMHO, they are a kind of paranoic - i mean, it should be done if it is the latest thing to increase performance. I`m using apache on virtual hosting, ~1000 virtual hosts.
I saw even 4000 virtual hosts

and apache was alive there...
