chuleto1 has asked for the wisdom of the Perl Monks concerning the following question:
Ok Monks here is the skinny:
I installed apache on a linux box. I want to set a directory that only permits access via password. This is what my .htaccess files looks like:
-thanks
I installed apache on a linux box. I want to set a directory that only permits access via password. This is what my .htaccess files looks like:
I created my .htpasswd file with an initial password. When I go to the location of the .htaccess file via http://localhost/passpwordprotecteddir/page.html, nothing happens! I can still get to that directory and view the html page , NO PASSWORD PROTECTION TAKES PLACE. Is anyone familar with .htaccess files? Does apache server need to be configured for this?AuthName "this is neat" AuthUserFile /the_path_to_to_the_file/.htaccess require valid-user
-thanks
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: .htaccess file
by jlongino (Parson) on Sep 13, 2002 at 00:07 UTC | |
Re: .htaccess file
by tstock (Curate) on Sep 13, 2002 at 00:03 UTC | |
by schmoe (Beadle) on Sep 13, 2002 at 01:18 UTC | |
Re: .htaccess file
by Anonymous Monk on Sep 12, 2002 at 23:29 UTC | |
by chuleto1 (Beadle) on Sep 13, 2002 at 03:37 UTC |
Back to
Seekers of Perl Wisdom