apache performance tuning
I am using Linux ES-4 edition and studying abt apache performance tuning. Documentations suugests using FollowSymLinks instead of SymLinksIfOwnerMatch for DocumentRoot to prevent extra system calls for each filename. Pl clarify my doubt if we use different virtual hosts having different document root path. Should i place these directives in each <VirtualHost> boxes as displayed below:
<VirtualHost *:80> ServerName www.mysite.com DocumentRoot /web/sites/path <Directory /> Options FollowSymLinks </Directory> <Directory /web/sites/path> Options -FollowSymLinks +SymLinksIfOwnerMatch </Directory> DirectoryIndex b.html </VirtualHost> will this configuration work ???? |
Quote:
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 :D and apache was alive there...:) |
All times are GMT -5. The time now is 05:19 AM. |