[Xitami] I'm to stupid: Virtual Hosts

The Computer Dojo xitami@lists.xitami.org
Mon, 21 Jan 2002 08:52:31 -0500


The Same thing is happening to me, and I cannot figure out for the
life of me how to achieve virtual hosts.
So if anyone can help Robert and I out would be much appreciated....

Monday, January 21, 2002, 3:02:54 AM, you wrote:

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

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

RMM> #*END

RMM> [Security]
RMM>     Filename = "defaults.aut"

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

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

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

RMM> #*END

RMM> [Accesslog]
RMM>     Filename = "infolayer.log"

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

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

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

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

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


RMM> --
RMM> Xitami Users Mailing List -- For Xitami support
RMM> To unsubscribe: http://lists.xitami.org/mailman/listinfo/xitami



-- 
Best regards,
 The                            mailto:thestore@thecomputerdojo.com