Forums / Install & configuration / Access denied when creating new siteaccess

Access denied when creating new siteaccess

Author Message

Stephen Schwenker

Thursday 10 May 2007 10:41:49 am

Hello,

I'm trying to set up a second site under a node in the current site. I've copied the siteaccess and added the following lines into the site.ini.append.php

IndexPage=/content/view/full/172/
DefaultPage=/content/view/full/172/

I have also added the siteaccess to SiteList, AvailableSiteAccessList, and HostMatchMapItem in the overide/site.ini.append.php.

When I go to the site, I get an Access Denied error. Can anyone tell me how to fix this? In the other siteaccess, everything works but it doesn't work in the new siteaccess.

Thank you,

Steve.

André R.

Thursday 10 May 2007 12:18:04 pm

You have to add:

user, login ( 'siteaccessName' )

to the anonymous user role. (under Roles and Policies)

eZ Online Editor 5: http://projects.ez.no/ezoe || eZJSCore (Ajax): http://projects.ez.no/ezjscore || eZ Publish EE http://ez.no/eZPublish/eZ-Publish-Enterprise-Subscription
@: http://twitter.com/andrerom