httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joseph A Nagy Jr <>
Subject Re: [users@httpd] Virtual hosts problem
Date Fri, 06 Jun 2003 04:04:58 GMT
Jim Walls wrote:
> 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 *>
>   ServerName
>   ServerAlias *
>   DocumentRoot "C:/Program Files/Apache Group/Apache2/htdocs/"
> </VirtualHost>
> <VirtualHost *>
>   ServerName
>   ServerAlias *
>   DocumentRoot "C:/Program Files/Apache Group/Apache2/htdocs/"
> </VirtualHost>

What about file permissions on the new directory?

Wielder of the mighty +1 LARTsaber of Unsubscribe Instructions At End of 
the +3 Clue-by-Four of No Attachments to a Mailing List,
and the -4 Shield of No Spell Checker

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