Re: [users@httpd] Apache checks authentication twice

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

Absolutely right, I've run into it myself.  IE sees the file
extension, and triggers Excel (using an MS web library client, I
forget the exact name) to issue a second HTTP request. Incorrectly, in
my opinion, because it doesn't even evaluate the MIME type first; in
fact, it ignores the MIME type entirely the last time I checked.  And
it didn't matter what the target was in our case, but I'm speaking
from second hand knowledge on that part, so I could be remembering
wrong.  I do know that I had to create a separate Directory block with
no authentication for MS Office files, because IE always (in our case)
passed the URL to the MS web library client instead of making the
request itself.  Check your apache access logs - if the UserAgent
string is that library instead of MSIE, then I'd bet that's the
trouble.
IE appears to be broken (not just in this way). I have a script that adds a record to a database and then generates a PDF file and because it's not cacheable it is served with the appropriate headers. IE decides to ask for the file twice - it would seem to be once for IE to identify the file and once for the plugin. Opera does it correctly. I have had to allow the object to be cacheable for a short length of time to work around this flaw.

Sounds like a similar sort of problem.


				Neil.

--
Neil Hillard                    hillardn@xxxxxxxxx
Westland Helicopters Ltd.       http://www.whl.co.uk/

Disclaimer: This message does not necessarily reflect the
            views of Westland Helicopters Ltd.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux