The httpd process is running as the apache user. The apache user owns the directory under which web2py is installed. I have root access to the machine.
On Wed, Aug 19, 2009 at 12:28 PM, Yarko Tymciurak <yark...@gmail.com> wrote: > The process that apache/wsgi is running as (user - web? apache?) probably > does not have correct permissions for your web2py installation. > > There are a couple of ways to address this, depending on if you have sudo > or root access (e.g. if it's your own server, or if you just have an > account). > > > On Wed, Aug 19, 2009 at 11:08 AM, Don Lee <sam...@gmail.com> wrote: > >> I am trying to deploy my app on a CentOS 5.3 server running apache. I get >> an error message whenever I try to access the apps. >> >> ================================== >> Forbidden >> >> You don't have permission to access /apps/ on this server. >> >> ================================== >> >> >> I have python2.6.2 installed. I have wsgi installed. My httpd >> configuration is as follows. >> >> ==================== >> Alias /apps "/usr/local/web2py/current/applications" >> WSGIScriptAlias /apps "/usr/local/web2py/current/wsgihandler.py" >> WSGIDaemonProcess web2py user=apache group=apache \ >> home=/usr/local/web2py/current/ \ >> processes=10 maximum-requests=500 >> >> ### static files do not need WSGI >> <LocationMatch "ˆ(/apps[\w_]*/static/.*)"> >> Order deny,allow >> Allow from all >> </LocationMatch> >> ### everything else goes over WSGI >> <Location "/apps"> >> Order allow,deny >> Allow from all >> WSGIProcessGroup web2py >> </Location> >> LogFormat "%h %l %u %t \"%r\" %>s %b" common >> CustomLog /var/log/web2py_access.log common >> ==================== >> >> Apache owns /usr/local/web2py >> >> The log files show >> >> ==================== >> - - [19/Aug/2009:12:05:36 -0400] "GET /apps/ HTTP/1.1" 403 207 >> ==================== >> >> What am I doing wrong? Any help would be appreciated. >> >> >> > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send email to web2py@googlegroups.com To unsubscribe from this group, send email to web2py+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/web2py?hl=en -~----------~----~----~----~------~----~------~--~---