Forums / Developer / url problems: index.php?/ vs index.php/

url problems: index.php?/ vs index.php/

Author Message

Fernando Marinò

Saturday 05 September 2009 3:07:02 am

hi all,
I have this site:
www.animangaplus.it/beta
here all across the site it uses the notation with the question mark after the index.php file:
http://www.animangaplus.it/beta/index.php<b>?</b>/ita/News/

but in other section of the site, like the login module or the generated rss it uses links without the question mark, consequently this links does not works, so its not possible to use rss and I have to type the address of the administration area due to this behaviour in the login module. It is a bug? or a things that can be fixed with some settings?

why this differences in the composition of the url?

Gaetano Giunta

Saturday 05 September 2009 4:34:13 am

The fact that the question mark is used in the generated urls depends on whether you are using php as an Apache module or as cgi/fastcgi.

In the latter case, eZPublish assumes that your server cannot do rewrite of the incoming urls, so puts the path to the content in the query string.

The fact that some urls get generated with the question mark and some without is very strange - it might happen if you have recently changed your eZPublish configuration and did not clear the caches / regenerate url aliases.
By default about the only url that always uses the query string is the one for the search module.

You can check out / try to alter the settings in site.ini in the override dir to get a proper setup: ForceVirtualHost, MatchOrder

Principal Consultant International Business
Member of the Community Project Board

Fernando Marinò

Saturday 05 September 2009 5:56:47 am

I don't really get it. You say that it depends on the mod_rewrite of apache, so thinking about it, the first installation of ezp was done on a server that has it enabled, then has been moved on a server that it has not. Certainly is not a problem of cache.

In site.ini I didn't override the ForceVirtualHost option, so in the root site.ini is set to false. The same goes for the MatchOrder option, not overridden and set to uri;host;port.

Fernando Marinò

Monday 07 September 2009 12:48:19 am

I'm sorted somehow the problem of the login module, but the wrong address generated by the rss module remains. I'm start thinking that it could be a bug.

Łukasz Serwatka

Monday 07 September 2009 12:57:11 am

Hi,

This topic might be helpful:
http://ez.no/developer/forum/install_configuration/possible_to_remove_path_to_ez_index_php_under_fastcgi/re_possible_to_remove_path_to_ez_index_php_u__2

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog

eZ debug

Timing: Jan 18 2025 11:18:41
Script start
Timing: Jan 18 2025 11:18:41
Module start 'content'
Timing: Jan 18 2025 11:18:42
Module end 'content'
Timing: Jan 18 2025 11:18:42
Script end

Main resources:

Total runtime0.8408 sec
Peak memory usage4,096.0000 KB
Database Queries202

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0070 587.7344180.8281
Module start 'content' 0.00700.6917 768.5625608.7656
Module end 'content' 0.69870.1419 1,377.3281337.3984
Script end 0.8407  1,714.7266 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00390.4614210.0002
Check MTime0.00150.1725210.0001
Mysql Total
Database connection0.00100.123010.0010
Mysqli_queries0.764090.87022020.0038
Looping result0.00230.27632000.0000
Template Total0.809896.320.4049
Template load0.00200.242920.0010
Template processing0.807796.069220.4039
Template load and register function0.00010.017310.0001
states
state_id_array0.00110.126010.0011
state_identifier_array0.00080.090020.0004
Override
Cache load0.00170.1970270.0001
Sytem overhead
Fetch class attribute can translate value0.00100.122540.0003
Fetch class attribute name0.00170.199770.0002
XML
Image XML parsing0.00120.144440.0003
class_abstraction
Instantiating content class attribute0.00000.001870.0000
General
dbfile0.00550.6512350.0002
String conversion0.00000.000830.0000
Note: percentages do not add up to 100% because some accumulators overlap

CSS/JS files loaded with "ezjscPacker" during request:

CacheTypePacklevelSourceFiles
CSS0extension/community/design/community/stylesheets/ext/jquery.autocomplete.css
extension/community_design/design/suncana/stylesheets/scrollbars.css
extension/community_design/design/suncana/stylesheets/tabs.css
extension/community_design/design/suncana/stylesheets/roadmap.css
extension/community_design/design/suncana/stylesheets/content.css
extension/community_design/design/suncana/stylesheets/star-rating.css
extension/community_design/design/suncana/stylesheets/syntax_and_custom_tags.css
extension/community_design/design/suncana/stylesheets/buttons.css
extension/community_design/design/suncana/stylesheets/tweetbox.css
extension/community_design/design/suncana/stylesheets/jquery.fancybox-1.3.4.css
extension/bcsmoothgallery/design/standard/stylesheets/magnific-popup.css
extension/sevenx/design/simple/stylesheets/star_rating.css
extension/sevenx/design/simple/stylesheets/libs/fontawesome/css/all.min.css
extension/sevenx/design/simple/stylesheets/main.v02.css
extension/sevenx/design/simple/stylesheets/main.v02.res.css
JS0extension/ezjscore/design/standard/lib/yui/3.17.2/build/yui/yui-min.js
extension/ezjscore/design/standard/javascript/jquery-3.7.0.min.js
extension/community_design/design/suncana/javascript/jquery.ui.core.min.js
extension/community_design/design/suncana/javascript/jquery.ui.widget.min.js
extension/community_design/design/suncana/javascript/jquery.easing.1.3.js
extension/community_design/design/suncana/javascript/jquery.ui.tabs.js
extension/community_design/design/suncana/javascript/jquery.hoverIntent.min.js
extension/community_design/design/suncana/javascript/jquery.popmenu.js
extension/community_design/design/suncana/javascript/jScrollPane.js
extension/community_design/design/suncana/javascript/jquery.mousewheel.js
extension/community_design/design/suncana/javascript/jquery.cycle.all.js
extension/sevenx/design/simple/javascript/jquery.scrollTo.js
extension/community_design/design/suncana/javascript/jquery.cookie.js
extension/community_design/design/suncana/javascript/ezstarrating_jquery.js
extension/community_design/design/suncana/javascript/jquery.initboxes.js
extension/community_design/design/suncana/javascript/app.js
extension/community_design/design/suncana/javascript/twitterwidget.js
extension/community_design/design/suncana/javascript/community.js
extension/community_design/design/suncana/javascript/roadmap.js
extension/community_design/design/suncana/javascript/ez.js
extension/community_design/design/suncana/javascript/ezshareevents.js
extension/sevenx/design/simple/javascript/main.js

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
5content/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
7content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
2content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 19
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs