httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Olds" <>
Subject RE: [users@httpd] Virtual Hosts ?
Date Thu, 02 Jan 2003 00:17:39 GMT
> I have been following the list closely for the last few weeks trying to
> become knowledgeable enough to configure an apache 1.3.23 as
> distributed by
> Mandrake as a virtual host.
> I want a default site and a name based site so I have the following:
> NameVirtualHost
> <VirtualHost _default_>
> SeverName
> DocumentRoot /var/www/html
> </VirtualHost>
> <VirtualHost>
> ServerName
> DocumentRoot /usr/www/site.first/htdocs
> </Virtual Host>
> 1. As written I get a 403 Forbidden error on both pages.
> 2. If I change the in the second virtual host to *, requests
> go to my default for both sites.
> 3. Changing the to * in both the NameVirtualHost
> directive and
> the second virtual host, returns a 403 Forbidden error when requesting
> and the default when requesting anything else at
> There are DocumentRoot directives outside the VirtualHost sections above.
> Removing them gave me the same results as 3.
I'm just a duffer meself, but on a day like today you might not do any

How are you figuring you have IP#

Try using the IP# in both VH containers (the first is always the default)

My gut feeling tells me you are on a LAN and are using DHCP. Are you just
taking the number the router usually gives you? You need to set up static IP
numbers on the LAN (fiddle with router and Network setups on each computer
or the header information needed to sort out whichiwhicha doesn't get

Best Wishes!
Mike Olds

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