Hi Tom,
if I would walk in your shoes,
duplicate the source in different folders,
so you do not create a single point of failure.
If you mess in one project the other one behaves the same, as long as
you do not deploy again...
If you would run in linux I would have said,
create different symlinks and use different wsgi files. (wsgi file uses
different settings)
But I am not an dev ops guy
Thanks
Frank
Am 25.02.2014 13:02, schrieb DJ-Tom:
Hi,
currently I'm using the following configuration to host a Django
appliaction:
# WSGI Configuration
<IfModule wsgi_module>
WSGIScriptAlias /2013/spcmanage
"D:/dev/spcmanage/spcmanage/wsgi.py"
WSGIPythonPath "D:/dev/spcmanage"
<Directory D:/dev/spcmanage>
<Files wsgi.py>
Order deny,allow
Allow from all
</Files>
</Directory>
Alias /static "D:/wwwroot/spcmanage/static/"
</IfModule>
Now I need to host the same application for another project, but with
a different database and under a different URL, e.g.
htts://www.domain.com/2014/spcmanage
But the application from 2013 should be working as well.
Is it sufficient to just add another WSGIScriptAlias line like below?
WSGIScriptAlias /*2014*/spcmanage
"D:/dev/*2014*/spcmanage/spcmanage/wsgi.py"
But what about the alias for the /static directory?
Thomas
--
You received this message because you are subscribed to the Google
Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send
an email to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-users/bc15e1ba-efae-4161-ac95-2b570e4430a0%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
--
You received this message because you are subscribed to the Google Groups "Django
users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-users/530C8818.9020903%40produktlaunch.de.
For more options, visit https://groups.google.com/groups/opt_out.