Hi all,
finally I decided to try webpy, I created the tutorial example, run
python code.py and it went all smoothly...
now i want to make my real web so I wanted to configure it with my
current fcgi configuration but it didn't work...
I did the following steps following the installation notes:
* easy_install flup
* chmod +x code.py
---- jumped to apache with FastCGI
* added <Files code.py> SetHandler fastcgi-script </Files> to my .htaccess
* and my code.py file looks like this:
#!/usr/bin/env python
import web
urls = (
'/', 'index' )
class index:
def GET(self):
print "Hello, world!"
if __name__ == "__main__": web.run(urls, globals())
web.webapi.internalerror = web.debugerror
web.wsgi.runwsgi = lambda func, addr=None: web.wsgi.runfcgi(func, addr)
-------
well, a bit frustrating but I'll get throught... it's obviously not a
web.py problem...
I got php running through fcgi too... Just don't know what else to test...
when accessing http://myserver/code.py/ returns server error is 403..
thanks for any help.
--
Bruno
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---