htaccess woes

Matthew Saltzman mjs at ces.clemson.edu
Mon Jul 26 19:28:25 UTC 2004


On Mon, 26 Jul 2004, kenwardc wrote:

> Hi All
>
> My first post to this forum so be gentle! ;-)
>
> Have just installed a new Linux Red Hat server and am trying to
> protect the phpMyAdmin folder with .htaccess. Having trouble and
> wanted to know if there were any experts out there!
>
> 1. I go to the folder I wish to protect
> 2. I type htpasswd -c htaccess username
> 3. I am prompted for the password and the retype
> 4. File appears to save OK.
>
> If I then try to access that folder I get the web page straight away.
> Most frustrating - I was expecting it to as for a password.
>
> Any help gratefully accepted.
>
> Regards
> Chris

Look up Allow, Deny, Order, AllowOverride in the Apache config documents
and make sure the site/directory in question is configured properly in
/etc/httpd/httpd.conf.

HTH.
-- 
		Matthew Saltzman

Clemson University Math Sciences
mjs AT clemson DOT edu
http://www.math.clemson.edu/~mjs





More information about the redhat-list mailing list