Forum Moderators: coopster & phranque

Message Too Old, No Replies

Web page won't display on Mac

         

Imagicor

5:47 pm on Sep 4, 2003 (gmt 0)

10+ Year Member



I have a member login page on a site (perl apache) that is giving us a strange problem. Someone called to say they can't log in using a Macintosh. When they click on the log in button it is dumping the html content of the web page instead of displaying the page properly.

Anyone have any idea what could be causing this?

Thanks,

Jim

timster

12:36 pm on Sep 5, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Hmm...does your Web page have the correct HTTP headers?

Mac OS 9 doesn't "use" file extensions. Maybe Windows IE sees that HTML and thinks "Web page" while the Mac browser require the right header info.

Just a guess.

Imagicor

3:35 pm on Sep 5, 2003 (gmt 0)

10+ Year Member



Thanks Timster.

Someone just informed me that mac os10 works fine so it sounds like it may be isolated to mac os9. I'm going to do some more research on the headers and see if I can find anything.

timster

12:32 pm on Sep 9, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Imagicor,

Before you get too deep into headers, be aware that Perl makes them easy for you. If something like this isn't near the top of your script already, it should be:

use CGI;
my $cgi= CGI->new();
print $cgi->header();
print "<html>";
(etc.)