Hi,

I have setup web2py, mod_wsgi on a centos5.8 machine to run on apache. 


But i keep getting the 403 forbidden error. Am not sure what am doing wrong 
here .

Pasting the file that i have included as additional conf, below.

Please help me/ provide some pointers on the same\

<VirtualHost *:80>
  ServerName web2py.example.com
  WSGIDaemonProcess web2py user=apache group=apache \
                           display-name=%{GROUP}
  WSGIProcessGroup web2py
  WSGIScriptAlias /wpy /root/web2py/web2py/wsgihandler.py

  <Directory /root/web2py/web2py>
    AllowOverride None
    Order Allow,Deny
    Deny from all
    <Files wsgihandler.py>
      Allow from all
    </Files>
  </Directory>

  AliasMatch ^/([^/]+)/static/(.*) \
           /root/web2py/web2py/applications/$1/static/$2
  <Directory /root/web2py/web2py/applications/*/static/>
    Order Allow,Deny
    Allow from all
  </Directory>

  <Location /admin>
  Deny from all
  </Location>

  <LocationMatch ^/([^/]+)/appadmin>
  Deny from all
  </LocationMatch>

  CustomLog /usr/apache/logs/access.log common
  ErrorLog /usr/apache/logs/error.log
</VirtualHost>


Awaiting your valuable response.

Thanks.
Regards,
Senthilkumaran Sundaramurthi.
_______________________________________________
BangPypers mailing list
BangPypers@python.org
http://mail.python.org/mailman/listinfo/bangpypers

Reply via email to