Do these,
for which directory you want to set password create .htaccess in this
directory
For example :
AuthUserFile /usr/www/.htpasswd
AuthGroupFile /dev/null
AuthName
AuthType Basic
<Limit GET>
require valid-user
</Limit>
create /usr/www/.htpasswd (first do mkdir /usr/www)
then generate a passwd with htpasswd then add this generated passwd and
user in .htpasswd and you can learn about htpasswd with htpasswd --help
then restart your httpd deamon
i guess it works
good luck
On Tue, 3 Aug 1999, Umut Ceyhan wrote:
> Look at Apache FAQ...
>
> On Tue, 3 Aug 1999, Ruprecht Helms wrote:
>
> > Hi,
> >
> > How can I protect special Websites with a password using apache?
> > What have I to configure?
> >
> > Regards,
> > Ruprecht
> >
> > --
> > Sent through Global Message Exchange - http://www.gmx.net
> >
> >
> >
> > --
> > Sent through Global Message Exchange - http://www.gmx.net
> > -
> > To unsubscribe from this list: send the line "unsubscribe linux-net" in
> > the body of a message to [EMAIL PROTECTED]
> >
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-net" in
> the body of a message to [EMAIL PROTECTED]
>
-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to [EMAIL PROTECTED]