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:
require group users
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.
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:firstname.lastname@example.org]
> Sent: Tuesday, May 02, 2000 10:05 PM
> To: email@example.com
> 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?
> Brian Schramm
> Unsubscribe? mail -s unsubscribe
> firstname.lastname@example.org < /dev/null