On 31-7-2012 11:33, AnotherGuyver wrote:
> The Django installation seems to work allright. However,
> when I switch to my other projects, which don't use Django, e.g.
> loclhost/project1, they're still treated as Django Projects or at least the
> Django welcome page is beeing displayed instead of the index.html of the
> current project. Even 'localhost/project1/index.html' still brings me back
> to the Django page. Do I have to exclude my other Projects somehow? Or am I
> doing something wrong alltogether?
What you're doing wrong is following a tutorial that doesn't cover your
situation (and you don't seem to be familiar with the underlying
mod_wsgi technology).
Your error is caused by the fact that you refer all locations to django
in your webserver and the solution is to study mod_wsgi documentation on
how to route a location to a specific WSGI application.
To mod_wsgi, django is a WSGI application and so are your other projects
(if they previously worked as wsgi applications) or they are implemented
differently.
You should either route everything by default to django and override
your project locations or only route locations specific to django to the
django wsgi application and let everything else be handled by the webserver.
What is best for your situation only you can decide.
--
Melvyn Sopacua
--
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment