durusmail: quixote-users: scgi and virtual domains
scgi and virtual domains
2005-07-26
2005-07-27
scgi and virtual domains
vincent delft
2005-07-27
Thanks.

Works fine. Thanks

I've been able to run it in Apache. Than, as you
probably already have seen, I'm interested by
Lighttpd.
And it works with Lighttpd too.


For your information, my problem was that prefix
(=script-name), I've tried several vaues, but not ""
;-(.

Vincent



--- Ksenia Marasanova 
wrote:

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


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
reply