I'm having trouble understanding how to configure mod_perl to execute a 
handler when called with a virtual location (i.e. one that does not directly 
map to anything in the server's filesystem). I know it's possible because 
packages like PageKit do it. I tried hacking through PageKit's code, but it 
didn't answer any questions.

My problem is that whenever Apache receives a URL for a virtual location, its 
default translation handler converts it into a directory index (index.html), 
which of course doesn't exist. The end result is a 403. Now I can write my 
own PerlTransHandler to intercept requests for my specific locations and 
pretend to translate them, but that's a pain and PageKit seems to work 
without doing that.

Does anybody have any insight they could offer? Thanks in advance. :)

-- 
Milo Hyson
CyberLife Labs, LLC

Reply via email to