Virtual Host Mode

Author Message

Aaron Carlino

Tuesday 27 February 2007 8:06:51 am

I have built a test site with ezPublish, using the "plain" template choice in the installation. My site has taken on the default name "plain."

I am currently viewing it with http://ezpublish.myserver.com/index.php/plain/

I've read about running Virtual host mode, so that something like http://www.plain.com would point to the above address and clean up the URL a bit. Any idea how to do that?

Also, what happens when I want to build another site? Is it just as easy as building a new folder on my server like so? http://ezpublish.myserver.com/index.php/my_new_site/

Or is it more invovled than that?

André R.

Tuesday 27 February 2007 11:16:08 am

virtualhost: http://ez.no/community/forum/install_configuration/getting_rid_of_index_php/re_getting_rid_of_index_php

also som doc information about it.

Adding more sites have several steps, adding siteaccess, setting up indexnode and make sure your templates. If your running website interface you could try out RootNodeDepth: http://ez.no/community/forum/suggestions/a_way_to_change_the_root_node_of_a_siteaccess

But its not for running two complitly diffferent site, they'll share some settings.

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 19 2025 00:35:01
Script start
Timing: Jan 19 2025 00:35:01
Module start 'layout'
Timing: Jan 19 2025 00:35:01
Module start 'content'
Timing: Jan 19 2025 00:35:02
Module end 'content'
Timing: Jan 19 2025 00:35:02
Script end

Main resources:

Total runtime0.9113 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.0109 587.9219152.6250
Module start 'layout' 0.01090.0032 740.546939.4453
Module start 'content' 0.01410.8959 779.9922522.7422
Module end 'content' 0.91000.0013 1,302.73448.1719
Script end 0.9113  1,310.9063 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00360.3935160.0002
Check MTime0.00140.1519160.0001
Mysql Total
Database connection0.00300.326210.0030
Mysqli_queries0.842192.3995540.0156
Looping result0.00070.0738520.0000
Template Total0.856093.920.4280
Template load0.00300.328120.0015
Template processing0.853093.600420.4265
Template load and register function0.00030.030710.0003
states
state_id_array0.00510.562210.0051
state_identifier_array0.00120.128420.0006
Override
Cache load0.00240.2616140.0002
Sytem overhead
Fetch class attribute can translate value0.00070.079920.0004
Fetch class attribute name0.00150.160430.0005
XML
Image XML parsing0.00080.090320.0004
class_abstraction
Instantiating content class attribute0.00000.001330.0000
General
dbfile0.00080.0868170.0000
String conversion0.00000.000840.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.0002 secs