httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Boyle Owen" <>
Subject RE: [users@httpd] Virtual Host is not seen!
Date Thu, 12 Dec 2002 08:26:23 GMT
Is this a name-based VH? Do you have "NameVirtualHost" and

If it's an IP-based VH, do you have "Listen" or "Listen 80"
(beware - apache listens to all IPs by default, but once you define
*one* IP with a "Listen", it drops its default behaviour and listens
only to the one specified...)

Owen Boyle

>-----Original Message-----
>From: Alan Murrell []
>Sent: Donnerstag, 12. Dezember 2002 02:09
>Subject: [users@httpd] Virtual Host is not seen!
>Red Hat 6.2
>Apache 1.3.27 (*just* upgraded)
>Summary: After setting up a particular Virtual Host in
>httpd.conf, I get the default (first VirtualHost
>entry) instead of the site I setup.
>(NOTE: IP addresses and domain names have been faked
>for the purposes of this post.)
>I am attempting to setup a webmail application
>(IlohaMail -  I decided to
>set it up as a seperate Virtual host, just like that
>of the many other sites we host.  I put the contents 
>of the IlohaMail directory into
>'/websites/w/'.  The 
>actual index.php page, etc. are in a subdirectory
>called 'source', so I made that the Document Root. 
>Here is the VirtualHost entry in my httpd.conf:
>--- httpd.conf ---
>    ServerAdmin
>    DocumentRoot
>    ServerName
>    TransferLog /var/log/http/
>--- httpd.conf ---
>It uses the "global" error_log for error logging.
>The problem is that when I goto
><> in my web 
>browser, instead of the webmail application, I get the
>first VortualHost in my httpd.conf.  In my past
>experieince, this is consistent with DNS 
>pointing a site to the webserver, but Apache being
>unable to find it in the httpd.conf (so it serves up
>the first VirtualHost instead).  However, there 
>is a proper httpd.conf entry (I have a script which
>does it all; I just supply the first letter of the
>domain, the domain name and the script does 
>the rest; everything has worked fine with it until
>now.  Actually, the only thing I had to tweak was the
>Document Root, as I had to make it the 'source'
>dirctory').  I also dounle-and-triple checked the DNS
>entry, and it is correct.
>I am unable to determine why Apache cannot see the
>Virtual Host.  I have even tried moving the
>VirtualHost entry to the top of the "Virtual Hosts"
>section, so it is the first VirtualHost listed, but
>still the same problem.  Even new VHosts that I try to
>setup are not showing up.
>I have been struggling with this since the weekend.
>Any help, ideas, guidance, etc. would be greatly 
>Alan Murrell <>
>Post your free ad now!
>The official User-To-User support forum of the Apache HTTP 
>Server Project.
>See <URL:> for more info.
>To unsubscribe, e-mail:
>   "   from the digest:
>For additional commands, e-mail:

This message is for the named person's use only. It may contain
confidential, proprietary or legally privileged information. No
confidentiality or privilege is waived or lost by any mistransmission.
If you receive this message in error, please notify the sender urgently
and then immediately delete the message and any copies of it from your
system. Please also immediately destroy any hardcopies of the message.
You must not, directly or indirectly, use, disclose, distribute, print,
or copy any part of this message if you are not the intended recipient.
The sender's company reserves the right to monitor all e-mail
communications through their networks. Any views expressed in this
message are those of the individual sender, except where the message
states otherwise and the sender is authorised to state them to be the
views of the sender's company. 

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message