Forums / Install & configuration / remove question mark from php-cgi uri

remove question mark from php-cgi uri

Author Message

James Ward

Tuesday 17 October 2006 2:13:50 pm

Hi all,
Is it possible via a rewrite rule to remove th question mark from the uri on an ezpublish site runing php in cgi mode? I used the htaccess rules given at http://ez.no/doc/ez_publish/technical_manual/3_8/installation/virtual_host_setup#comment6272

This drops everything but the question mark. The uri's are now:
http://example.com/?/content/view/full/2

Any thoughts on how I could recraft a rewrite rule to get rid of that question mark?

working at www.wardnet.com
blogging at www.jamesward.ca

Karl Latiss

Wednesday 18 October 2006 4:53:15 am

You may need to set

ForceVirtualHost=true

in override/site.ini to fix this.

Atvert Systems
http://www.atvert.com.au

James Ward

Wednesday 18 October 2006 7:57:39 am

Thanks Karl,
That worked like a charm!

working at www.wardnet.com
blogging at www.jamesward.ca

Charles-Edouard Coste

Sunday 29 October 2006 11:43:45 pm

Great !! I love you guys! Very useful comment.