[TriLUG] Named Virtual Hosts Help

Andy Naylor anaylor at nc.rr.com
Sun Jan 6 15:22:16 EST 2002


Hi All:

I'm working on a simple Named Virtual Hosts problem on my box.

Problem:
While typing in www.foo2.org I can get to the web site/apache box without a
problem

Going to www.tautaug.org  Gets me:
The url is www.foo2.org/piphi
and the error message:
Not Found
The requested URL /piphi/ was not found on this server.

Any Ideas would help. I've changed the config. several times with the same
result so I'm missing something.

Thanks,
Andy...



Apache box sits behind a modem router with the IP addr. of 192.168.1.5

httpd.conf:



ServerName mahimahi.localdomain

ServerAdmin blackfish at tautaug.org

Listen *:80

Port 80

NameVirtualHost 192.168.1.5:80

...


# Virtual hosts


# Virtual host www.tautaug.org

<VirtualHost 192.168.1.5:80>
        ServerName www.tautaug.org
        DocumentRoot /var/www/html/tautaug
#       ServerSignature email




</VirtualHost>



# Virtual host www.foo2.org
<VirtualHost 192.168.1.5:80>

        ServerName www.foo2.org
        DocumentRoot /var/www/html/piphi
#       ServerSignature email

</VirtualHost>




More information about the TriLUG mailing list