Fix the REQUEST_URI for subdirectories