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?

For instance, say I request
http://www.mydomain.com/myfile.html
That works fine and is a real file.
Now I want to request:
http://www.mydomain.com/abc_myfile.html

abc_myfile.html is not a real file.  I need to be able to access the
real name via $r->filename, but have something telling me the original
request had abc_ as a prefix.  I need to use the prefix to set options
in the page under Apache::ASP.

If I was going to stay on an OS that would support symlinks I would just
use symlinks for the different names and all would be fine, but for NT
this is not doable, or at least doesn't seem to be.

I see where I can get at the $r->filename value and modify it, but I
hope to be able to do the translation before Apache::ASP gets a hold of
it so I don't have to modify the Apache::ASP script.

Can I chain the handlers?
Does altering the $r->filename alter the %ENV in anyway?


Aaron Johnson



Reply via email to