Added request.*_url_base variables for easy transition to more semantic naming in future, since URLs should end in trailing slashes to prevent unnecessary redirects.