in reply to Perl keeps sending wrong content-type

Perl keeps sending wrong content-type

I doubt it :) Your program or webserver might send wrong content types but not Perl :)

I think this is probabily a configuration settings gone wrong,

It is good you hide those settings you suspect at being important, this will certainly lead to a solution :D

CGI Help Guide and Troubleshooting Perl CGI scripts

http://perl.apache.org/docs/1.0/guide/porting.html

http://search.cpan.org/dist/mod_perl/docs/os/win32/config.pod

http://httpd.apache.org/docs/2.2/howto/cgi.html

http://perl.apache.org/docs/1.0/guide/config.html

  • Comment on Re: Perl keeps sending wrong content-type

Replies are listed 'Best First'.
Re^2: Perl keeps sending wrong content-type
by jam3s (Initiate) on Dec 15, 2011 at 16:20 UTC
    Reconfigured Apache and all works now,
    <Directory /var/www/html/scripts> SetHandler perl-script PerlResponseHandler ModPerl::Registry PerlOptions +ParseHeaders Options +ExecCGI Order allow,deny Allow from all </Directory>