You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Alan Murrell <si...@yahoo.com> on 2002/12/12 02:09:08 UTC

[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 <si...@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


[users@httpd] How to "verify" http downloaded files ?

Posted by tmb <to...@yahoo.com>.
I wanted to download the latest Apache, PHP & MySQL to
install on a Win98se laptop for use over the
holiday's...

I just noticed that the Apache site "strongly suggest"
that I 'verify' the downloaded files with either PGP
or MD5.

I would guess that this would mean I must download and
install PGP or MD^ before I download the Apache
files... correct? (Played with PGP a couple of years
ago but never really used it.)

Once I do this & download the Apache files & keys...
what do I do?

I see the below on the Apache download page...

% pgpk -a KEYS
% pgpv apache_1.3.24.tar.gz.asc
or
% pgp -ka KEYS
% pgp apache_1.3.24.tar.gz.asc
or
% gpg --import KEYS
% gpg --verify apache_1.3.24.tar.gz.asc 

Does this mean I go to the DOS prompt and enter one of
these lines or what?

Thanks for any help.

tmb

PS - Sorry for asking for the basic tutorial, but I
have to have this ready to leave in a few days so
hopefully someone will hold my hand through the
download & installation process.




__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

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