HTACCESS and Config fixed.
-  Added the necessary environment variable to the htaccess since we're on a shared server.
-  Changed the config for the method for getting the url to REQUEST_URI since auto doesn't seem to be working.