uri remove index.php

Author Message

Nayef Abu Ebaid

Wednesday 06 December 2006 7:39:38 am

Hi all,

How can I remove the index.php from the uri siteaccess method, so instead of the following url.

http://www.mysite.com/index.php/mydesign/

it will be like

http://www.mysite.com/mydesign/

best regards,

Nayef

Matthew Carroll

Wednesday 06 December 2006 9:43:33 pm

in your site.ini.append.php

[siteaccesssettings]
ForceVirtualHost=true

http://ez.no/doc/ez_publish/technical_manual/3_8/reference/configuration_files/site_ini/siteaccesssettings/forcevirtualhost

You will also need to add appropriate mod-rewrite rules:

http://ez.no/doc/ez_publish/technical_manual/3_8/installation/virtual_host_setup

Matthew

http://carroll.org.uk

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 22:26:31
Script start
Timing: Jan 18 2025 22:26:31
Module start 'layout'
Timing: Jan 18 2025 22:26:31
Module start 'content'
Timing: Jan 18 2025 22:26:31
Module end 'content'
Timing: Jan 18 2025 22:26:31
Script end

Main resources:

Total runtime0.0158 sec
Peak memory usage2,048.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0054 588.9063152.6094
Module start 'layout' 0.00540.0038 741.515639.4297
Module start 'content' 0.00920.0045 780.945389.3047
Module end 'content' 0.01370.0020 870.250030.3047
Script end 0.0157  900.5547 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002314.5250140.0002
Check MTime0.00106.5075140.0001
Mysql Total
Database connection0.00064.106310.0006
Mysqli_queries0.003924.585130.0013
Looping result0.00000.101410.0000
Template Total0.00149.210.0014
Template load0.00084.994510.0008
Template processing0.00074.156310.0007
Override
Cache load0.00053.440610.0005
General
dbfile0.00021.478280.0000
String conversion0.00000.063540.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs