I have some difficult to install multiple projects Django on a single domain. I want to run Django-CMS and LFS on same domain :
- mydomain.com (django-cms)
- mydomain.com/store (LFS)
For the time being, I can access to the two domains with the correct django-project without problem however in the LFS project all shop's links redirect to the first domain. For example, the cart link redirect to mydomain.com/cart instead of mydomain.com/store/cart.
I tried to change the url.py file by adding "store/" in all url patterns but it doesn't work. I think I have to add a configuration in the settings.py of the LFS project but I don't know what.
Have you some ideas ? Thanks ! :)
PS: here my httpd.conf
Alias /store/static /home/ubuntu/lfs-installer/lfs_project/sitestatic/
<Directory /home/ubuntu/lfs-installer/lfs_project/sitestatic>
Order deny,allow
Allow from all
</Directory>
WSGIScriptAlias /store /home/ubuntu/lfs-installer/apache/django.wsgi
Alias /static /home/ubuntu/lfs-installer/selmyrtech/static/
<Directory /home/ubuntu/lfs-installer/selmyrtech/static>
Order deny,allow
Allow from all
</Directory>
WSGIScriptAlias / /home/ubuntu/lfs-installer/selmyrtech/apache/django.wsgi