Re: Strange tux problem

Hans Christian Saustrup <[email protected]>
Newsgroups gmane.network.tux
Message-ID <[email protected]>
On Tue, Sep 10, 2002 at 10:21:17PM +0200, Alex Kramarov wrote:

>> Anyone up for a bughunt? :-)
> right now everyone mostly is fixing the stuff he needs and submits it here ...

As it turns out, the biggest bug here was lack of proper documentation :-)
When trying to locate the right directory for the virtual host, tux
will actually try _two_ location - first the domainname (with any leading
"www" chopped off), and if that fails, it will look for "default" or
whatever is specified in /proc/sys/net/tux/default_vhost. If you're
using wildcard hosting, create this as an empty directory and all
requests will be forwarded to the backend (ie. Apache).

I still think just bailing out on the request,
if the directory isn't found is a big drastic though.

Cheers,
HC

-- 
Hans Christian Saustrup
Chief of Research/Development
Digital Team ApS - a division of Media-I
Banegaardspladsen 6, 1TH / DK-8000 Aarhus C / Denmark

Value your privacy - use PGP/GPGuard.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.