[Xitami] Help: Virutal Host !!

Joshi, Sunit xitami@lists.xitami.org
Wed, 6 Mar 2002 08:30:55 -0600


Hello All
I need to do this in Xitami, which I can do in IIS5.0

1)Create a virtual host called PyCgi so that it points to E:\\Sunit\\XMLFiles\\PyXml\\Scripts
2)Be able to point to http://localhost/PyCgi/PyTest.py and runmy python scripts.
3)Be able to bring a default page when pointing to http://localhost/PyCgi

I have tried creating a virtual host thru. the admin options but still it does't work. Also setup an alias, but still no luck. Below are the sections from  defaults.cfg and PyCgi.cfg

---defaults.cfg-------

#*END

[Security]
    Filename = "defaults.aut"

[Server]
    Cgi-bin = "./"
    Cgi-url = "/"
    Default3 = "index.cgi"
    Priority = "1"
    Webpages = "./"

[Virtual-hosts]
    * = "PyCgi.cfg"

-----PyCgi.cfg--------

#*END

[Accesslog]
    Filename = "PyCgi.log"

[Security]
    Filename = "PyCgi.aut"

[Server]
    Cgi-bin = "E:\\Sunit\\XMLFiles\\PyXml\\Scripts"
    Cgi-url = "/"
    Default3 = "index.html"
    Default4 = "intro.html"
    Webpages = "E:\\Sunit\\XMLFiles\\PyXml\\Scripts"

[Wsx]
    Admin = ""


Any pointers are greatly appreciated.

thanks
Sunit