Follow-up to bug #10452: Fixed flaws in PATH_INFO check for simulateStaticDocuments