PDA

View Full Version : Problems with .htaccess and W7/IE8


Fatbear
09-13-2009, 04:49 PM
Hello there,

I've just registered on this site on the desperate hope of help, so I hope I'm posting this in the right place. I see many other .htaccess queries, so I think so.

I've got a site folder, "job", protected by a simple passworded .htaccess file. The job is a mini-site, with links to other pages, in this case "videos". On the video page there are links to open a selection of .wmv files stored in a sub-folder "videos". Accordingly, all of these fall under the protection of the .htaccess file in the job folder.


- job-folder <-.htaccess file is here
|- videos-folder
|-- video1.wmv


Now, all of this works fine. Tested it out on various browsers on various machines. It asks me to login when I go to the job folder, and lets me go through contents of the job folder and also it's sub-folders, videos being on of these sub-folders.

Except it doesn't work correctly on Internet Explorer 8, particularly IE8 running on Windows 7. It asks me to login when I enter the jobs folder, all well and good, but when I click a link to view a video it asks me to login again. If I do so, I can view the video. If I try and view another video, it asks me to login again, ad nauseum, for each video.

Everything else works fine. I can open other html pages, .pdf, jpegs in the html files open fine etc. So I thought maybe it was because I was linking the .wmv files directly and tried embedding. No dice. Same result on this one W7/IE8 machine, asks me to login again for each video I try and view.

I've got machines here running all kinds of different OS's, some XP, some Vista (Business and Ultimate, 32 and 64), a couple of Macs, and this one machine running Windows 7. A couple of the Vista machines also run IE8, so I tried those and the pages work fine without needing repeat logins. Chrome, Safari, IE7, Firefox, all work fine and on all the different machines.

Wondering whether it was my specific W7 machine, I gave a test page link to a couple of friends running the W7/IE8 combo and unfortunately they had the same issue. Firefox/Chrome on W7 work okay, and as stated IE8 on non-W7 machines works okay too.

I've tried meta tags to force IE7 emulation as well as X-UA-Compatible "IE=EmulateIE7" in a root .htaccess file, all with no luck.

I'm pretty desperate for even a point in the right direction.


AuthUserFile /home/sites/mydomain.here/public_html/w7test/.htpasswd
AuthName "Members Area"
AuthType Basic
Require valid-user


As you can see there's nothing even remotely fancy or problematic in the .htaccess file.

clunk.werclick
09-13-2009, 05:18 PM
I can't help you myself, but asking on the Apache Mailing List may get you further along the line:

http://httpd.apache.org/lists.html

Good luck, and please post back here when you get a fix.

vgerris
03-31-2010, 03:34 PM
IE 8 / Win 7 suck big time.
This problem seems to be caused by a different kind of MIME-type handling.
Instead of using a browser plugin like every normal browser does, an ActiveX control is used which runs an Add-on that runs an external program (in my case a wav file in nagios).

Apparently, in Windows 7 this is handled differently.

This is one of the most stupid issues ever, I would not be surprised if this is another setup.

I guess this can be solved if IE8/ Win 7 provides an option to embed the content.
The best and simplest option would probably be to upgrade to Firefox, Chrome, Iron, Safari, Opera , or just about any other existing browser.