Bug 52509 - Resources protected by .htaccess file may not be accessible without excessive authentication prompts in IE
Summary: Resources protected by .htaccess file may not be accessible without excessive...
Alias: None
Product: Apache httpd-2
Classification: Unclassified
Component: mod_auth_basic (show other bugs)
Version: 2.2.21
Hardware: PC All
: P2 normal (vote)
Target Milestone: ---
Assignee: Apache HTTPD Bugs Mailing List
Keywords: MassUpdate
Depends on:
Reported: 2012-01-23 18:32 UTC by Kevin A. McGrail
Modified: 2018-11-07 21:09 UTC (History)
0 users


Note You need to log in before you can comment on or make changes to this bug.
Description Kevin A. McGrail 2012-01-23 18:32:38 UTC
If I do the following:

- Have an html file or cgi in one dir

- reference images in another dir (dir #2)

- have dir #2 protected by .htaccess file with basic auth

- use IE to load the content, I am repeatedly asked for the password.  For example, for 300 images, i will get about 7 requests.  There will be sometimes a log line or two that the password is incorrect even though it is 100% typed in the same repeatedly for the multiple requests.

- If I switch from .htaccess to using a <directory> command, the repeated credential disappears.

This is using http 2.2.21 and was discussed on the mailing list.

While I expect the .htaccess to be more resource intensive, the fact that it breaks operation with a browser as ubiquitous as IE 6,7,8 & 9 leads me to believe this is a bug.

I have repeated this testing on multiple servers with multiple httpd versions including 1.3 branches.

I can provide much more information as this has been discussed on the mailing list but I think the core information above is the most helpful.

Comment 1 William A. Rowe Jr. 2018-11-07 21:09:22 UTC
Please help us to refine our list of open and current defects; this is a mass update of old and inactive Bugzilla reports which reflect user error, already resolved defects, and still-existing defects in httpd.

As repeatedly announced, the Apache HTTP Server Project has discontinued all development and patch review of the 2.2.x series of releases. The final release 2.2.34 was published in July 2017, and no further evaluation of bug reports or security risks will be considered or published for 2.2.x releases. All reports older than 2.4.x have been updated to status RESOLVED/LATER; no further action is expected unless the report still applies to a current version of httpd.

If your report represented a question or confusion about how to use an httpd feature, an unexpected server behavior, problems building or installing httpd, or working with an external component (a third party module, browser etc.) we ask you to start by bringing your question to the User Support and Discussion mailing list, see [https://httpd.apache.org/lists.html#http-users] for details. Include a link to this Bugzilla report for completeness with your question.

If your report was clearly a defect in httpd or a feature request, we ask that you retest using a modern httpd release (2.4.33 or later) released in the past year. If it can be reproduced, please reopen this bug and change the Version field above to the httpd version you have reconfirmed with.

Your help in identifying defects or enhancements still applicable to the current httpd server software release is greatly appreciated.