using .htaccess

windows

Guest
I've been searching in this forum for help on .htaccess ... found pretty much info, but still can't figure it out.

.htaccess :

AuthName Admin-Section
AuthType Basic
AuthUserFile /usr/local/apache/htdocs/ppp/
require valid-user

.htpasswd :

test:MMiuhJLtNJu7c

-----------------------------

Username + pass = test:test

It pops up the verification screen and then I fill in the username + pw and it keeps popping up (3 times) then I get the error page.

Any ideas on what I'm doing wrong and how to correct this??

TIA,
b00sterCan't anyone help me here?? I've installed a file that let's you view all the vars ( <!-- m --><a class="postlink" href="http://no45.port5.com/cgi-bin/vars.cgi">http://no45.port5.com/cgi-bin/vars.cgi</a><!-- m -->). The dir that should b protected is <!-- m --><a class="postlink" href="http://no45.port5.com/ppp">http://no45.port5.com/ppp</a><!-- m --> .

I would appreciate it if anyone can help me.

TIA,
b00stersorry for the late reply... hummmm... what dir levels are your htaccess and htpassword in? what permissions are on those files? and have you ran other htaccess files on this server?

it always seems like when i tell everyone "i have an idea" they either run in terror or roll their eyes!
chris<pixelmonkey>:monkey:The prob is when I upload the files on the server it hides them, like they are not there. But if I try to delete the dir, it says it's not empty... so the files are there. I've included the dirs in my previous post... any idea what's wrong, or why it isn't working??

Thx,
b00sterhummm... you have thrown the monkey. i'm thinking that the files themselves are giving the problem. (this is where i like to have direct access to the server) what you might want to try is doing a telnet in, or another remote access to the hard files. As for the htaccess and htpassword files, everything looks right and the problems shouldnt be there. are the files you are uploading defined as hidden? (might be the problem)

doc should have a view on this... let me have him take a look.
chris<pixelmonkey>:monkey:
 
Top