Hi,
I need to run 2 websites on the same host in apache.
But the issue I am facing is the 2nd website is opening in the same folder
as website1.
If I remove the configuration on website1 the site opens in its own folder
(i.e. the correct folder)
I have configured the conf file as directed in the posts using deamon
process.
My conf file looks like below:
Alias /static1 /opt/data/app1/knanalytics/knanalytics/static
<Directory /opt/data/app1/knanalytics/knanalytics/static>
Require all granted
</Directory>
<Directory //opt/data/app1/knanalytics/knanalytics>
<Files wsgi.py>
Require all granted
</Files>
</Directory>
WSGIDaemonProcess pe-xl-dev.knowdl.com
python-path=/opt/data/app1/knanalytics/knanalytics:/opt/data/app1/env/lib/python2.7/site-packages
WSGIProcessGroup pe-xl-dev.knowdl.com
WSGIScriptAlias / /opt/data/app1/knanalytics/knanalytics/wsgi.py
Alias /static /opt/data/app1/stage_apps/revel_ilp/revel_ilp/static
<Directory /opt/data/app1/stage_apps/revel_ilp/revel_ilp/static>
Require all granted
</Directory>
<Directory //opt/data/app1/stage_apps/revel_ilp/revel_ilp>
<Files wsgi.py>
Require all granted
</Files>
</Directory>
WSGIDaemonProcess revel-ilp-stg.knowdl.com
python-path=/opt/data/app1/stage_apps/revel_ilp/revel_ilp:/opt/data/app1/env/lib/python2.7/site-packages
WSGIProcessGroup revel-ilp-stg.knowdl.com
WSGIScriptAlias / /opt/data/app1/stage_apps/revel_ilp/revel_ilp/wsgi.py
SSLEngine on
SSLCertificateKeyFile /opt/data/ssl/knowdl.key
SSLCertificateFile /opt/data/ssl/STAR_knowdl_com.crt
SSLCertificateChainFile /opt/data/ssl/STAR_knowdl_com.ca-bundle
--
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.