You might also need to add FORCE_SCRIPT_NAME setting to keep the url prefix of the original request.
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.