Melvyn Sopacua
unread,Jul 31, 2012, 9:35:02 AM7/31/12Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to django...@googlegroups.com
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