Fixed bug with back button url not working when using uwsgi under sub-domain.
Merge pull request #48 from ben-github/fixback3

Fixed bug with back button url not working when using uwsgi under sub-do...