First time here? Check out the FAQ!

Revision history  [back]

Like you might have suspected, this is for hosting askbot at sub-url.

You might also need to add FORCE_SCRIPT_NAME setting to keep the url prefix of the original request.

Here is a blog post explaining how this can be done (there are other posts too):

http://lazylabs.org/blog/django-under-sub-url-powered-by-uwsgi-behind-nginx/

The ASKBOT_URL is used in the urls.py file and is needed for the routing as well as for the correct result of reverse() calls - so that all urls printed in the html output have the prefix.