durusmail: quixote-users: 2.0a1 scgi demo broken out of the box
2.0a1 scgi demo broken out of the box
2004-10-18
2004-10-27
2004-10-27
2004-10-27
2004-10-27
2.0a1 scgi demo broken out of the box
Mario Ruggier
2004-10-27
I stumbled on this too... but for me the demo still hangs if I do
either of:
a) I manually copy demo.conf to the site-packages demo directory
b) If I edit the demo_scgi.py I use to run the demo, to specify a full
path for the demo.conf file that I'd like to use

The only thing that has worked is to comment out the read_config line
in demo_scgi.py, but then I get no logs.... where do they go? How can I
make my demo_scgi.py script read my conf file?

Another issue - I modified the httpd.conf for the demo, from what it
was before:


        SCGIServer 127.0.0.1 4000
        SCGIHandler On


to what is suggested at the top of demo_scgi.py:


        SCGIServer 127.0.0.1 4000
        SCGIHandler On


but this will give a normal "Not Found" http request error, for any url
requested that starts with "/qdemo". Any ideas?

mario


On Oct 18, 2004, at 5:45 AM, Dan Helfman wrote:

> Just a note to prevent others from running into this problem. The
> setup.py in Quixote 2.0a1 doesn't install demo.conf from the demo
> directory. This means that when the installed demo is run via SCGI and
> accessed from the web, it inexplicably hangs, serving no response to
> the client. The work-around solution is to manually copy the demo.conf
> file into the appropriate site-packages directory, or to comment out
> the demo_sgci.py line that expects the presence of demo.conf.
>
> Dan


reply