Re: [users@httpd] (again) Can not define "default" name virtual host

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 6/27/06, Neil A. Hillard <hillardn@xxxxxxxxx> 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@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux