Forums / Install & configuration / Virtual Host Config

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
-------------------------------------------

eZ debug

Timing: Jan 18 2025 10:42:28
Script start
Timing: Jan 18 2025 10:42:28
Module start 'content'
Timing: Jan 18 2025 10:42:30
Module end 'content'
Timing: Jan 18 2025 10:42:30
Script end

Main resources:

Total runtime1.3583 sec
Peak memory usage4,096.0000 KB
Database Queries55

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0070 587.7109180.8359
Module start 'content' 0.00701.3444 768.5469493.3047
Module end 'content' 1.35140.0068 1,261.851642.1172
Script end 1.3582  1,303.9688 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00310.2266140.0002
Check MTime0.00120.0916140.0001
Mysql Total
Database connection0.00070.053410.0007
Mysqli_queries1.318097.0320550.0240
Looping result0.00060.0420530.0000
Template Total1.320197.220.6600
Template load0.00190.142320.0010
Template processing1.318197.043020.6591
Template load and register function0.00030.020610.0003
states
state_id_array0.00190.136310.0019
state_identifier_array0.00170.128120.0009
Override
Cache load0.00160.1167120.0001
Sytem overhead
Fetch class attribute can translate value0.00060.041320.0003
Fetch class attribute name0.00130.099120.0007
XML
Image XML parsing0.00020.015920.0001
class_abstraction
Instantiating content class attribute0.00000.000420.0000
General
dbfile0.00280.2080120.0002
String conversion0.00000.000430.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
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/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