> Is it possible to get the "/subDir/djangoApp" prefix removed from the
> URL before the rest of django handles the URLs !?

Yes, at least I think you can. (Note: I haven't actually tested this,
and it feels a bit kludgey, but it's where I would start.)

In http://www.djangoproject.com/documentation/url_dispatch/, look for
the section titled: Including other URLconfs. In the included conf
file, all of the patterns are applied against *the unmatched tail* of
the requested URL. So, in your top-level urls.py file you could have:

urlpatterns = patterns('',
    (r'^subDir/djangoApp',        include('app_dir_name')),
)
Note: No trailing / and no $ -- this is a head match.

The urls.py in app_dir_name you have your real urls.py. Something like
that. It would be easier if they just created a subdomain for you and
then setup an Apache Virtual Host. Then everything is normal.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to