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

RE: [cobalt-users] access resticted to all users of a virtual site



Hi Bob

thanks for your help but -maybe I explained it the
wrong way-

sorry but I don't see in you code where it checks for
existing users account that I included in the
.htpasswd

my question was to put ONLY the an extra login/passwd
in the .htpasswd and the scripts checks itself also
other existing users

(where does the raq 550 stores such pass and login ?)

???

Fabrice

--- Robert Fitzpatrick <robert@xxxxxxxxxxx> wrote:
> > 
> > (I want all registered users to have access with
> their
> > own passwd and also to be able to give a "guest"
> > access for demo purpose without having to create
> an
> > account that has others privileges)
> > 
> 
> Try this, not sure if it would work, let me know if
> it does:
> 
> # .htaccess file
> order allow,deny
> allow from all
> require valid-user group site#
> AuthName "Access Restricted"
> AuthPAM_Enabled off
> Authtype Basic
> AuthUserFile
>
/home/sites/site#/web/path/to/password/file/.htpasswd
> <Limit GET POST>
> require valid-user
> </Limit>
> 
> Of course, you'll need to populate your .htpasswd
> file with your guest
> account credentials.
> 
> --
> Robert
> 
> 
> _____________________________________
> cobalt-users mailing list
> cobalt-users@xxxxxxxxxxxxxxx
> To subscribe/unsubscribe, or to SEARCH THE ARCHIVES,
> go to:
> http://list.cobalt.com/mailman/listinfo/cobalt-users


__________________________________________________
Do you Yahoo!?
Yahoo! Platinum - Watch CBS' NCAA March Madness, live on your desktop!
http://platinum.yahoo.com