httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joshua Slive <jos...@slive.ca>
Subject Re: Name based host problems
Date Wed, 03 Apr 2002 16:58:19 GMT


On Wed, 3 Apr 2002, Matthew Daubenspeck wrote:

> Some of the config is incorrect. Change NameVirtualHost 1.1.1.1
>
> Enter the actual IP address of the interface. Then change each <VirtualHost *>
to the same IP as well. ie <VirtualHost 1.1.1.1>

No.  What you say is correct in earlier versions, but the "*" notation is
allowed in recent versions.  See below for the real problem.

> At 12:30 PM 4/3/2002, you wrote:
> >
> ><VirtualHost *>
> >DocumentRoot "/usr/www/boslerinc.co"
> >ServerName www.boslerinc.co
> >ServerAlias boslerinc.ne * boslerinc.or *.boslerinc.co
> ></VirtualHost>

In the ServeraAlias line "*.boslerinc.co" does not match just
"boserlinc.co".  You need to add it explictly.  Try:
ServerAlias boslerinc.ne boslerinc.or boslerinc.co *.boslerinc.ne *.boslerinc.or *.boslerinc.co

Joshua.




---------------------------------------------------------------------
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
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message