httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joshua Slive" <jos...@slive.ca>
Subject Re: [users@httpd] (again) Can not define "default" name virtual host
Date Tue, 27 Jun 2006 13:54:48 GMT
On 6/27/06, Neil A. Hillard <hillardn@whl.co.uk> wrote:

> You are trying to do something that Apache is not designed for.  You want:
>
> 195.168.3.66         -> /home/webs/195.168.3.66
> fantomas.fantomas.sk -> /home/webs/fantomas.fantomas.sk
> <everything else>    -> /home/webs/default.fantomas.sk
>
> You can't do that.  You can do:
>
> fantomas.fantomas.sk -> /home/webs/fantomas.fantomas.sk
> <everything else>    -> /home/webs/default.fantomas.sk
>
> end of story.  Apache doesn't do it and unless you write a patch then I
> suspect no one else will.
>
> This is not a bug but the way it works.  Now I'm pretty sure you could
> use mod_rewrite to work around this but you're on your own for that.

This may be true.  But I agree with Matus that this is poorly
documented.  I wrote a good chunk of the documentation, and at that
time I was not aware of this particular behavior, so it is not
addressed properly.

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


Mime
View raw message