Use SCRIPT_NAME instead of REQUEST_PATH to get the current path