A colleague tweeted that my Drupal site wasn't rendering properly on his iPhone (aka Safari browser). I responded that it was likely a caching issue with my hosting provider, but now I'm not so sure. A picture of what he saw is here:

http://twitpic.com/1e9uhi/full

My site is:

http://tech.rickumali.com/

What he sees is a text listing of my site's raw HTML. I saw this on my iPod touch this evening, so I'm beginning to doubt the "cache" issue. When I enter this URL, my site displays correctly:

http://tech.rickumali.com/index.php

Has anyone seen this kind of behavior? Any thoughts or suggestions? Thanks in advance!

Comments

markus_petrux’s picture

Your site is sending the page with the Content-Type: text/plain header.

Doubt is the beginning, not the end of wisdom.

rickumali’s picture

Thanks for this reply. I'm going to look to see what I may have messed up in my configuration. Any suggestions on why my Drupal site may be sending Content-Type: text/plain?

rickumali’s picture

My hosting provider (the great folks at NearlyFreeSpeech) suggested that I switch my server type from Apache running PHP 5 on "Flex" to Apache running PHP 5 "Fast". "Flex" and "Fast" are their two offerings for PHP. Basically "Fast" is the one I should be using. I switched to "Fast" a few days ago, and I hope it's "resolved."

Below is information on "Flex" PHP, as described on NearlyFreeSpeech's BLOG:

http://blog.nearlyfreespeech.net/2007/12/27/php-update-five-finally-fast...