remove index.php from URL

Author Message

H-Works Agency

Monday 16 July 2007 9:44:50 am

Hi all

How to remove this damn "index.php" from the url's without having to use "ezroot" operator in all urls ?

The apache URL rewrite method in .htaccess doesn't remove index.php from url...from what i observe it just rewrites url's where "index.php" was remove to the url with index.php.

I could use "ezroot" everytime but its impossible without overriding all templates which usually use "ezurl".

Thanx in advance.

EZP is Great

bisk

Monday 16 July 2007 10:35:28 am

Have you tried setting the ForceVirtualHost to true in the site.ini override?

-------------------------------
http://www.kookfijn.nl & http://www.magento.be

H-Works Agency

Tuesday 17 July 2007 11:03:36 am

Thanx a lot !

It did the tricks perfectly cause i am only using VirtualHost siteaccesses.

EZP is Great

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

Main resources:

Total runtime1.0032 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.0050 587.9063152.6250
Module start 'layout' 0.00500.0031 740.531339.4453
Module start 'content' 0.00800.9936 779.9766527.2813
Module end 'content' 1.00160.0015 1,307.257812.1641
Script end 1.0032  1,319.4219 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00380.3741160.0002
Check MTime0.00160.1549160.0001
Mysql Total
Database connection0.00050.051710.0005
Mysqli_queries0.956895.3728570.0168
Looping result0.00060.0634550.0000
Template Total0.971996.920.4860
Template load0.00230.229020.0011
Template processing0.969696.653420.4848
Template load and register function0.00010.011010.0001
states
state_id_array0.00110.106210.0011
state_identifier_array0.00180.175220.0009
Override
Cache load0.00190.1884150.0001
Sytem overhead
Fetch class attribute can translate value0.00080.077620.0004
Fetch class attribute name0.00120.118540.0003
XML
Image XML parsing0.00060.061720.0003
class_abstraction
Instantiating content class attribute0.00000.001150.0000
General
dbfile0.00090.0933170.0001
String conversion0.00000.002440.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
2content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.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
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 10
 Number of unique templates used: 5

Time used to render debug report: 0.0001 secs