durusmail: quixote-users: scgi and virtual domains
scgi and virtual domains
2005-07-26
2005-07-27
scgi and virtual domains
Ksenia Marasanova
2005-07-27
This is a typical example of my virtual domain configuration (Apache 1):


    ServerName my.server.name
    DocumentRoot /path/to/my/site/
    Alias /html/ /path/to/static/files/
    
        SCGIServer 127.0.0.1 4005
        SCGIHandler On
    
    
        SCGIHandler Off
    


and minimal Quixote 1 script:

#!/usr/bin/env python
from scgi.quixote_handler import QuixoteHandler, main
from mylib import MyPublisher
from mysite import root
class MyAppHandler(QuixoteHandler):
        publisher_class = MyPublisher
        root_namespace = root()
        prefix = ""

if __name__ == '__main__':
        main(MyAppHandler)



> I've tried:
> - without script-name on scgiscript
> - with script-name="/"

I think you should use script-name=""

--
Ksenia
reply