Perhaps this has been documented somewhere before and in that case I
apologise for not being able to find the solution.

My problem is the following:

I have a django-app named Amelie running in /data/apps/amelie and an
apache httpd running for my domain with a doc-root of /data/htdocs

The application is mounted on / which means wsgi "steals" all the URL
requests and handles them but I only want wsgi to come in play when
the requested URL doesn't physically exist in the doc-root.

An example of the behavior I'm trying to accomplish.

When the following URL is requested:
www.example.com/teletubies
And /data/htdocs/teletubies exists then just serve the content of that
directory, else give the request to wsgi and hence the django-app
because it might know what to do with it or will throw a 404 instead.

Anyone got a clue as how to do this?

--

You received this message because you are subscribed to the Google Groups 
"modwsgi" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/modwsgi?hl=en.


Reply via email to