Hi,
I want to serve two django projects (test1 and test2) through apache and
modwsgi.
test1 project to be served with url front slash* (/)*
test2 project to be server with url *(/test/test2)*
I am using single virtual host with 2 aliases for each application. This
seems to work fine. But need to have separate error logs for both the
projects. Is this correct way to write settings in apache.
eg. ErrorLog test2_error_log/error_log
ErrorLog test1_error_log/error_log
<VirtualHost *:80>
WSGIDaemonProcess test2
Alias /test1/test2app /opt/app/test2_codebase
WSGIScriptAlias /test1/test2
/opt/app/test2_codebase/ECST/test2project/wsgi.py
<Directory /opt/app/test2_codebase>
Order allow,deny
Allow from all
</Directory>
WSGIDaemonProcess test1
Alias /test1/apache/static/ /opt/app/test1/apache/static/
WSGIScriptAlias / /opt/app/test1/test1/test1.wsgi
<Directory "/opt/app/test1/apache">
Order deny,allow
Allow from all
</Directory>
</VirtualHost>
Any help would be appreciated. Thanks!
--
You received this message because you are subscribed to the Google Groups
"modwsgi" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/modwsgi.
For more options, visit https://groups.google.com/d/optout.