Shared hosting mode

Author Message

paul bolger

Tuesday 30 November 2010 2:30:56 pm

As a way of making it easier for new users who may be using cheap, shared hosting how about offering a new 'shared hosting' access method. The admin siteaccess would be available at myhost.com/admin, the main language at myhost.com, and other languages at myhost.com/eng etc.

As a matter of interest, would it be possible to implement this in an extension?

Paul Bolger

Björn Dieding@xrow.de

Wednesday 01 December 2010 1:45:20 am

Your described method of a multisite setup is available in eZ Publish by default.

Looking for a new job? http://www.xrow.com/xrow-GmbH/Jobs
Looking for hosting? http://hostingezpublish.com
-----------------------------------------------------------------------------
GMT +01:00 Hannover, Germany
Web: http://www.xrow.com/

paul bolger

Wednesday 01 December 2010 2:48:33 am

I must admit it's a while since I tried this, but the last time I ended up with the siteaccess name inserted into the urls of the default site.

Paul Bolger

André R.

Thursday 02 December 2010 12:11:53 am

There is a setting to skip siteaccess from url if it is the default one.

If this is multi site setup (not just languages), then you can use host_uri matching in 4.4 and up:
https://github.com/ezsystems/ezpublish/blob/master/doc/features/4.4/host_uri_siteaccess_matching.txt

eZ Online Editor 5: http://projects.ez.no/ezoe || eZJSCore (Ajax): http://projects.ez.no/ezjscore || eZ Publish EE http://ez.no/eZPublish/eZ-Publish-Enterprise-Subscription
@: http://twitter.com/andrerom

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 02:12:42
Script start
Timing: Jan 18 2025 02:12:42
Module start 'layout'
Timing: Jan 18 2025 02:12:42
Module start 'content'
Timing: Jan 18 2025 02:12:43
Module end 'content'
Timing: Jan 18 2025 02:12:43
Script end

Main resources:

Total runtime0.5455 sec
Peak memory usage4,096.0000 KB
Database Queries63

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0069 589.0078152.6094
Module start 'layout' 0.00690.0027 741.617239.4219
Module start 'content' 0.00970.5346 781.0391596.2891
Module end 'content' 0.54430.0013 1,377.328112.5000
Script end 0.5455  1,389.8281 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00340.6209160.0002
Check MTime0.00130.2474160.0001
Mysql Total
Database connection0.00090.171810.0009
Mysqli_queries0.493590.4587630.0078
Looping result0.00060.1080610.0000
Template Total0.516294.620.2581
Template load0.00210.381120.0010
Template processing0.514194.234620.2570
Template load and register function0.00010.017610.0001
states
state_id_array0.00030.050410.0003
state_identifier_array0.00070.137320.0004
Override
Cache load0.00170.3136180.0001
Sytem overhead
Fetch class attribute can translate value0.00050.099730.0002
Fetch class attribute name0.00130.245770.0002
XML
Image XML parsing0.00130.246430.0004
class_abstraction
Instantiating content class attribute0.00000.001880.0000
General
dbfile0.00090.1718290.0000
String conversion0.00000.001440.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/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
4content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
5content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1content/datatype/view/ezxmltags/link.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/link.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 17
 Number of unique templates used: 7

Time used to render debug report: 0.0001 secs