Forums / Install & configuration / ezP 3.7.6 PHP cgi REQUEST_URI QUERY_STRING etc...

ezP 3.7.6 PHP cgi REQUEST_URI QUERY_STRING etc...

Author Message

J.M. Roth

Tuesday 10 June 2008 9:41:37 am

Hi there,

I run ezPublish 3.7.6 for a customer. (Apache 2.2, PHP 4.4)
When PHP as CGI/FastCGI is enabled it is looking for the site to load in the QUERY_STRING. (lib/ezutils/classes/ezsys.php line 911)

Now the check used to (not) get there is "if ( ! $isCGI || $force_VirtualHost )", so apparently I have to set $force_VirtualHost to true if I want to use the REQUEST_URI after all.

Why is that? The REQUEST_URI server variable works very well although I'm using PHP as a CGI, if that is what you would like to prevent... also PATH_INFO is working fine.

My SiteAccessSettings are
MatchOrder=uri
URIMatchType=element
...

Best regards,
JM