On Mon, 9 Jul 2001, Surat Singh Bhati wrote:
> But all the .pl , including fast_(.*).pl are run by Apache::PerlRun handler
> Any solution to exclude the fast_(.*).pl in second expression?

Set the PerlRun handler as the default in httpd.conf, and write
your own translation handler:

package Apache::DistinguishBetweenPerlRunAndFastCGI;
use Apache::Constants qw(OK DECLINED);

sub handler {
    my $r = shift;
    return DECLINED unless ($r->uri =~ /\.pl$/);

    $r->hander("whatever-handler") if ($r->uri =~ /fast_(.*)\.pl$/);
    return OK;
}

Season to taste (especially real a handler name).

(darren)

-- 
I believe in God, only I spell it Nature.
    -- Frank Lloyd Wright

Reply via email to