httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bryan Koschmann - GKT <gktn...@gktech.net>
Subject [users@httpd] NameVirtualHost not working
Date Thu, 03 Feb 2005 00:58:16 GMT
Hello,

I'm trying to setup a webserver using apache 2.0.52 and virtual hosts.

In my config I have:

ServerName www.mainhost.com
NameVirtualHost 11.22.33.44

then

<VirtualHost 11.22.33.44>
        DocumentRoot /home/ftphome/thisismytest.com/www
        ServerName www.thisismytest.com
        ServerAlias thisismytest.com
        ErrorLog /var/log/domains/thisismytest.com/error_log
        CustomLog /var/log/domains/thisismytest.com/access_log combined
</VirtualHost>

however, when I run that, it points the main site to the new virtual
directory. I just can't figure out why it will not work.

Any suggestions?

Thanks,

	Bryan


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message