dream fish <[email protected]> wrote:
> i'm new to python and quixote. i've installed
> apache2.2.11+python2.5.2+quixote2.6+scgi1.13 on my computer(i use fedora10),
> but i've met a problem:
> i read the article "A Quixote Application:Getting
> Started<http://www.rexx.com/%7Edkuhlman/quixote_appgetgo.html>",
> and put the simpliest example code on my computer, the code files are:

That guide is quite old and does not apply to Quixote 2. I would
suggest starting with the mini demo (demo/mini_demo.py). You can
copy to a different place and use it as a template for a new
appplication. See <http://quixote.ca/qx/MiniDemo>.

If you want to use SCGI, check back with this list if you need help.
Basically you can change:

    from quixote.server.simple_server import run
    print 'creating demo listening on http://localhost:8080/'
    run(create_publisher, host='localhost', port=8080)

to:

    from quixote.server.scgi_server import run
    run(create_publisher, port=3000)

Regards,

  Neil

_______________________________________________
Quixote-users mailing list
[email protected]
http://mail.mems-exchange.org/mailman/listinfo/quixote-users

Reply via email to