On 10/16/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> when i put warn command after the life to fetch the
> $location value,It doesn't yield any value.
> my $location = $r->headers_out->get('Location');
There won't be anything there unless you put something there. What
are you trying to d
On May 3, 2007, at 12:43 PM, Torsten Foertsch wrote:
Note that all these functions are methods of the $r object.
oh!
ok, now i see. that makes total sense. i thought i had to access
these methods via their own packages, not that they were exported
into the ApacheRequestRec class.
, May 03, 2007 12:10 PM
To: Torsten Foertsch
Cc: modperl@perl.apache.org
Subject: Re: location
On May 3, 2007, at 10:54 AM, Torsten Foertsch wrote:
> You see the location function is created directly in the
> Apache2::RequestRec
> namespace (the PACKAGE = ...).
>
> The perl eq
On Thursday 03 May 2007 18:09, Jonathan Vanasco wrote:
> On May 3, 2007, at 10:54 AM, Torsten Foertsch wrote:
> > You see the location function is created directly in the
> > Apache2::RequestRec
> > namespace (the PACKAGE = ...).
> >
> > The perl equivalent would be a file named Apache2/RequestUtil
On May 3, 2007, at 10:54 AM, Torsten Foertsch wrote:
You see the location function is created directly in the
Apache2::RequestRec
namespace (the PACKAGE = ...).
The perl equivalent would be a file named Apache2/RequestUtil.pm
that starts
with a "package Apache2::RequestRec" line. When you
On Thursday 03 May 2007 16:34, Jonathan Vanasco wrote:
> On May 3, 2007, at 2:54 AM, Torsten Foertsch wrote:
> > http://perl.apache.org/docs/2.0/api/Apache2/
> > RequestUtil.html#C_location_
>
> Thats even odder...
>
> $r is a RequestRec, not RequestUtil
>
> And according to those docs, RequestUtil
On May 3, 2007, at 2:54 AM, Torsten Foertsch wrote:
http://perl.apache.org/docs/2.0/api/Apache2/
RequestUtil.html#C_location_
Thats even odder...
$r is a RequestRec, not RequestUtil
And according to those docs, RequestUtil ISA RequestRec , not the
other way around.
location really shoul
On Thursday 03 May 2007 02:20, Jonathan Vanasco wrote:
> I'm cleaning up some code for a dispatch class I wrote, and got very
> confused:
>
> I found that i was accessing location from $r ( ApacheRequestReq
> Object )
>
> location isn't a documented function of $r though. why is that
> working fo
sajid khan wrote:
> Fred, below is sample configuration used
>
>
> SetHandler perl-script
> PerlHandler Apache::Hello
> PerlSetVar somevar 50
>
I'm almost sure this works correctly (but I could be wrong). Can you look at
t/response/TestModperl/setupenv.pm
and see if your case is covered. I b
Fred, below is sample configuration usedSetHandler perl-script
PerlHandler Apache::HelloPerlSetVar somevar 50
Regarding your below question, the answer is yes>>Are you>>saying that in 2.0 PerlSetVar works properly for you in ,>>but not ?
Please let me know if I am overlooking or missing anythin
On Thu, 21 Sep 2006 1:51 pm, sajid khan wrote:
I asked the below question in apache user group as well, but with no
answers
We have 2 location directives, one for all the requests (
... ) and one for specific url
. We declare some variables using PerlSetVar inside
those and read from the pe
On 31/07/2006, at 23:15, Michael Peters wrote:
Are you saying that /xyz does exist in your document root? I've
found that
Apache won't work if you mix a virtual directory, real directory
and path_info.
This is because PATH_INFO is what ever is left over after url =>
file name
mapping. If t
Scott Penrose wrote:
> Hey ho
>
> I have a simple configuration:
>
> PerlModule Test::FH
>
> SetHandler perl-script
> PerlResponseHandler Test::FH
>
>
> Now I go to the URL http://www.myhost.com/xyz/abc/qqq/123
>
> Inside my code I want to get "/ggg/123" so I try
>
> pr
On Sun, 26 Mar 2006, Christopher Hicks wrote:
I've run into quite an oddity trying to get AuthDBI to work on a current
CentOS box.
[EMAIL PROTECTED] conf.d]# rpm -q httpd
httpd-2.0.52-22.ent.centos4
[EMAIL PROTECTED] conf.d]# httpd -V
Server version: Apache/2.0.5
14 matches
Mail list logo