httpd-users mailing list archives

Is this a name-based VH? Do you have "NameVirtualHost 10.0.0.1:80" and
"Listen 10.0.0.1:80"?
If it's an IP-based VH, do you have "Listen 10.0.0.1:80" 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...)
Rgds,
Owen Boyle
>-----Original Message-----
>From: Alan Murrell [mailto:silkbc@yahoo.com]
>Sent: Donnerstag, 12. Dezember 2002 02:09
>To: users@httpd.apache.org
>Subject: [users@httpd] Virtual Host is not seen!
>
>
>Hello,
>
>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.
>
>Details:
>(NOTE: IP addresses and domain names have been faked
>for the purposes of this post.)
>
>I am attempting to setup a webmail application
>(IlohaMail - http://www.ilohamail.org). 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/webmail.mydomain.com'. 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 ---
><VirtualHost 10.0.0.1:80>
> ServerAdmin admin@mydomain.com
> DocumentRoot
>/websites/w/webmail.mydomain.com/source
> ServerName webmail.mydomain.com
> TransferLog /var/log/http/webmail.mydomain.com
></VirtualHost>
>--- httpd.conf ---
>
>It uses the "global" error_log for error logging.
>
>The problem is that when I goto
><http://webmail.mydomain.com> 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
>appreciated.
>
>TIA,
>
>Alan Murrell <silkbc@yahoo.com>
>
>
>______________________________________________________________________
>Post your free ad now! http://personals.yahoo.ca
>
>---------------------------------------------------------------------
>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
>
>
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: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