This is Interesting: Free Magazines for Graphics designers and webmasters  


Home > Archive > Webmaster forum > July 2005 > .htaccess problems





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 .htaccess problems
Jerry Stuckle

2005-07-29, 7:25 pm

Hi, all,

I've got a strange one here. I've seen it before, but it's been a while and I
can't remember what I did.

I got a new client on a hosting service I'm not familiar with. Among other
things they need a password protected directory.

No problem - created the password and group files where they can't be gotten to.

Created a .htaccess file with basic authentication using the password and group
files above. Again, no problem.

Interestingly enough, when I try to access that directory as:

http://www.example.com/privdir

I have to enter the userid/password twice. However, if access

http://www.example.com/privdir/

(notice the extra slash at the end) it works with just one entry.

OK - so the first one is being redirected to the second. But why do I have to
enter the userid/password twice?

I don't have access to the httpd.conf on this machine so I can't see what
options they have set. However, I ran into something similar at least 2-3 years
ago but can't remember hos I solved it.

Any ideas?

TIA.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================
Sponsored Links


Copyright 2003 - 2008 forum4designers.com  Software forum  Computer Hardware reviews