Apache Web Server
Jump to navigation
Jump to search
Apache on Gentoo
- Add the ServerName directive to the main configuration file (httpd.conf)
- To create a virtual host, just create a new file in /etc/apache2/vhosts.d/ with the name starting with 2 digits. For example:
01_images.shoopz.com.conf
- On this file, you just need to define your virtual host, nothing else is required.
- You don't need to duplicate the default_vhost.include which is in fact included from httpd.conf.