Hiding siteaccess from URL with site.ini parameters ?

Author Message

David Zaoui

Wednesday 16 July 2008 9:37:15 am

Hi,

I have some trouble with hiding siteaccess from the url of my website : actually, the url is like : www.mysite.com/mysiteaccess/ and i want the website and its content to be accessed by the url www.mysite.com.

The problem is that , due to some technical constraints, i can't change nothing on the server side (so i can't create a rewrite rule etc..) .

Is it possible to do what i want only with parameters offered by ezpublish (in site.ini ?) or by adding some lines on index.php ?

Thanks in advance

David

Mark Marsiglio

Wednesday 16 July 2008 10:24:24 am

You might try this setting - I am not 100% sure it will do what you want, but it sounds close.

http://ez.no/doc/ez_publish/technical_manual/4_0/reference/configuration_files/site_ini/siteaccesssettings/pathprefix

http://www.thinkcreative.com
Turning Ideas Into Strategic Solutions

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

Main resources:

Total runtime0.6599 sec
Peak memory usage4,096.0000 KB
Database Queries54

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0087 588.0391152.6406
Module start 'layout' 0.00870.0031 740.679739.4922
Module start 'content' 0.01180.6467 780.1719520.6641
Module end 'content' 0.65850.0014 1,300.83598.1250
Script end 0.6599  1,308.9609 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00360.5423160.0002
Check MTime0.00160.2373160.0001
Mysql Total
Database connection0.00410.619110.0041
Mysqli_queries0.610492.4946540.0113
Looping result0.00060.0854520.0000
Template Total0.626594.920.3132
Template load0.00230.350320.0012
Template processing0.624194.575820.3121
Template load and register function0.00030.038310.0003
states
state_id_array0.00080.127910.0008
state_identifier_array0.00090.132620.0004
Override
Cache load0.00180.2769130.0001
Sytem overhead
Fetch class attribute can translate value0.00060.094020.0003
Fetch class attribute name0.00130.189530.0004
XML
Image XML parsing0.00070.099020.0003
class_abstraction
Instantiating content class attribute0.00000.001130.0000
General
dbfile0.00080.1244150.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
2content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
2content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 7
 Number of unique templates used: 5

Time used to render debug report: 0.0001 secs