[Xitami] I'm to stupid: Virtual Hosts

Robert M. Muench xitami@lists.xitami.org
Mon, 21 Jan 2002 09:02:54 +0100


Hi, I'm really sorry for this post but I can't find out why my virtual hosts are
not working. Here is my configuration:

1. I have a xitami.cfg and a defaults.cfg file. So IMO Xitami uses the
defaults.cfg file. My defaults.cfg file looks like this:

#*END

[Security]
    Filename = "defaults.aut"

[Server]
    Cgi-bin = "/var/www/cgi-bin"
    Debug = "1"
    Default1 = "index.html"
    Default2 = "default.html"
    Webpages = "/var/www/html"

[Virtual-hosts]
    Www.infolayer.com = "infolayer.cfg"

There you see the virtual hosts entry. And the infolayer.cfg file looks like
this:

#*END

[Accesslog]
    Filename = "infolayer.log"

[Ftp]
    Root = "/var/www/html/infolayer"

[Security]
    Filename = "infolayer.aut"
    Superuser = "fischer.infolayer"

[Server]
    Cgi-bin = "/var/www/cgi-bin"
    Default1 = "index.html"
    Default2 = "default.html"
    Webpages = "/var/www/html/infolayer"

The problem is that the web-page from /var/www/html is being displayed and not
the one from /var/www/html/infolayer any idea where the problem could be?

--
Robert M. Münch
IT & Management Freelancer
Mobile: +49 (0)177 2452 802
Fax   : +49 (0)721 8408 9112
Web   : http://www.robertmuench.de