Virtual Hosts & eZ publish

Author Message

Klaus Hereth

Thursday 22 May 2003 7:26:54 am

After successfully installing eZ publish and configuring my Apache server to host the new server, I cannot figure out how to tell eZ publish the real path to the virtual host's documents on my machine.

Here's my setup:

eZ publish (ez.pub) is located at

/Library/WebServer/ezpublish

My virtual host (www.host.pub) is located at

~/Sites/host/public_html

I configured the [SiteAccessSettings] of site.ini as documented in SDK/Tutorials/Main Concepts:

MatchOrder=host
HostMatchRegexp=^(.+)\.host\.pub$
HostMatchSubtextPost=\.h-force\.pub

I created two new folders at

/Library/WebServer/ezpublish/settings/siteaccess

named 'www' and 'admin' to correspond with the subdomains 'www' and 'admin' as in the mybookstore-example. I created the site.ini.append-files there to override standard settings.

http://www.host.pub/ is still empty. eZ publish seems to ignore it. How do I point eZ publish to the right folders? Or do I have to manually put something there?

And: why do all eZ publish calls present the login-page? My virtual eZ publish server is located at http://ez.pub/.

When I call http://ez.pub/index.php/manual/ it's the same as http://ez.pub/index.php/admin/. I don't understand it.

Can anyone please shed light on my installation's shadow? Thank you in advance!

jim caprioli

Sunday 25 May 2003 7:56:52 am

Have you checked your site.ini.append files in the settings/siteaccess directories? If I remember correct there is a bug in the release so that manual can never be accessed you have to manually fix a file. The solution is on the forum. I had several problems during installing release 3 but I found that with using the right search words all the answers are easily found right >here<.

For virtual host info and stuff this is NOT the place. http://www.apache.org has free docs on Apache. And don't forget version 2 is NOT supported. (it is but it just doesn't work)

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

Main resources:

Total runtime0.6530 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.0061 589.3672152.6250
Module start 'layout' 0.00620.0053 741.992239.4453
Module start 'content' 0.01140.6401 781.4375460.1875
Module end 'content' 0.65150.0014 1,241.62508.1641
Script end 0.6530  1,249.7891 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00330.4979160.0002
Check MTime0.00130.1974160.0001
Mysql Total
Database connection0.00090.133810.0009
Mysqli_queries0.605692.7380540.0112
Looping result0.00050.0787520.0000
Template Total0.613894.020.3069
Template load0.00230.350420.0011
Template processing0.611593.648020.3058
Template load and register function0.00010.018510.0001
states
state_id_array0.00130.204510.0013
state_identifier_array0.00080.117020.0004
Override
Cache load0.00200.2988230.0001
Sytem overhead
Fetch class attribute can translate value0.00040.064520.0002
Fetch class attribute name0.00090.140120.0005
XML
Image XML parsing0.00020.036320.0001
class_abstraction
Instantiating content class attribute0.00000.000920.0000
General
dbfile0.00060.0983100.0001
String conversion0.00000.001740.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
3content/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
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 8
 Number of unique templates used: 5

Time used to render debug report: 0.0001 secs