mp2 Guys,
I am getting xml (seemingly) instead of html 3.2 out of
Apache2/ModPerl::Registry/CGI.pm. I'm setting content type in my code like this:
use CGI qw/:standard :html3/;
...
print header(-type=>'text/html');
Has some default changed or a switch I need to set. Netscape 7.02 is barfing on this
style of code. MSIE 5.5 and NN 4.79 work fine with it.
I'm getting this:
<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US">
I'm expecting this:
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<HTML><HEAD>
...
Conf file:
<Location /perl>
SetHandler perl-script
PerlResponseHandler ModPerl::Registry
Options +ExecCGI
PerlOptions +ParseHeaders
</Location>
Thanks in advance
Chuck