You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by Kenneth Lee <ke...@alfacomtech.com> on 2000/06/13 11:50:02 UTC

Expanding a URI

Hi all,

I'm writing a fixup handler which do some statistics for each request 
base on the URI. The problem is when I open "/", I have no way to know 
the file sent to the client in the Response Phase is "/index.html" or 
whatever it was mapped.

$r->filename gives me "/www/htdocs", i.e $r->document_root, which is 
not what I wanted.

Is there any work-around here?

Thanks.
Kenneth