Hi! I'd like my customer to be able to deploy my Django application at http://host/some/custom/path/. Deployment is going to use Apache, not yet decided between mod_python and (more likely) FastCGI.
One option I see is to use a configurable prefix for all regexp's in top-level url.py, then use {% url .... %} for all references. Unfrotunately I still use 0.96 at the moment, and don't want to use devel version. Alternatively, I can: a) strip away the URL prefix using mod_rewrite b) define a custom config variable called e.g. BASE_URL and use it as a prefix to every (absolute) URL outputed into HTML I could avoid b) by using only relative URLs, but this is pain in this particular case. Any suggestions? Best Regards, Przemyslaw --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---