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

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



try it this way.....

# .htaccess file
AuthGroupFile /etc/wiregroup 
order allow,deny 
allow from all 
require valid-user 
Authname Access Restricted 
Authtype Basic 

Regardes Sandro


> 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
> 
> _____________________________________
> 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
> 
> 

The information contained in this electronic mail is privileged and
confidential, intended only for the use of the individual or entity 
named
above. If the reader of this message is not the intended recipient, 
you 
are
hereby notified that any dissemination, distribution, or copying of 
this
communication is strictly prohibited. If you receive this 
communication 
in
error, please immediately notify info@xxxxxxxxxxxxxx Thank you.