Re: scgi and virtual domains

Ksenia Marasanova <[email protected]>
Newsgroups gmane.comp.web.quixote.user
Message-ID <[email protected]>
This is a typical example of my virtual domain configuration (Apache 1):

<VirtualHost XX.XX.XX.XXX>
    ServerName my.server.name
    DocumentRoot /path/to/my/site/    
    Alias /html/ /path/to/static/files/
    <Location />        
        SCGIServer 127.0.0.1 4005
        SCGIHandler On
    </Location>
    <Location /html>
        SCGIHandler Off
    </Location>
</VirtualHost>

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
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.