If I'm using the developing server, I can access my test-object with
"http://localhost:8000/test/index.html";. If I try the same project
using apache2 virtualhost and call
"http://dms.bildung.hessen.de/test/index.html";, I'll get an empty
rRequest.META['PATH_INFO']. If I call
"http://dms.bildung.hessen.de/abc/test/index.html"; - "abc" can be any
name - rRequest.META['PATH_INFO'] has the value "/test/index.html" - it
should be "/abc/test/index.html". So the first "folder" in the url
seems to be deleted!

Changing my httpd.conf to something like this

<VirtualHost *:80>
 ServerName dms.bildung.hessen.de
 <Location "/dms/">
   SetHandler mod_python
   ...
....
and using adresses like
http://dms.bildung.hessen.de/dms/test/index.html"; would work, but I
really want to use an address without "virtual location/directoty" like
"dms".

MyQuestion: How can I use apache2 virtualhosts with django, for
adresses like "http://dms.bildung.hessen.de/test/index.html";.

Hans Rauch


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Django 
users" 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/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to