3

Where to specify Apache2 Virtual Hosts in CentOS

view full story
linux-howto

http://serverfault.com – I'm used to Ubuntu, where there is a special file for containing the virtual hosts. But I'm getting the impression that in CentOS the virtual hosts are listed right in the main configuration file. Can anyone confirm this? EDIT - Tried this and it didn't work: Added this to httpd.conf <VirtualHost *:80> ServerName example.com ErrorLog /var/www/example_apache_errors.log DocumentRoot /var/www/html/example <Directory /var/www/html/example/> Options Indexes FollowSymLinks MultiViews AllowOverride All Order allo (HowTos)