Hi all, I am having problems with setting up web2py with mod_wsgi on Apache2.
Below is the vhosts.d/01_web2py_vhost.conf file i am using #virtual host LoadModule wsgi_module modules/mod_wsgi.so NameVirtualHost *:80 <VirtualHost *:80> ServerName web2py.localhost ·· DocumentRoot /var/www/localhost/htdocs/web2py/applications Alias / /var/www/localhost/htdocs/web2py/applications/ ·· WSGIScriptAlias / /var/www/localhost/htdocs/web2py/wsgihandler.py WSGIDaemonProcess web2py user=apache group=apache \ display-name=%{GROUP} processes=5 maximum-requests=1000 home=/var/www/localhost/htdocs/web2py ·· <LocationMatch "ˆ(/[\w_]*/static/.*)"> Order Allow,Deny Allow from all </LocationMatch> <Location /admin> Deny from all </Location> <LocationMatch ˆ/([ˆ/]+)/appadmin> Deny from all </LocationMatch> ·· <Location "/"> Order Deny,Allow Allow from all· WSGIProcessGroup web2py </Location> CustomLog /var/log/apache2/access.log common ErrorLog /var/log/apache2/error.log </VirtualHost> And # ls -l /var/www/localhost/htdocs/ | grep web drwxr-xr-x 6 apache apache 4096 2009-12-01 11:32 web2py if i run $ python web2py.py in the web2py directory and go to the http://127.0.0.1:8000/test/default/images, i have a simple application. But after i set up mod_wsgi on apache and go to the url http://web2py.localhost/test/default/images i can not see my application but got the error message "The requested URL /test/default/images was not found on this server." When i checked the log file i saw: [Tue Dec 01 16:25:59 2009] [error] [client 127.0.1.1] File does not exist: /var/www/localhost/htdocs/web2py/applications/test/default So it seems i missed something related with my configuration. Anybody have an idea? -- Oguz Yarimtepe <oguzyarimt...@gmail.com> -- You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send email to web...@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.