I'm trying to run the "hello world" script from the Web.py homepage.
This works when I run the script standalone (./code.py) but not when I
use lighttpd. I've put the script into the cgI-bin folder and run it
with
http://localhost/cgi-bin/code.py in my browser and get "not found"
from Web.py. Other Python scripts work fine.
Only when I use a rewrite rule in lighttpd (like url.rewrite-once =
("^/(.*)\.py$" => "/cgi-bin/$1.py") it works.
Why does Webpy behave differently to normal Python scripts?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"web.py" 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/webpy?hl=en
-~----------~----~----~----~------~----~------~--~---