Set SCRIPT_FILENAME, SCRIPT_NAME and PHP_SELF on the sub request to the prefix so the baseUrl is set the right way, and URL generation works as expected in sub kernels