Apache Server configuration support - htaccess password promt comes twice

This is Interesting: Free IT Magazines  
Home > Archive > Apache Server configuration support > April 2004 > htaccess password promt comes twice





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 password promt comes twice
Rolf Brauser

2004-04-30, 6:34 am

Hi,
I configured inserting following in the httpd.conf :
<Directory "C:/Programme/Apache 2/htdocs/">
AllowOverride FileInfo AuthConfig Limit
Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec
<Limit GET POST OPTIONS PROPFIND>
Order allow,deny
Allow from all
</Limit>
<LimitExcept GET POST OPTIONS PROPFIND>
Order deny,allow
Deny from all
</LimitExcept>
</Directory>

then configured the .htacess file inserting this

AuthUserFile C://Programme/Apache2/htdocs/phpmy/.htpasswd
AuthName Sorry!
AuthType Basic
require valid-user

Everything works the password promt comes twice. The first input fails, the
second works.
why is that ?

thanks for any help
rolf


Davide Bianchi

2004-04-30, 6:34 am

Rolf Brauser <fastrolf@a1.net> wrote:
> Everything works the password promt comes twice. The first input fails, the
> second works.


Check your error_log file.
Davide

--
| WARNING TO ALL PERSONNEL: Firings will continue until morale improves.
|
|
|
Joshua Slive

2004-04-30, 9:33 am

"Rolf Brauser" <fastrolf@a1.net> wrote in message news:<kEpkc.582550$Or1.75495@news.chello.at>...
>
> Everything works the password promt comes twice. The first input fails, the
> second works.
> why is that ?


http://httpd.apache.org/docs/misc/F...#prompted-twice

Joshua.
Rolf Brauser

2004-04-30, 10:33 am


Thanks for the link, I did all that but there is the same problem.

a.. Always use the trailing slash when requesting directories;
b.. Change the ServerName to match the name you are using in the URL; and/or
c.. Set UseCanonicalName off.
rolf


Joshua Slive

2004-04-30, 3:33 pm

"Rolf Brauser" <fastrolf@a1.net> wrote in message news:<ortkc.583461$Or1.35292@news.chello.at>...
> Thanks for the link, I did all that but there is the same problem.
>
> a.. Always use the trailing slash when requesting directories;
> b.. Change the ServerName to match the name you are using in the URL; and/or
> c.. Set UseCanonicalName off.
> rolf


As was already asked, what does your error log say?

Give us an internet-accessible URL that shows the problem along with a
user/password.

Joshua.
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com