Virtual Host Config

Author Message

sean foley

Thursday 28 May 2009 8:47:57 am

Hi there, I am having trouble with installing ez publish on a virtual host, I have tried numerous times to get it to work but to no avail. I will list my set up here and would be much apprechiative of someone help.

I'm running Apache HTTPD 2.2.11, MySQL 5.1.33, PHP 5.2.9 on a xampp server

OS = windows XP

I have installed Ez Publish 4.1.2 on the localhost using the ezflow site

Can someone please give me a explaination as to settings I have to apply in order to get it to work.

Pål Messenlien

Friday 29 May 2009 12:25:56 am

This is a vhost file from Linux. But it should work if you change teh DocumentRoot and <Directory options to the windows path for your host.

<VirtualHost 127.0.0.1>
DocumentRoot "/opt/sites/merged"
   RewriteEngine On
      # For all known data directories we let Apache serve it directly
        Rewriterule ^/var/storage/.*                                                    - [L]
        Rewriterule ^/var/[^/]+/storage/.*                                              - [L]
        RewriteRule ^/var/cache/texttoimage/.*                                          - [L]
        RewriteRule ^/var/[^/]+/cache/texttoimage/.*                                    - [L]
        RewriteRule ^/var/[^/]+/cache/(stylesheets|javascript)/.* 			- [L]
        RewriteRule ^/var/[^/]+/cache/public/.* 					- [L]
        Rewriterule ^/design/[^/]+/(stylesheets|images|javascript)/.*                   - [L]
        Rewriterule ^/share/icons/.*                                                    - [L]
        Rewriterule ^/extension/[^/]+/design/[^/]+/(stylesheets|images|javascripts?)/.* - [L]
        Rewriterule ^/packages/styles/.*                                                - [L]
        RewriteRule content/treemenu/?$ /index_treemenu.php                               [L]

        # If not PHP should serve the page
        Rewriterule .* /index.php

        ServerName merged.localhost
        <Directory "/opt/sites/hil.no">
                Options FollowSymlinks
                AllowOverride All
                Order Allow,Deny
                Allow from all
        </Directory>
</VirtualHost>

Hope this helps

--------------------------------------------
Høgskolen i Lillehammer
Lillehammer University College
http://www.hil.no
--------------------------------------------
Messenlien IT
http://messenlien.com
-------------------------------------------

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

Main resources:

Total runtime0.6574 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.0059 587.9141152.6250
Module start 'layout' 0.00590.0030 740.539139.4453
Module start 'content' 0.00900.6470 779.9844488.2266
Module end 'content' 0.65600.0014 1,268.21098.1719
Script end 0.6574  1,276.3828 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00330.5021160.0002
Check MTime0.00140.2063160.0001
Mysql Total
Database connection0.00070.112910.0007
Mysqli_queries0.616993.8432540.0114
Looping result0.00050.0801520.0000
Template Total0.627595.420.3137
Template load0.00210.322320.0011
Template processing0.625395.120620.3127
Template load and register function0.00020.027710.0002
states
state_id_array0.00170.254710.0017
state_identifier_array0.00080.119120.0004
Override
Cache load0.00170.2662120.0001
Sytem overhead
Fetch class attribute can translate value0.00070.107220.0004
Fetch class attribute name0.00110.173720.0006
XML
Image XML parsing0.00020.032020.0001
class_abstraction
Instantiating content class attribute0.00000.000820.0000
General
dbfile0.00140.2114100.0001
String conversion0.00000.001140.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/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.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