[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-users] Re: Restrict access to a virtual site raq4
- Subject: Re: [cobalt-users] Re: Restrict access to a virtual site raq4
- From: "Thom R. Lacosta" <lacosta@xxxxxxxx>
- Date: Tue Dec 30 11:59:01 2003
- List-id: Mailing list for users to share thoughts on Sun Cobalt products. <cobalt-users.list.cobalt.com>
On Tue, 30 Dec 2003, Bruce Timberlake wrote:
> > How can I set-up a virtual site that can only
> > be viewed by users of that virtual site?
>
> I'm thinking you could do something like this:
>
> AuthPAM_Enabled off
> AuthUserFile /etc/shadow
> AuthGroupFile /etc/groups
> AuthName "Extranet"
> AuthType Basic
> Order allow,deny
> Allow from all
> <Limit GET POST>
> require group siteX
> </Limit>
If he only wants to limit it to site users, he could simply
copy the .htaccess file in the /stats/ directory if webalizer
is installed into the /web directory, or do something like:
#Access file
order allow,deny
allow from all
require group site#(the number of the site)
Authname WashingMachines
Authtype Basic
AuthAuthoritative off
Thom
http://www.baltimorehon.com/ Home of the Baltimore Lexicon