[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] cube 2



Hi Rene,

on 24/10/00 9:35 AM, Rene Woodworth at renew@xxxxxxxxxxxx wrote:

> We have just purchased a cube 2.  I want to retain the logon screen, but
> change the page for the public site.  Where do I place the new page, and
> what do I name it?  If I create a page named index.html, and place it in the
> home/groups/home directory, I lose the user logon screen.

You are half way there.  The default index.html page redirects to the Cobalt
Public Site which is elsewhere and can have access control enabled.

What I have done is put a .htaccess file in /home/groups/home directory as
follows;

# Access file for /home/groups/home
order allow,deny
allow from all
require group admin home
Authname CobaltServer
Authtype Basic
AuthUserFile /etc/htpasswd
AuthGroupFile /etc/htgroup

This will mean that only users of the home group can access this directory
and subdirectories via a browser.

You can copy this file from /home/groups/home/private/.htaccess

Since I wanted access control for browsing and I wanted a different group
for SMB access I have created a new group called common and restrict browser
access to that group.  The home group is for users who can edit the web
stuff.  Hence I changed one line in .htaccess

require group admin home common

My SOP is to always add new users to the common group.  On a Gateway
Microserver there is a group called public to which new users are always
added, so doing this is a little easier.

Alternatively you could just put your replacement home page/site in
/home/groups/home/private and change the default index.html to redirect
there.

Cheers,  Malcolm

-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --

                       Information Alchemy Pty Ltd
                             ACN 089 239 305
                           Canberra, Australia

Malcolm McLeary                                Mobile:     0412 636 086
Managing Director                              Email:  mmcleary@xxxxxxx

     This message was sent using Outlook Express 5.0 for Macintosh.