httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hytham Shehab" <hytham...@menanet.net>
Subject Re: [users@httpd] virtual host spagetty
Date Mon, 17 Feb 2003 16:58:40 GMT
here is a snippet of httpd.conf:

NameVirtualHost 127.0.0.1

<VirtualHost 127.0.0.1>
    ServerName alhytham.com
    DocumentRoot /var/www/alhytham
</VirtualHost>

<VirtualHost 127.0.0.1>
    ServerName openwebmail.com
    DocumentRoot /var/www/openwebmail
</VirtualHost>

and the /etc/hosts:
127.0.0.1    localhost.localdomain    localhost
127.0.0.1    alhytham.com                alhytham
127.0.0.1    openwebmail.com         openwebmail

??

> Normally, if apache can't resolve a Host header, it uses the FIRST VH
> which matches the TCP/IP definition (IP and port). You say it is
> matching the LAST one... So I would guess that your FIRST VH is
> misconfigured and is never being selected. If you don't spot the bug
> yourself, post the relevant VHs (please - not the whole confgi :-)
> 
> Rgds,
> Owen Boyle


---------------------------------------------------------------------
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