Please help with the Apache configuration

Author Message

paolo tikulin

Thursday 09 March 2006 8:49:16 am

Hi everybody,

I'm really not a specialist of the apache configuration, so I have some problems when I try to get out the index.php/siteaccess.

here the configuration about our httpd.con and the site.ini:

<b>httpd.conf </b>
------------------
NameVirtualHost mysite.zucvd090.mysite.ch:82
<VirtualHost mysite.zucvd090.mysite.ch:82>
ServerName mysite.zucvd090.mysite.ch
DocumentRoot "C:/MySofts/ezpublish-3.7.3-2/"
</VirtualHost>

NameVirtualHost admin.zucvd090.mysite.ch:82
<VirtualHost admin.zucvd090.mysite.ch:82>
ServerName admin.zucvd090.mysite.ch
DocumentRoot "C:/MySofts/ezpublish-3.7.3-2/"
</VirtualHost>

<b>override/site.ini.append.php </b>
-----------------------------
[SiteSettings]
DefaultAccess=mysite

[SiteAccessSettings]
CheckValidity=false
ForceVirtualHost=true
# When we need to have more than one language, we
# need to add other sites in this list named with
# the language key
AvailableSiteAccessList[]
AvailableSiteAccessList[]=mysite
AvailableSiteAccessList[]=mysite_admin
MatchOrder=host
HostMatchType=map
HostMatchMapItems[]
HostMatchMapItems[]=admin.zucvd090.mysite.ch;unicible_admin
HostMatchMapItems[]=mysite.zucvd090.mysite.ch;mysite

<b>siteaccess/mysite/site.ini.append.php </b>
-----------------------------
[SiteSettings]
SiteName=mysite
# before it was localhost/index.php
SiteURL=mysite.zucvd090.mysite.ch
LoginPage=embedded

<b>siteaccess/unicible_admin/site.ini.append.php </b>
-----------------------------
[SiteSettings]
SiteName=mysite
# before it was localhost/index.php/mysite_admin
SiteURL=admin.zucvd090.mysite.ch
LoginPage=custom

The result is that is doesn't work. Moreover, the admin is not reachable anymore...when I try to keep it, I have a 404 error.

Could someone to help me?

Thanks in advance.

Ɓukasz Serwatka

Friday 10 March 2006 1:00:18 am

Follow this steps:

1. Edit your WINDOWS\system32\drivers\etc\hosts file and add new entry with

(in new line)
127.0.0.100 zucvd090.mysite.ch admin.zucvd090.mysite.ch

2. Follow instruction from:
http://ez.no/doc/ez_publish/technical_manual/3_6/installation/virtual_host_setup/virtual_host_example

(replace 128.39.140.28 with your 127.0.0.100 and add your port and replace /var/www/example with your path to eZ publish)

3. Restart apache and clear all eZ publish cache (empty var/cache and var/(site)/cache)

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog

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 20 2025 09:00:20
Script start
Timing: Jan 20 2025 09:00:20
Module start 'layout'
Timing: Jan 20 2025 09:00:20
Module start 'content'
Timing: Jan 20 2025 09:00:20
Module end 'content'
Timing: Jan 20 2025 09:00:20
Script end

Main resources:

Total runtime0.0267 sec
Peak memory usage2,048.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0053 589.3906152.6406
Module start 'layout' 0.00540.0051 742.031339.4766
Module start 'content' 0.01040.0138 781.507889.3984
Module end 'content' 0.02420.0025 870.906334.3047
Script end 0.0267  905.2109 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002810.4483140.0002
Check MTime0.00134.9776140.0001
Mysql Total
Database connection0.00062.173110.0006
Mysqli_queries0.004516.707230.0015
Looping result0.00000.093610.0000
Template Total0.00176.510.0017
Template load0.00103.881710.0010
Template processing0.00072.606510.0007
Override
Cache load0.00072.790210.0007
General
dbfile0.007226.753380.0009
String conversion0.00000.044640.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs