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.

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 18 2025 16:18:43
Script start
Timing: Jan 18 2025 16:18:43
Module start 'layout'
Timing: Jan 18 2025 16:18:43
Module start 'content'
Timing: Jan 18 2025 16:18:44
Module end 'content'
Timing: Jan 18 2025 16:18:44
Script end

Main resources:

Total runtime1.1938 sec
Peak memory usage4,096.0000 KB
Database Queries62

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0048 589.4688152.6406
Module start 'layout' 0.00480.0030 742.109439.4922
Module start 'content' 0.00771.1846 781.6016583.1641
Module end 'content' 1.19230.0014 1,364.765612.4531
Script end 1.1938  1,377.2188 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00370.3070160.0002
Check MTime0.00190.1604160.0001
Mysql Total
Database connection0.00070.057210.0007
Mysqli_queries1.141895.6449620.0184
Looping result0.00110.0941600.0000
Template Total1.159497.120.5797
Template load0.00220.180320.0011
Template processing1.157396.940420.5786
Template load and register function0.00010.008110.0001
states
state_id_array0.00300.247310.0030
state_identifier_array0.00150.127820.0008
Override
Cache load0.00180.1471200.0001
Sytem overhead
Fetch class attribute can translate value0.00070.057630.0002
Fetch class attribute name0.00140.115160.0002
XML
Image XML parsing0.00130.106130.0004
class_abstraction
Instantiating content class attribute0.00000.001070.0000
General
dbfile0.00100.0835240.0000
String conversion0.00000.000640.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
3content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
4content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
3content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
5content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 17
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs