Fake the SCRIPT_FILENAME server variable to allow the base URL to be correctly guessed