package TransHandler; use warnings; use strict; use Apache::Constants qw(DECLINED); # this is a replacement for mod_rewrite to get more pretty URIs #------------------------------------------------------------ sub handler {    my $r = shift;    my $standardUri = "/pboard//PBoard.pm";    my $uri = $r->uri();    if ( $uri =~ m|^/$| or $uri =~ m|^/overview/?| ) {        $r->uri($standardUri);        $r->args("action=overview");        return DECLINED;    } # if    elsif ($uri =~ m|^/logon|) {        $r->uri($standardUri);        $r->args("action=logon"); return DECLINED;    } # elsif # ...    return DECLINED; } # handler #------------------------------------------------------------ 1; # modules have to return a true value