Hi,

I was just trying to hack a script into showing its HTML output to a
browser by setting the content type to 'text/plain', but it looks like
Apache::SSI, which I'm using, always sets the content type to
'text/html' (line 23 Apache::SSI).

I'm also using Apache::ASP, which apparently gets its
$Response->{ContentType} setting overridden.

I commented out the $r->content_type line in Apache::SSI and now
everything works fine.  Is there a compelling reason for keeping that
setting in there?  I can imagine people might use SSI to spit out more
than HTML code.

Dan

Details:
Apache::SSI 2.21
Apache::ASP 0.18

httpd.conf
    PerlHandler Apache::ASP Apache::SSI
    PerlSetVar Filter On

Reply via email to