in reply to Getting at apache aliases from mod_perl handlers

Use $r->uri() to translate the uri, or $r->filename() if you want to map from uri to pathname. Then return DECLINED if you want other modules to participate in further translations.

As merlyn suggested, you can use subrequests. This is only if you want to ensure that present changes do not result in errors and further uri changes are performed as originally planned.

  • Comment on Re: Getting at apache aliases from mod_perl handlers