How do i get rid of index.php in the urls?

Author Message

Douglas Hammond

Tuesday 09 August 2005 9:11:40 am

How do i get rid of index.php in the urls?

Luc Chase

Tuesday 09 August 2005 10:15:43 am

RewrieRule is the usual way to do this...
http://ez.no/doc/content/advancedsearch?SearchText=rewriterule&PhraseSearchText=&SearchContentClassID=-1&SearchSectionID=-1&SearchDate=-1&SearchPageLimit=4&SearchButton=Search

The Web Application Service Provider

Douglas Hammond

Tuesday 09 August 2005 10:31:14 am

that dosn't remove the index.php from the links in my pages.

anyway to do this too?

Luc Chase

Tuesday 09 August 2005 10:40:44 am

If you implemented this in the httpd.conf of Apache then remember to restart Apache.
If you've done that, clear all the EZP cache.
Q. If you manually remove the 'index.php' part of your URLs ( in the browser address bar ) does the system still find the pages?

The Web Application Service Provider

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 19:18:56
Script start
Timing: Jan 18 2025 19:18:56
Module start 'layout'
Timing: Jan 18 2025 19:18:56
Module start 'content'
Timing: Jan 18 2025 19:18:57
Module end 'content'
Timing: Jan 18 2025 19:18:57
Script end

Main resources:

Total runtime0.6677 sec
Peak memory usage4,096.0000 KB
Database Queries60

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0070 588.1484152.6406
Module start 'layout' 0.00700.0038 740.789139.4766
Module start 'content' 0.01080.6553 780.2656503.2656
Module end 'content' 0.66600.0016 1,283.531312.1250
Script end 0.6677  1,295.6563 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00360.5355160.0002
Check MTime0.00150.2281160.0001
Mysql Total
Database connection0.00080.114410.0008
Mysqli_queries0.619692.7910600.0103
Looping result0.00060.0916580.0000
Template Total0.631094.520.3155
Template load0.00180.262620.0009
Template processing0.629294.238720.3146
Template load and register function0.00020.032610.0002
states
state_id_array0.00250.371010.0025
state_identifier_array0.00100.149620.0005
Override
Cache load0.00140.2067140.0001
Sytem overhead
Fetch class attribute can translate value0.00080.123620.0004
Fetch class attribute name0.00200.301740.0005
XML
Image XML parsing0.00020.037320.0001
class_abstraction
Instantiating content class attribute0.00000.001640.0000
General
dbfile0.00120.1773100.0001
String conversion0.00000.001240.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
4content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
4content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
2content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 12
 Number of unique templates used: 5

Time used to render debug report: 0.0001 secs