[plug] Apache login authorisation

Chris Caston caston at arach.net.au
Thu Oct 28 19:55:26 WST 2004


On Thu, 2004-10-28 at 19:39, Dean Holland wrote:
> Hi Chris,
> 
> In httpd.conf
> 
> <Directory /usr/lib/cgi-bin-ssl/>
>    AuthName "qwiki scripts"
>    AuthType Basic
>    AuthUserFile /etc/apache-ssl/.htpasswd-users
>    require user jhoward
> </Directory>
> 
> If you are going to have multiple users you can specify each username 
> (space separated) after "require user" or replace it with "require 
> valid-user", however any user in the .htpasswd-users file will then be 
> able to authenticate to that directory.
> 
> / Dean
> 

Thanks Dean. Its working very well now. :)

regards,

Chris
> Chris Caston wrote:
> > #include <yes I run debian sid.h>
> > 
> > Hello,
> > 
> > I'm trying to setup my apache-ssl (1.3.31-6) service so that you must
> > specify a username and password (htacces?) before you get access to the
> > qwiki scripts within. 
> > 
> > So far I have run:
> > 
> > htpasswd -c /etc/apache-ssl/.htpasswd-users jhoward
> > 
> > Is this as good a place as any to create the password file?
> > 
> > I have installed qwiki in /usr/lib/cgi-bin-ssl/ and setup the apache-ssl
> > httpd.conf accordingly. This is the directory I want to restrict.
> > 
> > What changes do I need to make to httpd.conf from here?
> > 
> > I have played around trying to set access controls under webmin but it
> > utterly confuses me and I assume its configuring apache instead of
> > apache-ssl anyway.
> > 
> > thanks,
> > 
> > Chris Caston 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > _______________________________________________
> > PLUG discussion list: plug at plug.linux.org.au
> > http://mail.plug.linux.org.au/cgi-bin/mailman/listinfo/plug
> > Committee e-mail: committee at plug.linux.org.au
> > 
> _______________________________________________
> PLUG discussion list: plug at plug.linux.org.au
> http://mail.plug.linux.org.au/cgi-bin/mailman/listinfo/plug
> Committee e-mail: committee at plug.linux.org.au
> 




More information about the plug mailing list