|
As my forum title says above, I am not able to get web.py running under lighttpd fastcgi. Static files are returning fine, but request for the python code just downloads the file source code. Here's my web.py python code:
Here's my fastcgi config file:
Can somebody help me figure out what is wrong? Please do not advise me to use a different platform because it is easier. I got web.py working at home, have a bunch of code I would like to use for production, but I can not seem to get it to work properly on this host. Thanks in advance... |
|
Since we do not use lighttp normally I can't be sure without testing, but I think it is these lines,
Try this,
Their documentation shows a basic example and includes a forum thread which explains it. Thanks, johns. the python code is being accessed properly, but the server simply returns the file as a download, and not pass it through the fastcgi processor. Hi, Have you tried doing the change my colleague suggested, and restarting lighthttpd after that? I suggest that you also try adding this line:
(after the |