Trouble with urls

Author Message

Erik Weinmaster

Monday 04 April 2011 12:39:30 pm

Let me start by specifying what I've done so far. I am a long time ez publish user and I started my own personal project with it that only myself and my family uses. So what I have recently done is put my project online. Right now I have eZ Publish 4.4 on a shared host (linux and php5.x options) with Godaddy (No scoffing, this is not a high volume high traffic site. I can get by on the ultra cheap).

I tried to do some research to see if I can have a virtual host setup as to not include the index file in the url. I'm not sure I found the right answer, but as far as I can tell, its not possible. No bother, I'm using the .htaccess file.

The problem is, when I log onto the site there is the question mark in the url like this www.test.com/index.php?/manage. I'm used to seeing the url without the question mark www.test.com/index.php/manage.

Is there something I need to include in the .htaccess file in order to remove the question mark? On my local computer I have everything set up the same and don't get the ?.

Also, yes, technically if I include the ? my site works fine. So this is not really an issue, I just don't like seeing it there.

Thanks,

-erik

Erik Weinmaster

Monday 04 April 2011 1:39:57 pm

UPDATE:

This is actually causing an issue. The subitems view on the admin side only shows 'Data Error'. So this is hampering the admin side.

André R.

Tuesday 05 April 2011 6:59:28 am

Search for "fastcgi" in the forum for the long answer and workarounds, short answer: It's fixed in 4.5.

eZ Online Editor 5: http://projects.ez.no/ezoe || eZJSCore (Ajax): http://projects.ez.no/ezjscore || eZ Publish EE http://ez.no/eZPublish/eZ-Publish-Enterprise-Subscription
@: http://twitter.com/andrerom

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 11:14:23
Script start
Timing: Jan 18 2025 11:14:23
Module start 'layout'
Timing: Jan 18 2025 11:14:23
Module start 'content'
Timing: Jan 18 2025 11:14:24
Module end 'content'
Timing: Jan 18 2025 11:14:24
Script end

Main resources:

Total runtime0.7570 sec
Peak memory usage4,096.0000 KB
Database Queries57

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0078 589.2266152.6094
Module start 'layout' 0.00780.0036 741.835939.4375
Module start 'content' 0.01140.7439 781.2734532.3359
Module end 'content' 0.75540.0016 1,313.609412.3438
Script end 0.7569  1,325.9531 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00360.4708160.0002
Check MTime0.00130.1750160.0001
Mysql Total
Database connection0.00110.144510.0011
Mysqli_queries0.708193.5428570.0124
Looping result0.00050.0718550.0000
Template Total0.717694.820.3588
Template load0.00240.310720.0012
Template processing0.715394.491320.3576
Template load and register function0.00040.049110.0004
states
state_id_array0.00040.054410.0004
state_identifier_array0.00190.250120.0009
Override
Cache load0.00190.2547160.0001
Sytem overhead
Fetch class attribute can translate value0.00060.077220.0003
Fetch class attribute name0.00130.175740.0003
XML
Image XML parsing0.00060.081920.0003
class_abstraction
Instantiating content class attribute0.00000.001540.0000
General
dbfile0.00080.0999170.0000
String conversion0.00000.001440.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/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
3content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 9
 Number of unique templates used: 5

Time used to render debug report: 0.0001 secs