Re: [mp2] How to get a Location in the modperl handler?

[prev] [thread] [next] [Date index for 2005/03/01]

From: David Wright
Subject: Re: [mp2] How to get a Location in the modperl handler?
Date: 14:46 on 01 Mar 2005
>> Let's assume that we have these lines in the apache config:
>>
>>         <Location /my/location>
>>                 SetHandler modperl
>>                 PerlResponseHandler MyApp::Handler
>>         </Location>
>>
>> How can MyApp::Handler obtain an information that it is running
>> within "/my/location"?
>>
>> Thank you for any help!
>>
>> Jozef
>>
>> --
>> jozef kosoru
>> http://zyzstar.kosoru.com
>>

> $r->location

As long as first you do:

use Apache::RequestUtil ();


I think.

dave

Re: [mp2] How to get a Location in the modperl handler?
David Wright 14:46 on 01 Mar 2005

Generated at 17:56 on 01 Mar 2005 by mariachi v0.52