[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Google
  Web www.spinics.net

AW: Virtual hosts not working



> I was just trying to use Tux with virtual hosts. I've set up the following
> directory structure:
>
> /www/bla
> /www/blorb
> /www/blub
>
> So that people requesting www.bla.com would get the content in
> /www/bla etc.
>
> Now in /proc/sys/net/tux I did
>
> $ echo 1 > virtual_server
> $ echo "/www/" > documentroot
> $ echo 2 > strip_host_tail
>
> At that point, Tux became almost unresponsive and didn't server any pages.
> Did I do something wrong? I monitored /proc/kmsg but nothing showed up
> there. I use Linux 2.6.5.

Tux removes the preceding www in the hostname ("www.bla.com" -> "bla.com"),
your strip_host_tail statement removes the last two parts of the hostname
("bla.com" -> "").

Regards,
Max

_______________________________________________

tux-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/tux-list

[Older Fedora Users Mail]     [Home]     [Fedora Legacy]     [Fedora Desktop]     [iPod Nano]     [ATA RAID]     [Fedora Bible]     [Fedora Marketing]     [Fedora Mentors]     [Fedora Packaging]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

Powered by Linux

Google
  Web www.spinics.net