Forums / Install & configuration / Siteaccess wont work!

Siteaccess wont work!

Author Message

Claus Jensen

Thursday 25 September 2003 5:16:36 am

Cheers,
I've been trying to get to work properly for a while, but it just wont cooperate. Im using 3.2.0-1.
Here is the setting:
I want to have 4 different sites on the same server. I have configured apache with virtual_hosts like this:

<VirtualHost www.xxx.no:8888>
<Directory /opt/ezpublish/3.2.0-1>
Options FollowSymLinks Indexes ExecCGI
AllowOverride None
</Directory>

RewriteEngine On
RewriteRule !\.(gif|css|jpg|png)$ /opt/ezpublish/3.2.0-1/index.php

ServerAdmin root@localhost
DocumentRoot /opt/ezpublish/3.2.0-1
ServerName www.xxx.no
</VirtualHost>

It seems to work, but only for 2 of the sites (xxx and yyy) and not the newly added ones xxx_GB and yyy_GB.

Now here is what i have in my site.ini (I also have a override/site.ini.append but it isnt ovveriding these settings):
[SiteAccessSettings]
# Set to true if you want the setup system to be activated
CheckValidity=false
# Set the true if you don't want anonymous access to your site
RequireUserLogin=false
AvailableSiteAccessList[]=yyy
AvailableSiteAccessList[]=yyy_GB
AvailableSiteAccessList[]=xxx
AvailableSiteAccessList[]=xxx_GB

MatchOrder=uri;index
SiteAccessList[]=yyy
SiteAccessList[]=xxx
SiteAccessList[]=xxx_GB
SiteAccessList[]=yyy_GB

[DesignSettings]
# The standard design, is used as fallback design
# if the element is not in the sitedesign
StandardDesign=standard
# The design of the site
SiteDesign=yyy

I have made the appropriate settings/siteaccess/xxx/site.ini.append, settings/siteaccess/xxx_GB/site.ini.append, settings/siteaccess/yyy/site.ini.append and settings/siteaccess/yyy_GB/site.ini.append. BUT, ez wont use the folder used in the site.ini.append for 2 of the sites, the newly added xxx_GB and yyy_GB sites.

Even though I just want to translate the sites from nor-NO to eng-GB I have also tried to add new designfolders for the sites, but that wont help, ez is just falling back to the SiteDesign anyway.
DEBUGINFO:
eZ debug
Debug: access.php
Sep 25 2003 15:50:31

Updated settings to use siteaccess 'yyy'
Timing:
Sep 25 2003 15:50:31

Module start 'content'
Warning: eZModuleOperationInfo::execute
Sep 25 2003 15:50:31

Missing main operation memento for key: ef2c959d932405d6e464bf3d593732f8
Notice:
Sep 25 2003 15:50:31

eZTemplate: Loading template "node/view/full.tpl" with resource "design"
Notice:
Sep 25 2003 15:50:31

design/yyy/override/templates/full_node_2.tpl, iso-8859-1
Notice: eZLocale::localeFile
Sep 25 2003 15:50:31

Requesting nor-NO.ini
Notice: eZLocale::localeFile
Sep 25 2003 15:50:31

Requesting nor-NO.ini
Warning: ezi18n
Sep 25 2003 15:50:31

No translation for file(translation.ts) in context(/design/yyy/templates): 'Frontpage' with comment()

Does somebody have a clue on what is going on here, and why it wont do what its told? Please help me, as I dont have a clue anymore...

cheers,
claÜs

Claus Jensen

Thursday 25 September 2003 6:22:00 am

It seems there is a problem using CAPITAL/UPPERCASE letters in the SiteAccess variables. I changed mine to lowercase, and it went through. This has got to be a bug.

best,
claÜs