http://qs321.pair.com?node_id=9979

royalanjr has asked for the wisdom of the Perl Monks concerning the following question:

They show up fine in Explorer, but Netscape shows nothing.
  • Comment on Why do some browsers show none of my output?

Replies are listed 'Best First'.
Re: Why won't scipts on an Apache server not show up when viewed with Netscape.
by turnstep (Parson) on May 03, 2000 at 04:42 UTC
    Sometimes, Netscape will not show anything (e.g. unclosed table tags are a good place to start your search), but View->Source will. Strange but true - and a good way to debug.
Re: Why won't scipts on an Apache server not show up when viewed with Netscape.
by btrott (Parson) on May 03, 2000 at 00:55 UTC
    What is showing up, then? Are you sure you're sending back the correct HTTP header? Make sure you're sending back a Content-Type of text/html:
    use CGI qw/:standard/; print header;
    Or, if you're using mod_perl:
    $r->content_type("text/html"); $r->send_http_header;