Hi all,

I am trying to install Pylons on my Mac and serve them as described in
http://wiki.pylonshq.com/display/pylonscookbook/Running+Pylons+with+SCGI+and+Lighttpd
The only difference is that I installed Lighttpd via Macports, I did a
system-wide Pylons install with easy_install, I enabled userdirs and I
set the webroot to the parent directory of the project, because I want
to serve more than one project.

I changed one more thing: egg:PasteScript#flup_scgi_thread gave a
deprecated warning, so I changed it into egg:Flup#scgi_thread as
suggested by the warning, It did not matter for the result.

What works:
- I can serve static content with Lighttpd when I disable the scgi
module.
- I can run the development Paste server to see the default homepage.

So the problem is somewhere in-between...

What does not work:
- Serving static content with the scgi module enabled gives me an
Safari error page telling me that the page redirected to much.
- Serving the project page gives me another Safari error telling that
the server stopped responding unexpected, and at the command line it
says:

2009-06-25 16:43:40 : Protocol error 'invalid netstring length'
2009-06-25 16:43:40,553 ERROR [scgi-wsgi] Protocol error 'invalid
netstring length'

Do I need to show my config files? log outputs? version numbers? I'm
totally lost at the moment...

Thank you.

Pepijn

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/pylons-discuss?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to