htaccess password promt comes twice

This is a discussion on htaccess password promt comes twice within the Apache Web Server forums, part of the Web Server and Related Forums category; Hi, I configured inserting following in the httpd.conf : <Directory "C:/Programme/Apache 2/htdocs/"> AllowOverride ...


Go Back   Usenet Forums > Web Server and Related Forums > Apache Web Server

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-30-2004
Rolf Brauser
 
Posts: n/a
Default htaccess password promt comes twice

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


  #2 (permalink)  
Old 04-30-2004
Davide Bianchi
 
Posts: n/a
Default Re: htaccess password promt comes twice

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.
|
|
|
  #3 (permalink)  
Old 04-30-2004
Joshua Slive
 
Posts: n/a
Default Re: htaccess password promt comes twice

"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/FA...prompted-twice

Joshua.
  #4 (permalink)  
Old 04-30-2004
Rolf Brauser
 
Posts: n/a
Default Re: htaccess password promt comes twice


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


  #5 (permalink)  
Old 04-30-2004
Joshua Slive
 
Posts: n/a
Default Re: htaccess password promt comes twice

"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.
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 10:59 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0