Thursday 16 December 2004 5:04:30 am
Hi,
I built a size with the wizard (installer for testing only).
I called the wizard-generated siteaccess "first".
Then I added a second by copying the "siteaccess/first" folder and renaming it to "siteaccess/second". I changed override/site.ini, this file looks now like this:
<?php /* #?ini charset="iso-8859-1"?
[ExtensionSettings]
ActiveExtensions[]=ezpaypal
[Session]
SessionNameHandler=custom
[SiteSettings]
DefaultAccess=first
SiteList[]=first
SiteList[]=second
[SiteAccessSettings]
CheckValidity=false
AvailableSiteAccessList[]=first
AvailableSiteAccessList[]=second
AvailableSiteAccessList[]=cms_admin
MatchOrder=uri
HostMatchMapItems[]
[MailSettings]
Transport=SMTP
TransportServer=
TransportUser=
TransportPassword=
AdminEmail=abc@xyz.com
EmailSender=
*/ ?>
The site.ini of the siteaccesses looks like:
<?php /* #?ini charset="iso-8859-1"?
[DatabaseSettings]
DatabaseImplementation=ezmysql
Server=localhost
User=root
Password=
Database=shop
Charset=
Socket=disabled
[InformationCollectionSettings]
EmailReceiver=
[SiteSettings]
SiteName=Shop
SiteURL=localhost/index.php
LoginPage=embedded
[UserSettings]
RegistrationEmail=
[SiteAccessSettings]
RequireUserLogin=false
ShowHiddenNodes=false
[DesignSettings]
SiteDesign=shop
AdditionalSiteDesignList[]=base
[RegionalSettings]
Locale=eng-GB
ContentObjectLocale=eng-GB
TextTranslation=disabled
[FileSettings]
VarDir=var/shop
[ContentSettings]
TranslationList=
[MailSettings]
AdminEmail=abc@xyz.com
EmailSender=
*/ ?>
I can enter siteaccess "first", but when entering "second", I get a request to login.
"Access denied
You don't have permission to access this area.
Possible reasons for this is.
You are currently not logged in to the site, to get proper access create a new user or login with an existing user. You misspelled some parts of your URL, try changing it." After having logged in, I can visit siteaccess "second".
Why behaves the system like this? How can I make the second siteaccess normal available? Thanks for help, Uli.
|