get rid of index.php/siteaccess from the the url

Author Message

Softriva .com

Tuesday 01 August 2006 11:18:16 pm

I have a node # 59 under node #2. In the url translator I added

about -> content/view/full/59

ezurl make the link as

http://www.mysite.com/index.php/siteaccess/about

How can I get rid of index.php/siteaccess from the above url.

Thank you

Christophe Condomines

Wednesday 02 August 2006 1:31:09 am

If you don't want to see index.php/siteaccess in the url generated by ezpublish, you have to configure your Apache web server.

In short, you must make use of the rewrite rules inside your virtual host.

Have a look at the ez documentation here:

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

Microblau SL
http://www.microblau.net

Softriva .com

Thursday 03 August 2006 1:19:59 am

Thank you, the rewrite rules got rid of the index.php but not the siteaccess. Is there a way to get rid of the siteaccess? If not, thats ok.

Christophe Condomines

Thursday 03 August 2006 1:29:45 am

Yes, but if you don't want the siteaccess in the url, you have to use the host access method:

http://www.example.com (actual website for public access)
http://admin.example.com (administration interface for the webmaster)

All is well explained at this page:
http://ez.no/doc/ez_publish/technical_manual/3_8/installation/virtual_host_setup/virtual_host_example

Microblau SL
http://www.microblau.net

Marcin Drozd

Thursday 03 August 2006 3:07:40 am

HI
In the 3.8 version of eZp we have:

# For instance if the default siteaccess is 'en' and you enable
# this you can access the siteacccess with 'index.php' instead of
# 'index.php/en/'.
RemoveSiteAccessIfDefaultAccess=disabled

try this.

http://ez-publish.pl

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

Main resources:

Total runtime1.4129 sec
Peak memory usage4,096.0000 KB
Database Queries65

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0077 594.8281152.6406
Module start 'layout' 0.00770.0032 747.468839.4766
Module start 'content' 0.01091.4006 786.9453591.2031
Module end 'content' 1.41150.0013 1,378.148412.1250
Script end 1.4128  1,390.2734 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00340.2382160.0002
Check MTime0.00150.1030160.0001
Mysql Total
Database connection0.00070.046310.0007
Mysqli_queries1.355495.9370650.0209
Looping result0.00090.0615630.0000
Template Total1.359496.220.6797
Template load0.00250.178120.0013
Template processing1.356996.040220.6785
Template load and register function0.00020.010710.0002
states
state_id_array0.00300.209710.0030
state_identifier_array0.00290.205720.0015
Override
Cache load0.00210.1455290.0001
Sytem overhead
Fetch class attribute can translate value0.00060.043430.0002
Fetch class attribute name0.00120.083860.0002
XML
Image XML parsing0.00070.046830.0002
class_abstraction
Instantiating content class attribute0.00000.000970.0000
General
dbfile0.00190.1373160.0001
String conversion0.00000.000640.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
5content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
10content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
3content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.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/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: 25
 Number of unique templates used: 7

Time used to render debug report: 0.0001 secs