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

eZ debug

Timing: Jan 18 2025 22:20:19
Script start
Timing: Jan 18 2025 22:20:19
Module start 'content'
Timing: Jan 18 2025 22:20:20
Module end 'content'
Timing: Jan 18 2025 22:20:20
Script end

Main resources:

Total runtime0.7988 sec
Peak memory usage4,096.0000 KB
Database Queries189

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0067 589.1406180.8359
Module start 'content' 0.00670.6569 769.9766454.9141
Module end 'content' 0.66370.1351 1,224.8906333.8203
Script end 0.7987  1,558.7109 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00390.4840210.0002
Check MTime0.00150.1848210.0001
Mysql Total
Database connection0.00060.068910.0006
Mysqli_queries0.725490.80971890.0038
Looping result0.00190.23411870.0000
Template Total0.767096.020.3835
Template load0.00210.268920.0011
Template processing0.764895.745720.3824
Template load and register function0.00020.028110.0002
states
state_id_array0.00150.186010.0015
state_identifier_array0.00120.152320.0006
Override
Cache load0.00180.2231760.0000
Sytem overhead
Fetch class attribute can translate value0.00130.158220.0006
Fetch class attribute name0.00130.164520.0007
XML
Image XML parsing0.00030.042120.0002
class_abstraction
Instantiating content class attribute0.00000.000620.0000
General
dbfile0.00280.3548210.0001
String conversion0.00000.000930.0000
Note: percentages do not add up to 100% because some accumulators overlap

CSS/JS files loaded with "ezjscPacker" during request:

CacheTypePacklevelSourceFiles
CSS0extension/community/design/community/stylesheets/ext/jquery.autocomplete.css
extension/community_design/design/suncana/stylesheets/scrollbars.css
extension/community_design/design/suncana/stylesheets/tabs.css
extension/community_design/design/suncana/stylesheets/roadmap.css
extension/community_design/design/suncana/stylesheets/content.css
extension/community_design/design/suncana/stylesheets/star-rating.css
extension/community_design/design/suncana/stylesheets/syntax_and_custom_tags.css
extension/community_design/design/suncana/stylesheets/buttons.css
extension/community_design/design/suncana/stylesheets/tweetbox.css
extension/community_design/design/suncana/stylesheets/jquery.fancybox-1.3.4.css
extension/bcsmoothgallery/design/standard/stylesheets/magnific-popup.css
extension/sevenx/design/simple/stylesheets/star_rating.css
extension/sevenx/design/simple/stylesheets/libs/fontawesome/css/all.min.css
extension/sevenx/design/simple/stylesheets/main.v02.css
extension/sevenx/design/simple/stylesheets/main.v02.res.css
JS0extension/ezjscore/design/standard/lib/yui/3.17.2/build/yui/yui-min.js
extension/ezjscore/design/standard/javascript/jquery-3.7.0.min.js
extension/community_design/design/suncana/javascript/jquery.ui.core.min.js
extension/community_design/design/suncana/javascript/jquery.ui.widget.min.js
extension/community_design/design/suncana/javascript/jquery.easing.1.3.js
extension/community_design/design/suncana/javascript/jquery.ui.tabs.js
extension/community_design/design/suncana/javascript/jquery.hoverIntent.min.js
extension/community_design/design/suncana/javascript/jquery.popmenu.js
extension/community_design/design/suncana/javascript/jScrollPane.js
extension/community_design/design/suncana/javascript/jquery.mousewheel.js
extension/community_design/design/suncana/javascript/jquery.cycle.all.js
extension/sevenx/design/simple/javascript/jquery.scrollTo.js
extension/community_design/design/suncana/javascript/jquery.cookie.js
extension/community_design/design/suncana/javascript/ezstarrating_jquery.js
extension/community_design/design/suncana/javascript/jquery.initboxes.js
extension/community_design/design/suncana/javascript/app.js
extension/community_design/design/suncana/javascript/twitterwidget.js
extension/community_design/design/suncana/javascript/community.js
extension/community_design/design/suncana/javascript/roadmap.js
extension/community_design/design/suncana/javascript/ez.js
extension/community_design/design/suncana/javascript/ezshareevents.js
extension/sevenx/design/simple/javascript/main.js

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
16content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
17content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 37
 Number of unique templates used: 5

Time used to render debug report: 0.0002 secs