Topic: Mac FireFox thinks my site is binary data... Pages that link to <a href="https://ozoneasylum.com/backlink?for=25708" title="Pages that link to Topic: Mac FireFox thinks my site is binary data..." rel="nofollow" >Topic: Mac FireFox thinks my site is binary data...\

 
Author Thread
robur
Nervous Wreck (II) Inmate

From: Careywood, Idaho, USA
Insane since: Jan 2005

IP logged posted posted 05-08-2005 07:48 Edit Quote

Hello everyone!

This time I have a problem that is driving me crazy!

When I visit any page of my site besides my homepage, it looks perfect in Mac FireFox.
When I visit my homepage as www.allthingsinteresting.com/index.ati , it shows up perfect.
When I visit my homepage as just www.allthingsinteresting.com , FireFox displays a "would you like to download this binary data?" dialog.

Does any one have an idea as to what could be causing FireFox to do this only on my homepage? Can any one replicate this in any other browser (especially windows FireFox)?

The only computer I have access to at the moment is a mac, and It looks great in all the mac browsers except for this strange bug in FireFox.

When I use an online header viewer, it displays the page contents correctly, so I don't think this problem is server-related. Perhaps my site is sending some line in the request header that chokes FireFox?

Hopefully someone will have some ideas...

Thanks,

-Robur

HZR
Bipolar (III) Inmate

From: Cold Sweden
Insane since: Jul 2002

IP logged posted posted 05-08-2005 12:07 Edit Quote

Your sending the index page at www.allthingsinteresting.com as application/octet-stream, which tells the user-agent to download it. You probably want text/html.
Since you appear to be using Apache, see http://httpd.apache.org/docs/mod/mod_mime.html#addtype

(Edited by HZR on 05-08-2005 12:15)

robur
Nervous Wreck (II) Inmate

From: Careywood, Idaho, USA
Insane since: Jan 2005

IP logged posted posted 05-08-2005 21:58 Edit Quote

AHA!

Thanks so much.

I got the "header mixup" fixed.

I am actually using my own handwritten script running on top of apache to generate the page and send the headers, but a slight bug was causing the script to not realise that pages without an /index.ati request were still pages.

Thanks for pointing me in the right direction!

-Robur



Post Reply
 
Your User Name:
Your Password:
Login Options:
 
Your Text:
Loading...
Options:


« BackwardsOnwards »

Show Forum Drop Down Menu