httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jim Walls <>
Subject [users@httpd] Virtual hosts problem
Date Fri, 06 Jun 2003 03:55:20 GMT
I know that problems with virtual hosts gets discussed regularly and 
this may be answered in the archives, but after looking at what felt 
like almost every E-Mail on this lists that includes virtualhost in it 
(there are HUNDREDS).

I have a small Apache based web site here at my house that has been 
operating just fine a  I have another site I am 
trying to set up using name-based virtual host.  This is Apache version 
2.40 (yes, I know I need to upgrade that) under Windows 2000 Pro as a 
service.  Following the instructions almost verbatum from the manual for 
virtual hosts, I added the following to httpd.conf file.  After stopping 
  the Apache service and restarting it (using the Apache Service Monitor 
dialog box), I get an error message in a popup box that says "The 
requested operation has failed!".  There are no messages in any log file 
about it.  If I copy the backup version of the original to httpd.conf, 
the Apache service starts just fine so I'm assuming that I screwed 
something up when I created the virtual hosts.

Anyone see what I messed up on this?

----- excerpt from httpd.conf -----
# Ensure that Apache listens on port 80
Listen 80

# Listen for virtual host requests on all IP addresses
NameVirtualHost *

<VirtualHost *>
   ServerAlias *
   DocumentRoot "C:/Program Files/Apache Group/Apache2/htdocs/"

<VirtualHost *>
   ServerAlias *
   DocumentRoot "C:/Program Files/Apache Group/Apache2/htdocs/"
----- end of excerpt -----

Jim Walls - K6CCC
626-302-8515    FAX  626-302-7501
AMSAT member 32537 / WSWSS member 395
To send me PGP encrypted E-Mail, use:

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