RemoveSiteAccessIfDefaultAccess

Author Message

Jon Ramster

Wednesday 26 March 2008 6:58:18 am

Hello

I have been trying to work out how to stop showing the siteaccess in my urls and eventually, after much frustration, a colleague found a setting in settings/override/site.ini.append.php, which is

RemoveSiteAccessIfDefaultAccess=enabled

I could not find reference to this in the documentation anywhere, apart from a couple of comments. There is a very nice article here though: http://ez.no/developer/articles/how_to_configure_an_ez_publish_site/url_modifications

My point is, shouldn't such an important setting be in the documentation? Are there many undocumented settings like this? How do people find out about these settings in the first place without trial and error?

Regards

Jon

(I am using eZ Publish 3.9.2)

Wednesday 26 March 2008 2:20:24 pm

A good trick is to simply browse through site.ini (and the other INI files), which is well commented regarding useful settings.

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

Main resources:

Total runtime0.0147 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.0057 589.4609152.6406
Module start 'layout' 0.00570.0030 742.101639.4766
Module start 'content' 0.00880.0041 781.578189.3828
Module end 'content' 0.01280.0018 870.960930.3047
Script end 0.0146  901.2656 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002315.8698140.0002
Check MTime0.00117.2892140.0001
Mysql Total
Database connection0.00074.563510.0007
Mysqli_queries0.003423.199630.0011
Looping result0.00000.239110.0000
Template Total0.001510.010.0015
Template load0.00075.054610.0007
Template processing0.00074.905010.0007
Override
Cache load0.00053.519410.0005
General
dbfile0.00021.636180.0000
String conversion0.00000.053740.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