httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tony van der Hoff <lists_0...@vanderhoff.org>
Subject Re: [users@httpd] apache serves cgi error as application/x-perl
Date Mon, 11 Dec 2006 15:02:23 GMT
*BUMP*

Has no-one any clue about this, please. I'm beginning to tear my har out :(

On 7 Dec at 11:54 Tony van der Hoff <lists_0504@vanderhoff.org> wrote in
message <gemini.j9wjqv08pf09s03u8.lists_0504@vanderhoff.org>

> Hi,
> 
> Apologies if this has been raised before; I couldn't find anything similar
> in the faq, nor the last 2 months archives.
> 
> I recently upgraded from Apache 2.0 to 2.2. Adjusted the configuration
> appropriately, and mostly everything works fine.
> 
> However, when the server fails to execute a perl cgi script due to, say,
> bad permissions, or a script error, i.e. "premature end of script
> headers", it appears to generate the correct 500 error page, but serves it
> as mime type appication/x-perl, instead of text/html. The previous version
> handled this correctly.
> 
> Error-free scripts work fine, so I don't think it's anything related to
> ExecCGI, or addhandler.
> 
> This must obviously be a problem with my configuration, but having fiddled
> about for a few days, I've not progressed much further. Changing the
> mime.types file for .pl to text/html is effective, but it doesnt feel like
> the correct solution to the problem.
> 
> Has anyone any hints, please?
> 


-- 
Tony van der Hoff        | mailto:tony@vanderhoff.org
Buckinghamshire, England

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message