RE: Help with apachie
I'll take a stab at it. Make sure you have the .htaccess file in the
directory you are trying to control access to. The format should be
something like this:
AuthName "Access"
AuthType Basic
AuthUserFile /usr/apache/conf/htpassword
AuthGroupFile /usr/apache/conf/htgroup
<limit GET>
require group users
</limit>
Now edit the httpd.conf file and make sure "AllowOverride None" is changed
to "AllowOverride All". Make sure the htgroup file has the desired access
name in it. I.e.
users: fred john
Now add the password by typing:
/usr/apache/bin/htpasswd -c /usr/apache/conf/htpassword john
Please note you apache is probably not in /usr/apache. Please substitute
/usr/apache for the apache directory in the example above. Hope this helps.
paul
--
Paul McHale
Work: 937-253-7610 Double E Solutions
Mobile: 937-371-2828 4912 Effingham
Fax: 413-215-3232 Dayton, Ohio 45431
--
> -----Original Message-----
> From: Brian Schramm [mailto:bschramm@schramms.yi.org]
> Sent: Tuesday, May 02, 2000 10:05 PM
> To: debian-user@lists.debian.org
> Subject: Help with apachie
>
>
> I am running Debian Slink. I would like to know how to re-create
> the htaccess password
> file that I deleted at som point. I know it is simple but I
> cannot find the info anywere
> including Apachie site. I ran htpasswd -b .password username
> password but that did not fix it.
>
> Can anyone help?
>
> Thanks.
>
> Brian Schramm
> brian@schramms.yi.org
> www.linuxexpert.org
>
>
>
>
> --
> Unsubscribe? mail -s unsubscribe
> debian-user-request@lists.debian.org < /dev/null
>
>
Reply to: