So usually when I need to do this I just do a bunch of trial and error in lighttpd and get stuff mostly working, but I've never been happy with it.
I want to have a Django project 'mounted' at /rta and another at / crime, both at the same domain. Sadly lighttpd doesn't support URL rewriting inside a URL match block, so I usually do something like this... url.redirect = ( "^/rta$" => "/rta/", "^/crime$" => "/crime/" ) fastcgi.server = ("/rta" => ("localhost" => ("socket" => ... ) ), "/crime" => ("localhost" => ("socket" => ... ) ) ) Yeah, I need that url.redirect because they don't work without slashes otherwise. APPEND_SLASH doesn't work with this, since if it someone visits to /rta/route/6 it will redirect to just /route/6/ -- Django doesn't know the base URL, it just knows what's incoming from lighttpd. So then I have to put my own ROOT_URL option in settings.py, prefix everything with it... write my own middleware so that APPEND_SLASH will see it, etc. Anyway the point is I hate doing all this just to deploy a project at a non-root URL. Anyone know what I'm talking about and have a better solution? --~--~---------~--~----~------------~-------~--~----~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---