durusmail: quixote-users: Getting Quixote to work with SCGI
Getting Quixote to work with SCGI
2002-08-14
2002-08-19
Getting Quixote to work with SCGI
Hamish Lawson
2002-08-14
I'm trying to get Quixote to run under SCGI, but having some trouble
getting SCGI to work.

To try out the demo, I ran the following command from the SCGI distribution
directory:

     ./scgi/quixote_handler.py -F

The quixote-scgi.log gratifyingly reported that a DemoHandler had been created.

I added the following section to Apache's httpd.conf file.

     
         SCGIServer 127.0.0.1 4000
         SCGIHandler On
     

But when I attempt requests for /dynamic, I get back a response of
"Forbidden: You don't have permission to access /dynamic/ on this server."

There are no errors in quixote-scgi.log, but the Apache error log reports:

     No such file or directory: cannot read directory for multi: /dynamic/

I doubt that quixote_handler.py's DemoHandler is actually getting to handle
the request, since a debug call that I added to the start of its
handle_connection method is not showing up in quixote-scgi.log.

I'm running Quixote 0.5, scgi 0.4, Apache 1.3.26, Solaris 8 Sparc. In order
to get scgi-0.4/scgi/passfd.c to compile without complaining that msghdr
didn't have a msg_control member, I had to define _XPG4_2 in order for that
member to be included from /usr/include/sys/socket.h.

Thanks for any pointers.


Hamish Lawson



reply