httpd-modules-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marco Spinetti <>
Subject input filter ap_internal_redirect
Date Tue, 14 Aug 2007 10:44:55 GMT
I have a doubt about my input filter.
I'm writing an input filter which should filter the requests to my handler.
Only special types of requests should go to my handler.
So I'd like that my input filters, if the incoming request is not ok,  
does an internal redirect to a static page, without calling my handler.
I don't understand how to do it in my filter.
Is it ok if in my filter I inser:

if (redirect) {
    ap_internal_redirect(static_page, f->r);
    return APR_SUCCESS;
Best regards


View raw message