Hi All, Sorry couldn't make it, yesterday since had to leave early. Well, as kenneth said, the permissions was the issue. And what i didn't realize was, while i was checking the permissions inside my work-space, i failed to check the permissions of my workspace directory and it turned out to be the culprit; So added the permissions then. After that. there was another error from error log which am pasting below.
Directory index forbidden by Options directive: /root/web2py/web2py/ So, i added the wsgihandler.py script to the DirectoryIndex directive. The next error was Options ExecCGI is off in this directory: /root/web2py/web2py/wsgihandler.py. Inspecting further i found this in httpd.conf AddHandler cgi-script .cgi .pl .py Looked like .py was being handled as cgi. Hence, removed .py from the list of extensions. AddHandler cgi-script .cgi .pl Then, voila!! I had a working version of web2py on my server. Without banbpypers, i would've been left with no choice but to move on!! Thanks to Kenneth and the team!! Thanks Senthilkumaran Sundaramurthi. ________________________________ From: Kenneth Gonsalves <law...@gmail.com> To: bangpypers@python.org Sent: Wednesday, 25 July 2012 4:51 PM Subject: Re: [BangPypers] Configuring web2py to run on apache with Centos5.8 On Wed, 2012-07-25 at 16:10 +0530, Guruprasad wrote: > On Wed, Jul 25, 2012 at 3:55 PM, Senthil <skksun...@yahoo.co.in> > wrote: > > Hi Kenneth, > > > > Really appreciate your help. I was able to configure the web2py to > run on apache successfully. Thanks to everyone for the support. > > What was the issue and how did you solve it? It'd be great if you > could post a short writeup. > > the issue was that apache was giving forbidden error when trying to access his app and the solution was to give apache the permissions. This is a very common issue in fedora/redhat/centos/ where the default for most directories under / is not to give execute permission to all. This error was further compounded by him putting his app under /root which is usually more heavily protected than most directories. -- regards Kenneth Gonsalves _______________________________________________ BangPypers mailing list BangPypers@python.org http://mail.python.org/mailman/listinfo/bangpypers _______________________________________________ BangPypers mailing list BangPypers@python.org http://mail.python.org/mailman/listinfo/bangpypers