Use REQUEST_URI instead of SCRIPT_NAME