Thanks for your responce Bjorn,

On Sat, Apr 19, 2008 at 5:00 PM, Bjorn Tipling <[EMAIL PROTECTED]> wrote:
>
>  403 is a permissions error
>
>  http://www.checkupdown.com/status/E403.html
>
>  Are permissions right?
>
well, they seem to be, at least the file permissions... I'm not sure
about the execution of cgi permissions or other... with chmod 777
code.py it through the same error, I would guess it's execution
permissions.

>  A couple of recommendations:
>
>  Look up HTTP response codes.
>  Check your web server error log for detailed information.
>
the only error log is 403 - "GET /code.py/ HTTP/1.1" 403 1136 "-"

>
>
>  On Apr 19, 12:55 pm, "Bruno Sarlo" <[EMAIL PROTECTED]> wrote:
>  > 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 accessinghttp://myserver/code.py/returns server error is 403..
>
> >
>  > thanks for any help.
>  >
>  > --
>  > Bruno
>  >
>



-- 
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to