2 admin siteaccess, no other available

2 admin siteaccess, no other available

Saturday 04 December 2004 11:13:38 am - 4 replies

Author Message

Kåre Køhler Høvik

Thursday 09 December 2004 2:26:11 am

Hi

What does <i>settings/override/site.ini.append.php</i> under <i>[SiteAccessSettings]</i> contain ?

Kåre Høvik

Paul Brandt

Thursday 09 December 2004 10:03:54 am

Thanks for looking into this.
If I have failed to locate and hence read the relevant pages in any documentation, please indicate so ("RTFM" :-), as well as provide a link into these.


[SiteAccessSettings]
ForceVirtualHost=false
CheckValidity=false
RequireUserLogin=true
AvailableSiteAccessList[]=admin
DebugAccess=disabled
DebugExtraAccess=disabled
AnonymousAccessList[]=user/register
AnonymousAccessList[]=user/success
AnonymousAccessList[]=user/activate
MatchOrder=uri;host;port
URIMatchType=element
URIMatchElement=1
URIMatchRegexp=^/([^/]+)/
URIMatchRegexpItem=1
HostMatchType=map
HostMatchElement=0
HostMatchRegexp=^(.+)\.example\.com$
HostMatchRegexpItem=1
HostMatchSubtextPre=
HostMatchSubtextPost=.example.com
IndexMatchType=regexp
IndexMatchElement=1
IndexMatchRegexp=^/index_(.+)\.php$
IndexMatchRegexpItem=1
IndexMatchSubtextPre=index_
IndexMatchSubtextPost=.php
PathPrefix=~nmvtest/ezpb/

Kåre Køhler Høvik

Friday 10 December 2004 2:51:20 am

Hi

The override you have is a bit corrupted.

Modifications you need to do <i>settings/override/site.ini.append(.php)</i>:

[SiteAccessSettings]
ForceVirtualHost=false
CheckValidity=false
RequireUserLogin=true
AvailableSiteAccessList[]=admin
AvailableSiteAccessList[]=news # you need to fill in name of base package you selected here.
DebugAccess=disabled
DebugExtraAccess=disabled
MatchOrder=uri
PathPrefix=~nmvtest/ezpb/

Could you also write the settings in <i>settings/override/site.ini.append(.php)</i> [SiteSettings]

Kåre Høvik

Paul Brandt

Friday 10 December 2004 12:59:54 pm

Thanks,

I now understand the use of the AvailableSiteAccessList[]. Adding another line here (intranet) indeed brings me one step further: a page very similar to the admin page is presented.
Strangely enough, I can only enter this site through an Admin log-in page ("Welcome to eZ publish administration") although its url (index.php/intranet/user/login) suggests this to be a user login.
The user site is still not fully operational, since an empty front page is presented. The Layout is very similar to the admin site, although I've setup to use another layout.
Furthermore, selecting any menu item results in an "Error / kernel (1) :: Access denied" page, except for the site map: here some items are presented (contact us, contacts/people, Files/secret file & Hello World, New Article {added by me through Admin}). However, selecting one of these results in an "Error / kernel (20) :: Module not found" page. These links seem to be crippled (Hello World points to /index.php/intranet/rld, secret file points to index.php/intranet/_file and so on).

In short, it seems as if the configuration has been seriously crippled.

The following describes the settings/override/site.ini.append.php [SiteSettings] section:

[SiteSettings]
SiteName=NMV intranet
SiteURL=www.marieholmvereniging.nl
MetaDataArray[author]=eZ systems
MetaDataArray[copyright]=eZ systems
MetaDataArray[description]=Content Management System
MetaDataArray[keywords]=cms, publish, e-commerce, content management, development framework
Dir=
IndexPage=/content/view/full/2/
ErrorHandler=displayerror
DefaultPage=/content/view/full/2/
DefaultAccess=admin
LoginPage=custom
SSLPort=443
SiteList[]

I'd be glad to provide a print of the full site.ini.append.php, if it wasn't such a huge one.

Thanks in advance looking into this.

You must be logged in to post messages in this topic!

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.