Apache

This is a wiki page. Be bold and improve it!

If you have any questions about the content on this page, don't hesitate to open a new ticket and we'll do our best to assist you.

https://www.apache.org/
https://httpd.apache.org/
https://en.wikipedia.org/wiki/Apache_HTTP_Server

http://linux.overshoot.tv/etc/apache2

https://wiki.gentoo.org/wiki/Apache
https://wiki.gentoo.org/wiki/Project:Apache/Troubleshooting

Enable/disable vhosts

In debian and derivatives, there are 2 directories, one with all the .conf for all the existing vhosts, and another one with enable vhosts by symlinking to the .conf files in the former directory. One can easily use a2ensite and a2dissite to enable and disable each vhost.

In Gentoo, there is no such mechanism. There is only a single /etc/apache2/vhosts.d directory. Fortunately, enabling and disabling vhosts is also easy. It only takes one more step:
To enable:
place a .conf file in the directory.
service apache reload.
To disable:
mv mysite.conf mysite.conf.disabled
service apache reload