Second Virtual Host gives a 404 page

4 posts / 0 new
Last post
#1 Sun, 07/08/2007 - 17:21
Newvirtualmin

Second Virtual Host gives a 404 page

I have question:

I run at a CentOS 5 server Webmin 1.350 with Virtualmin 3.43. I can make one Virtual Host and its reachable at http://localhost/domainname, but if I make a second Virtual Host, then I get a 404 page. And there are no error_log's at this second domainname. Can somebody help me with this problem? The documentroot is /home/*/public_html. And beneath find you the Virtual Host settings in the Apache module httpd.conf.

</Directory> </VirtualHost> <VirtualHost ...:80> SuexecUserGroup "#502" "#503" ServerName NAME ServerAlias www.NAME DocumentRoot /home/NAME/public_html ErrorLog /home/NAME/logs/error_log CustomLog /home/NAME/logs/access_log combined ScriptAlias /cgi-bin/ /home/NAME/cgi-bin/ DirectoryIndex index.html index.htm index.php index.php4 index.php5 <Directory /home/NAME/public_html> Options Indexes IncludesNOEXEC FollowSymLinks allow from all AllowOverride All </Directory> <Directory /home/NAME/cgi-bin> allow from all </Directory> </VirtualHost>

Kind regards

Newvirtualmin

Mon, 07/09/2007 - 16:43
ConRadical

I'm also having virtual host problems on CentOS 5.

Thu, 02/24/2011 - 09:12
Thu, 02/24/2011 - 09:30
Locutus

You're aware that this thread is 4 years old? :)

Topic locked