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 [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---