Apache / Httpd.conf – How do I set an Option that applies to all VirtualHosts? – Managing your servers can streamline the performance of your team by allowing them to complete complex tasks faster. Plus, it can enable them to detect problems early on before they get out of hand and compromise your business. As a result, the risk of experiencing operational setbacks is drastically lower.
But the only way to make the most of your server management is to perform it correctly. And to help you do so, this article will share nine tips on improving your server management and fix some problem about apache-2.2, httpd.conf, , , .
How do I set all docroots to FollowSymLinks? I have a bunch of virtual host entries and don’t want to modify each one.
Edit: I added ‘Options +FollowSymLinks’ in .htaccess and httpd.conf but I still receive 403 (Forbidden) errors :(. I even tried following SymLinks on twitter, but that didn’t work either. http://twitter.com/SymLinks
If your virtual hosts are all under the same directory then just put it in a
<Directory> section outside of all
Try this in the main configuration, you may can do it only for /www or something like that
<Directory /> Options +FollowSymLinks </Directory>