The answer is yes. I simply needed a unique wsgi_handler.py for each project, like wsgi_amr_handler.py and wsgi_webdev_proj.py each pointing to their correct respective project paths.
On May 26, 9:29 am, octopusgrabbus <[email protected]> wrote: > Is it bad practice to have two virtual hosts have the same mod_wsgi > configuration? I have one as shown below. The other is at a different > port. When I access that port, I get the web site from the > configuration below. > > Listen 8002 > <VirtualHost _default_:8002> > > AliasMatch ^/([^/]*\.css) /usr/local/www/documents/media/$1 > > Alias /media/ /usr/local/www/documents/media/media/ > > Alias /static/ /usr/local/www/documents/media/ > <Directory /usr/local/www/documents/media/> > Order deny,allow > Allow from all > </Directory> > > WSGIScriptAlias / /usr/local/www/wsgi-scripts/wsgi_handler.py > <Directory /usr/local/www/wsgi-scripts> > Order allow,deny > Allow from all > </Directory> > # > ServerAdmin [email protected] > < -- You received this message because you are subscribed to the Google Groups "modwsgi" 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/modwsgi?hl=en.
