Hi !

The same configuration works fine for me. Since your web-server is not prompting you
for a password, the problem may lie with your .htaccess file. The contents (Apache
directives) of .htaccess are OK. One thing that you can check is whether '.htaccess'
is actually your access file (check 'AccessFileName' directive). Also check the file
permissions (atleast read permission should be present).

-Sridhar

"Webmaster : prayagonline.com" wrote:

> Hi,
>         I am having problems setting up .htaccess security features on my linux Red
> Hat 6.0 machine running Apache web server.
>         The httpd.conf is the installation default , and i still have'nt made many
> changes to it ,
> and i placed my .htaccess and .htpasswd file in /home/httpd/html directory
> the .htacess file reads:
>
> AuthName Webmaster
> AuthType Basic
> AuthUserFile /home/httpd/html/.htpasswd
> require valid-user
>
> and i also made sure that allow override is set to all, by editing th
> httpd.conf file uch that:
>
> <snip>
>
> <Directory /home/httpd/html>
> Options Indexes Includes FollowSymLinks
> AllowOverride All
> # order allow,deny
> # allow from all
> </directory>
>
> <snip>
>
> I have read the Apache FAq too, but still unable to setup the security, as
> the file is totally being ignored and i am not being asked the user/pass.
> Please help !
> Thanks a lot in advance,
> Regards,
> Gaurav.

--------------------------------------------------------------------
The Linux India Mailing List Archives are now available.  Please search
the archive at http://lists.linux-india.org/ before posting your question
to avoid repetition and save bandwidth.

Reply via email to