anyone have experience with mod_wsgi deployment?

i use the manual's sample config but it didn't work straight away. i
have to remove the line
Alias / /home/web2py/applications/
it works but then all the /static/ page are serve via web2py instead
of apache directly.

it seems that once i have set the Alias the WSGIScriptAlias will be
ignore. anyone have the solution to have all the static page skip
mod_wsgi?

thanks in advance
vince

here's my config

   <VirtualHost 10.10.10.2:80>
      ServerName 10.10.10.2
      ### alias the location of applications (for static files)
      #Alias / /home/web2py/applications/
      ### setup WSGI
      WSGIScriptAlias / /home/web2py/wsgihandler.py
      WSGIDaemonProcess web2py user=www-data group=www-data \
                               home=/home/web2py/ \
                               processes=10 maximum-requests=500
      ### static files do not need WSGI
      <LocationMatch "ˆ(/[\w_]*/static/.*)">
        Order Allow,Deny
        Allow from all
      </LocationMatch>
      ### everything else goes over WSGI
      <Location "/">
        Order deny,allow
        Allow from all
        WSGIProcessGroup web2py
      </Location>
   </VirtualHost>



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py Web Framework" 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to