durusmail: quixote-users: quixote2 and scgi1.2
quixote2 and scgi1.2
2005-04-24
2005-04-24
2005-04-24
2005-04-25
2005-04-25
2005-04-25
2005-04-26
2005-04-26
2005-04-26
favicon (was: quixote2 and scgi1.2)
2005-04-26
quixote2 and scgi1.2
vincent delft
2005-04-24
First sorry for question that sounds stupid...

I'm on gentoo with Apache 2.0.53, Quixote 2.0, scgi
1.2 and mod_scgi 1.2alpha1

I've adapted apache conf like:
        
                 SetHandler scgi-handler
                 SCGIServer 127.0.0.1:3000
                 SCGIHandler On
                 Options -Multiviews
        
(I think this is correctly taken into account because
if I replace the ":" by a blank I receive an error
message when I restart apache)

I've tried with "/qx" and with "/", but with "/" I
receive the standard index.html of apache.

I'm running python server/scgi_server.py


But, I receive the following error:
"
[2005-04-24 22:05:22] exception caught
Traceback (most recent call last):
  File
"/usr/lib/python2.3/site-packages/quixote/publish.py",
line 274, in process_request
    output = self.try_publish(request)
  File
"/usr/lib/python2.3/site-packages/quixote/publish.py",
line 249, in try_publish
    assert path[:1] == '/'
AssertionError

Form:

Cookies:

Environment:
CONTENT_LENGTH  0
DOCUMENT_ROOT   /var/www/localhost/htdocs
HTTP_ACCEPT
text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,
image/png,*/*;q=0.5
HTTP_ACCEPT_CHARSET ISO-8859-1,utf-8;q=0.7,*;q=0.7
HTTP_ACCEPT_ENCODING gzip,deflate
HTTP_ACCEPT_LANGUAGE en-us,fr;q=0.7,en;q=0.3
HTTP_HOST       localhost
HTTP_USER_AGENT Mozilla/5.0 (X11; U; Linux i686;
en-US; rv:1.7.6) Gecko/20050326 Firefox/1.0.2
QUERY_STRING
REMOTE_ADDR     127.0.0.1
REMOTE_PORT     1325
REQUEST_METHOD  GET
REQUEST_URI     /qx
SCGI            1
SCRIPT_NAME     /qx
SERVER_ADDR     127.0.0.1
SERVER_ADMIN    root@localhost
SERVER_NAME     localhost
SERVER_PORT     80
SERVER_PROTOCOL HTTP/1.1
SERVER_SOFTWARE Apache/2.0.53 (Gentoo/Linux)
mod_scgi/1.2
"


As a correlate question:
"where to define the root path for a python object ?"
Where to say to Quixote that /qx must point to
quixote.demo.create_publisher ?


Thanks


PS: simple_server.py or medusa_server.py run
perfectly.




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