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.