That is just what I was looking for.
I just modified the $r->filename and left $r->uri untouched.
10 lines of code and I have it doing exactly what I needed and Apache::ASP reads
the correct file.
I still have the $ENV{REQUEST_URI} to check for the orginal name requested, there
by allow me to set options based on it.
I see now it is in the Guide as well at:
http://thingy.kcilink.com/modperlguide/snippets/PerlTransHandler_example.html
Not knowing what I needed to do was called (or what phase it was best handled) was
the root of my problem.
Thanks!
Aaron Johnson
darren chamberlain wrote:
> Hi Aaron,
>
> Check out the section titled "Using a Translation Handler to Change the
> URI" in Chapter 7 of the Eagle book, at
> http://www.modperl.com/book/chapters/ch7.html#Using_a_Translation_Handler_to_C.
>
> Aaron Johnson ([EMAIL PROTECTED]) said something to this effect:
> > Is there a module that allows you to translate the file name into
> > something else, but keeps the requested filename in an enviroment
> > variable or other location?
>
> (darren)
>
> --
> So far as a man thinks, he is free.