Web Servers on Unix and Linux - Incorrect path the .htpasswd file?

This is Interesting: Free IT Magazines  
Home > Archive > Web Servers on Unix and Linux > November 2006 > Incorrect path the .htpasswd file?





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Incorrect path the .htpasswd file?
anotherchrisberry@gmail.com

2006-11-17, 1:22 am

I've been searching the forums and groups for hours but can't seem to
resolve this issue. I created a .htaccess file and a .htpasswd file as
follows:

[.htaccess]
AuthUserFile /golive/testprotect/.htpasswd
AuthName "Password"
AuthType Basic
require user test

[.htpasswd]
test:teH0wLIpW0gyQ

Both files reside in /golive/testprotect/.htpasswd. I've tried
different password generators to no avail. I've tried wrapping "require
user test" in <Limit GET POST></LIMIT> tags. I've tried using
".htpasswd" and "/.htpasswd" as my file path. Nothing.

I'm new at this (I know keeping the .htpasswd file in the same
directory I'm protecting is dumb, but just trying to make it work
once). When I try to open a file in the protected folder, it asks for
username and password as expected, yet fails to recognize the combo
("test/test").

I'm completely confused, and I know this is only the 900th post on this
same topic in this group alone.

Anybody? Anybody?

Thanks - Chris

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com