Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
menu search
person
Welcome To Ask or Share your Answers For Others

Categories

I am a beginner, I do want to deploy multiple Django cms projects under the same domain. I achieved it by using apache 2.2 and mod_wsgi 4.5.3 the configuration is below.

ServerName example.com
WSGIDaemonProcess blog python-home=/home/rndbkw/project/virtualenv2.7 python-path=/home/rndbkw/project/djangocms
WSGIScriptAlias /blog /home/rndbkw/project/djangocms/rnd/wsgi.py process-group=blog application-group=%{GLOBAL}

WSGIDaemonProcess rnd python-home=/home/rndbkw/virtualenv2.7 python-path=/home/rndbkw/djangocms
WSGIScriptAlias / /home/rndbkw/djangocms/rnd/wsgi.py process-group=rnd application-group=%{GLOBAL}

But i am facing multiple issues now, When i am login to the first site it will be working fine without any hassles. Then i am login to the example.com/blog after login it will be redirecting to the example.com and another issue i found that when i am removing the configuration for example.com(root) then i looking example.com/blog the style(css) of the page will be lost. Any solutions will be appreciated...

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
167 views
Welcome To Ask or Share your Answers For Others

1 Answer

Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
...