Torsten Förtsch
IT System Development & Security
Kaum macht man's richtig, schon geht's, ;-)

>> Home >> ModPerl

ModPerl & Apache related stuff

To reach a broader audience this stuff is in English. Native speakers, please bear with me. This is not my mother tongue.

How to hand long-running requests over to another process

19.04.2010

Modperl worker processes are usually an expensive resource. Hence, locking up such a thing for a long time is undesirable. So, perhaps it's possible to free the apache worker before the request is actually done and handing the client connection over to another more light-weight process?

This is a follow-up to the server-push clock below.

Bucket brigade based IO in a PerlResponseHandler

18.03.2010

This article shows how to work around a memory leak in $r->print based IO for really large response bodies.

How to deploy mod_proxy as WWW user agent?

15.03.2010

Have you ever asked if it is possible to use mod_proxy in a mod_perl handler to fetch the content of a remote URL? This article explain how to do that.

How to send a custom content type along with a custom response?

14.03.2010

One can set the text sent to the browser in case the request ends in a HTTP error via ErrorDocument or in Perl via $r->custom_response($code, $message). But if I need a special Content-Type header to be passed along, how do I do that? This article explains it.

How to have Apache::Test generate SSL certificates?

13.03.2010

Apache::Test can generate SSL certificates to be used in tests. This article explains how.

How to pass control from an output filter to an ErrorDocument

28.02.2010

A Perl*Handler can normally trigger HTTP error messages like 404 Not Found by simply returning something other than Apache2::Const::OK or Apache2::Const::DECLINED. But there is an exception. Filter handlers can only trigger Apache2::Const::SERVER_ERROR this way. This article explains why and how to circumvent that limitation.