Bug #11841 Updated: MSIE tries to download file when you hit domain alias
| From: | derick@php.net | Date: | Mon, 02 Jul 2001 18:04:27 +0000 |
| Subject: | Bug #11841 Updated: MSIE tries to download file when you hit domain alias | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-58726@lists.php.net to get a copy of this message | ||
ID: 11841
Updated by: derick
Reported By: anrkngl@lowmagnet.org
Status: Closed
Bug Type: Scripting Engine problem
Operating system:
PHP Version: 4.0.6
Assigned To:
Comments:
Lets blame it on MicroSoft :)
Previous Comments:
---------------------------------------------------------------------------
[2001-07-02 13:59:44] anrkngl@lowmagnet.org
Apparently my browser was on crack. I've been rebooting several times to make sure it
wasn't browser related, and after running it through loadrunner, it worked fine. Chalk it up to
a bad proxy or something.. ..
---------------------------------------------------------------------------
[2001-07-02 13:52:56] anrkngl@lowmagnet.org
I'm using MSIE 5.5. Opera 5.11 works fine with the document, as does lynx. It appears that the
way my site is set up, hitting http://www.lowmagnet.org will
not suffice. Is there a workaround? perhaps a redirect like the below:
httpd.conf:
DirectoryIndex index.html index.php index.shtml
index.html:
<meta http-equiv="refresh" content="0; URL=http://www.lowmagnet.org/index.php">
Would work. I just don't like kludges such as these. If only IE would listen to the mimetype.
But still, why is this happening only on my system? I'm going to run a recording in loadrunner
to see if it can pull across the headers..
---------------------------------------------------------------------------
[2001-07-02 13:26:09] derick@php.net
Works fine from here with both NS 4.77 and IE 5.00.2314.1003
Which version of IE are you using? However, this can't be no problem with PHP I think.
Derick
---------------------------------------------------------------------------
[2001-07-02 13:11:53] anrkngl@lowmagnet.org
When I hit my site normally: http://lowmagnet.org, all is ok,
and it brings up my first page. When I hit my site with its "www." alias (from DNS level)
IE tries to download the file. I'm not certain why it would do this, because most other
browsers handle this correctly. My mime.types file:
text/html html htm php
My httpd.conf:
DirectoryIndex index.php index.html index.shtml
AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps
My PHP.ini:
default_mimetype = "text/html"
Like I said, if you point at a specific directory under either DNS registry, no worries. If you
point to the root on the www. spec, it doesn't seem to send the right mimetype. I figure if
it's working everywhere but that one place it's probably config. I just want to eliminate
suspects. Thanks.
---------------------------------------------------------------------------
ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at http://bugs.php.net/?id=11841&edit=2