Unset SCRIPT_NAME so that Apache RewriteRules will work.