mod_perl2 and request paths

Simon Wistow simon at
Sat Feb 9 15:14:49 GMT 2008

So, I have installed a mod_perl2 handler in a directory such that 
anything under

gets called through it.

What I want to know is, if

gets called, how do programatically I tell that I was installed under 


I had one method that walked back up the file path until it reached a 
real directory but that doesn't work if I actually *have* a real 
directory under your 'handled' directory (i.e if 'sub_dir' actually 

Surely this can't be *that* hard - it seems like a fairly obvious thing 
to want to do. 


More information about the mailing list