Hello All,

I'm trying to write a ModPerl handler for Apache 2.2 that will act on 
<Location /> directly. Whatever I need the handler to do is working 
correctly (basically some analisys of the request), but what I cannot find 
how to do, is how to tell Apache that my handler has nothing to do with the 
request and to pass the request through just like of my handler would never 
taken the request.

Does anyone know what value my handler should return so Apache continues 
with the request normally?

Example:

package My::ApacheHandler;

use strict;
use warnings;
use Apache2::RequestRec ();
use Apache2::RequestIO ();
use Apache2::Const -compile => ':common';

sub handler {
    my $r = shift;
    if (...whatever my handler should process if the request matches some 
criteria...) {
        # Some work and the response to the request;
        return Apache2::Const::OK;
    } else {
        # Here my handler has nothing to do, I want Apache to act normally 
with the request (e.g. deliver the requested html/cgi file)
        return $what; # <--- ?
    }
}

I hope someone has good knowledge/experience with this. Thanks in advance! 
:-)

Regards,

Francisco Zarabozo


_______________________________________________
ActivePerl mailing list
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to