Forums / Install & configuration / siteaccesssettings

siteaccesssettings

Author Message

bun taing

Monday 10 May 2004 12:19:19 pm

Please help!
How do I get intranet to work without require user login?
I have tried setting RequireUserLogin=false it gives an error kernel (1) at site.ini.append. in the intranet folder. Thanks!
apache 4
php 3.2
mysql 4.14
ezpublish 3.3.5

Yes, I did clear the cache on page and ini folders. I still give me access denies error/kernel (1)
Here is my settings/siteaccess/intranet/site.ini append:
<?php /* #?ini charset="utf8"?

[SiteSettings]
LoginPage=custom
SiteName=Intranet
SiteURL=localhost/ez/index.php

[SiteAccessSettings]
RequireUserLogin=false
AnonymousAccessList[]=user/success
AnonymousAccessList[]=user/activate

[DesignSettings]
StandardDesign=standard
SiteDesign=intranet

[FileSettings]
VarDir=var/intranet

[ContentSettings]
EditDirtyObjectAction=usecurrent
TranslationList=

[DatabaseSettings]
DatabaseImplementation=ezmysql
Server=localhost
Database=ez
User=publish
Password=publish
Charset=
Socket=disabled

[InformationCollectionSettings]
EmailReceiver=

[UserSettings]
RegistrationEmail=

[MailSettings]
AdminEmail=admin@localhost
EmailSender=

[RegionalSettings]
Locale=eng-US
ContentObjectLocale=eng-US
TextTranslation=enabled
*/ ?>
And I also set /settings/site.ini

[SiteAccessSettings]
# Set to true if you want to force VirualHost mode (with RewriteRules in apache)
# If this is set to true nonVirtaulHost mode will not work correctly
ForceVirtualHost=false
# Set to true if you want the setup system to be activated
CheckValidity=true
# Set the true if you don't want anonymous access to your site
RequireUserLogin=false
#StaticMatch=sdk

James Packham

Tuesday 11 May 2004 3:14:12 am

Did you give the anonymous user permission to view the stuff that requires the login before you cleared the cache? Anonymous user needs to have the same role as the user you log in as (Just to cover my back - I don't mean admin user role!!!).

Regards,

James

bun taing

Tuesday 11 May 2004 5:43:50 am

Can you tell me how like what files to edit and where. I'm new at this.