Forums / Setup & design / index.php? on nvh

index.php? on nvh

Author Message

Tim Dickinson

Saturday 02 April 2005 2:12:46 pm

Hi all,

I am sure someone must have done this before, but I can't seem to find the answer on the forums.

Anyway, I have just finished a site using ezpublish 3.5.1 which uses nvh mode.

However, I would like to be able to have nice looking urls such as domain.com/design/article rather than the nvh mode domain.com/index.php?/design/article

I know that you can get rid of needing the ? in the url by using

RewriteEngine On
RewriteRule !\.(gif|jpe?g|png|css|js|html)$ index.php?/$1
RewriteRule index.php/(.*) index.php?/$1

which workd great.

However, the internal links within ezpublish still link to pages using the /index.php?/ format, so all point to module not found. How can I change the internal ezpublish links in one go?

Also, getting rid of the whole index.php as well would be nice, but I think I can work that out myslef from other posts on the forums.

Thanks in advance,

Tim

http://www.AdBalance.com - Ad network news and reviews
http://www.DevPublisher.com - Website publisher guides, tools and news
http://www.AudioMelody.com - Make better music

Lazaro Ferreira

Saturday 02 April 2005 3:07:37 pm

Have you tried compiling your templates with eztc.php

--index-file=index.php

option ?

I think <i>eztc.php</i> will append the

index.php?

part if a CGI version of php is detected, otherwise it will just append the

index.php

, in the past we have forced it to use the

index.php?

part instead

index.php

, so probably you can do it the otherway around

On the other hand I think that you will need the

index.php?

part if you are going to run ezp on a CGI PHP setup

Lazaro
http://www.mzbusiness.com

eZ debug

Timing: Jan 20 2025 18:14:48
Script start
Timing: Jan 20 2025 18:14:48
Module start 'content'
Timing: Jan 20 2025 18:14:49
Module end 'content'
Timing: Jan 20 2025 18:14:49
Script end

Main resources:

Total runtime0.9408 sec
Peak memory usage4,096.0000 KB
Database Queries191

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0061 588.8828180.8438
Module start 'content' 0.00610.8469 769.7266555.7031
Module end 'content' 0.85290.0878 1,325.4297332.7734
Script end 0.9408  1,658.2031 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00350.3719210.0002
Check MTime0.00140.1479210.0001
Mysql Total
Database connection0.00060.067110.0006
Mysqli_queries0.875093.00261910.0046
Looping result0.00120.13161890.0000
Template Total0.912397.020.4561
Template load0.00190.204520.0010
Template processing0.910496.761420.4552
Template load and register function0.00010.014410.0001
states
state_id_array0.00100.103710.0010
state_identifier_array0.00080.080420.0004
Override
Cache load0.00160.1743310.0001
Sytem overhead
Fetch class attribute can translate value0.00080.088430.0003
Fetch class attribute name0.00070.079430.0002
XML
Image XML parsing0.00210.227630.0007
class_abstraction
Instantiating content class attribute0.00000.000730.0000
General
dbfile0.00810.8635270.0003
String conversion0.00000.000630.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
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
2content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
9content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
7content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 21
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs