Re: Apache2::Request and other modules

2025-05-13 Thread Mithun Bhattacharya
Apache2::Request is the base and you would at least need that to consume a request. The rest are optional and expand on what $r provides. You include them only if you are using something they are providing. On Tue, May 13, 2025, 8:37 PM wrote: > Hello > > In my modperl handler, I

Apache2::Request and other modules

2025-05-13 Thread ypeng
Hello In my modperl handler, I only use Apache2::Request module. What relations are there between Apache2::Request and the following modules? use Apache2::RequestRec (); use Apache2::RequestIO (); use Apache2::Connection (); use APR::Table (); Should I include them in startup.pl as well as

Re: HTTPd Devs Considered Harmful to Apache2::Request users

2024-02-19 Thread Joe Schaefer
Simply put, 2.17 was a fraudulent release according to HTTPd's own rules for RM's. Under no circumstances may an RM unilaterally disable any component of the test suite without notifying the remainder of the PMC *on list*, because it is simply a deceptive practice for the rest of the group to have

Re: HTTPd Devs Considered Harmful to Apache2::Request users

2024-02-18 Thread Joe Schaefer
Would you trust any of them at this point? I have a copy of svn trunk. I will never use anything they release, no matter what they call it. Joe Schaefer, Ph.D. Orion - The Enterprise Jamstack Wiki 954.253.3732

Re: HTTPd Devs Considered Harmful to Apache2::Request users

2024-02-18 Thread Mithun Bhattacharya
So it will be moved to retired I assume or are they going to break their own rules and purge it altogether? On Sun, Feb 18, 2024, 3:33 PM Joe Schaefer wrote: > 2.18 will never be released. They are shutting down the project. > > Joe Schaefer, Ph.D. > > Ori

Re: HTTPd Devs Considered Harmful to Apache2::Request users

2024-02-18 Thread Joe Schaefer
2.18 will never be released. They are shutting down the project. Joe Schaefer, Ph.D. Orion - The Enterprise Jamstack Wiki 954.253.3732 On Sun, Feb 18, 2024 at 4:32 PM Mithun Bhattacharya wrote: > Could you clar

Re: HTTPd Devs Considered Harmful to Apache2::Request users

2024-02-18 Thread Mithun Bhattacharya
Could you clarify this - 2.17 has a critical bug and 2.18 is about to come out which doesn't have a good enough patch so how would trunk be any better? Also how is this passing make test or were the test cases modified to make the bug pass ? On Sun, Feb 18, 2024, 1:12 PM Joe Schaefer wrote: > T

Re: HTTPd Devs Considered Harmful to Apache2::Request users

2024-02-18 Thread Joe Schaefer
You are welcome, colleague! Keep in mind the SoBs are threatening to release 2.18 as we speak, but like everything else they do, it’s a dog and pony show in a Potemkin Village. They simply are too lazy, inept, and mendacious to execute. Use trunk, while it still exists. Joe Schaefer, Ph.D.

Re: HTTPd Devs Considered Harmful to Apache2::Request users

2024-02-18 Thread Joe Schaefer
Trunk is the safe bet. Joe Schaefer, Ph.D. Orion - The Enterprise Jamstack Wiki 954.253.3732 On Sun, Feb 18, 2024 at 2:11 PM Mithun Bhattacharya wrote: > So is there a cleaner/saner version of libapreq2 or is t

Re: HTTPd Devs Considered Harmful to Apache2::Request users

2024-02-18 Thread Mithun Bhattacharya
Also thank you for the library ! On Sun, Feb 18, 2024, 1:11 PM Mithun Bhattacharya wrote: > So is there a cleaner/saner version of libapreq2 or is the 2012 version > better ? > > On Sun, Feb 18, 2024, 12:58 PM Joe Schaefer wrote: > >> For the past 25 years, I have been the lead developer of the

Re: HTTPd Devs Considered Harmful to Apache2::Request users

2024-02-18 Thread Mithun Bhattacharya
So is there a cleaner/saner version of libapreq2 or is the 2012 version better ? On Sun, Feb 18, 2024, 12:58 PM Joe Schaefer wrote: > For the past 25 years, I have been the lead developer of the libapreq2 > subproject within the Apache HTTPd Server Parent Project. The original idea > of libapreq

HTTPd Devs Considered Harmful to Apache2::Request users

2024-02-18 Thread Joe Schaefer
For the past 25 years, I have been the lead developer of the libapreq2 subproject within the Apache HTTPd Server Parent Project. The original idea of libapreq as a safe/performant HTML form and Cookie parsing library came out of a collaboration between Lincoln Stein and Doug MacEachern in the late

Re: New release of libapreq2 (Was: Re: Question about Apache 2.4 and libapreq2 (Apache2::Request))

2019-10-24 Thread Steve Hay
On Thu, 24 Oct 2019 at 15:50, wrote: > > On Wednesday 06 September 2017 08:23:12 Steve Hay wrote: > > On 19 January 2017 at 14:25, Issac Goldstand wrote: > > > That release was canceled due to lack of votes, > > Hello Issac! Have you released this version on cpan as trial release for > testing?

New release of libapreq2 (Was: Re: Question about Apache 2.4 and libapreq2 (Apache2::Request))

2019-10-24 Thread pali
On Wednesday 06 September 2017 08:23:12 Steve Hay wrote: > On 19 January 2017 at 14:25, Issac Goldstand wrote: > > That release was canceled due to lack of votes, Hello Issac! Have you released this version on cpan as trial release for testing? I have not found it on https://metacpan.org/releas

Re: Question about Apache 2.4 and libapreq2 (Apache2::Request)

2017-09-06 Thread Steve Hay
;> >> * JW wrote: >> >>> Date: Wed, 18 Jan 2017 20:06:41 + >>> From: JW >>> To: "modperl@perl.apache.org" >>> Subject: Question about Apache 2.4 and libapreq2 (Apache2::Request) >>> >>> >>> Hi, >>>

Re: Question about Apache 2.4 and libapreq2 (Apache2::Request)

2017-03-13 Thread William A Rowe Jr
lliam A Rowe Jr > To: httpd ; modperl@perl.apache.org > Cc: JW > Sent: Monday, March 13, 2017 4:53 PM > > Subject: Re: Question about Apache 2.4 and libapreq2 (Apache2::Request) > > This has occurred in multiple contexts, including throwing segfaults in the > modperl test

Re: Question about Apache 2.4 and libapreq2 (Apache2::Request)

2017-03-13 Thread JW
To: httpd ; modperl@perl.apache.org Cc: JW Sent: Monday, March 13, 2017 4:53 PM Subject: Re: Question about Apache 2.4 and libapreq2 (Apache2::Request) This has occurred in multiple contexts, including throwing segfaults in the modperl test framework (connection handler, so no req_rec.) Wondering

Re: Question about Apache 2.4 and libapreq2 (Apache2::Request)

2017-03-13 Thread William A Rowe Jr
13, 2017 at 6:28 PM, JW wrote: > > From: William A Rowe Jr > To: JW > Cc: "modperl@perl.apache.org" > Sent: Friday, March 10, 2017 1:44 PM > Subject: Re: Question about Apache 2.4 and libapreq2 (Apache2::Request) > > On Thu,

Re: Question about Apache 2.4 and libapreq2 (Apache2::Request)

2017-03-10 Thread William A Rowe Jr
On Thu, Mar 9, 2017 at 9:53 PM, JW wrote: > > It's been over a month since moving to Apache 2.4. It was fairly > straightforward and required > little code to be updated, most of it Apache config. Everything runs as it > did before the update and I've > had no problems. The one function that didn'

Re: Question about Apache 2.4 and libapreq2 (Apache2::Request)

2017-03-10 Thread Jie Gao
* JW wrote: > This mod_perl server is behind a proxy on the same machine. Under Apache 2.2, > $r->remote_ip() > returned 127.0.0.1 and not the user's actual IP.  So, a > PerlPostReadRequestHandler extracted the user's > IP address from the X-Forwarded-For header and set it with $r->remote_ip(

Re: Question about Apache 2.4 and libapreq2 (Apache2::Request)

2017-03-09 Thread Jie Gao
* JW wrote: > Date: Fri, 10 Mar 2017 03:53:27 + > From: JW > To: "modperl@perl.apache.org" > Subject: Re: Question about Apache 2.4 and libapreq2 (Apache2::Request) > > Hi, > Back in January I was planning on moving to Apache 2.4+mod_perl+libapreq2 >

Re: Question about Apache 2.4 and libapreq2 (Apache2::Request)

2017-03-09 Thread JW
Hi, Back in January I was planning on moving to Apache 2.4+mod_perl+libapreq2 from Apache 2.2+mod_perl+libapreq2. I'd asked if anyone had problems doing a similar move -- the answer was no. Thank you again to everyone who replied my earlier post.  It's been over a month since moving to Apache

Re: Question about Apache 2.4 and libapreq2 (Apache2::Request)

2017-01-20 Thread JW
On Wed, 18 Jan 2017 20:06:41 + (UTC) JW wrote: >  before I make a permanent switch to Apache 2.4, I was wondering if anyone >doing a similar upgrade experienced problems using libapreq2 and what >alternative(s) they chose. > You are more likely to encounter problems with Apache t

Re: Question about Apache 2.4 and libapreq2 (Apache2::Request)

2017-01-19 Thread Issac Goldstand
a month ago, and it is available at https://home.apache.org/~issac/libapreq2-2.14.tar.gz . Regards, Jie * JW wrote: Date: Wed, 18 Jan 2017 20:06:41 + From: JW To: "modperl@perl.apache.org" Subject: Question about Apache 2.4 and libapreq2 (Apache2::Request) Hi, I cur

Re: Question about Apache 2.4 and libapreq2 (Apache2::Request)

2017-01-19 Thread Vincent Veyron
On Wed, 18 Jan 2017 20:06:41 + (UTC) JW wrote: > before I make a permanent switch to Apache 2.4, I was wondering if anyone > doing a similar upgrade experienced problems using libapreq2 and what > alternative(s) they chose. > You are more likely to encounter problems with Apache than li

Re: Question about Apache 2.4 and libapreq2 (Apache2::Request)

2017-01-18 Thread Jie Gao
n about Apache 2.4 and libapreq2 (Apache2::Request) > > > Hi, > > I currently use Apache 2.2, mod_perl and libapreq2 (for Apache2::Request and > Apache2::Cookie). I did a test installation of Apache 2.4 (yum), mod_perl > (source) and libapreq2-2.13 (source). and it seems to work f

Re: Question about Apache 2.4 and libapreq2 (Apache2::Request)

2017-01-18 Thread Joseph Schaefer
mod_perl and libapreq2 (for Apache2::Request and > Apache2::Cookie). I did a test installation of Apache 2.4 (yum), mod_perl > (source) and libapreq2-2.13 (source). and it seems to work fine. > > The last update of libapreq2 was in 2010. I'm aware that not every library > has to

Question about Apache 2.4 and libapreq2 (Apache2::Request)

2017-01-18 Thread JW
Hi, I currently use Apache 2.2, mod_perl and libapreq2 (for Apache2::Request and Apache2::Cookie). I did a test installation of Apache 2.4 (yum), mod_perl (source) and libapreq2-2.13 (source). and it seems to work fine. The last update of libapreq2 was in 2010. I'm aware that not

PerlOutputFilterHandler, Apache2::Request and utf8 encoded strings

2015-08-18 Thread Vincent Veyron
found that the content passed to the PerlOutputFilterHandler is not marked as utf8, so that I need to decode_utf8 its content to get my pages to display properly. This is also true of request parameters passed by Apache2::Request. The reason for this seems to be that both use APR::Table, whose

Re: Apache2::Request appears to not capture the full POST:ed value

2011-10-10 Thread McCarrell, Jeff
Andre is correct. Semi-colon is a valid query string separator, in addition to ampersand &. HTTP 1.x being so widely deployed, it is very hard to change the spec. So supporting semi-colon is a W3C recommendation. C.f. http://en.wikipedia.org/wiki/Query_string -- jeff On 10/10/11 2:11 PM, "André

Re: Apache2::Request appears to not capture the full POST:ed value

2011-10-10 Thread André Warnier
e Box is suppose to POST a semi colon separated list of data using a field called value. I'm using Apache2::Request to parse the POST, but it only captures the first part of the field (up until the first semi colon). My perl script looks like this; sub handler { my $r=shift; my $req

Apache2::Request appears to not capture the full POST:ed value

2011-10-09 Thread Linus Lund
POST a semi colon separated list of data using a field called value. I'm using Apache2::Request to parse the POST, but it only captures the first part of the field (up until the first semi colon). My perl script looks like this; sub handler {     my $r=shift;     my $req = Apache2::Reque

Re: Trouble Installing Apache2::Request on Centos 5.5

2011-03-24 Thread Fred Moyer
On Thu, Mar 24, 2011 at 7:25 AM, Robert D Oden wrote: > I have been struggling with getting Apache2::Request (libapreq2-2.13) to run > on Centos 5.5. > > Apache was installed during OS install. It sounds like you installed Apache and mod_perl via rpm or yum. Try installing libap

Re: Trouble Installing Apache2::Request on Centos 5.5

2011-03-24 Thread Alexander Goller
struggling with getting Apache2::Request (libapreq2-2.13) to run on Centos 5.5. Apache was installed during OS install. Apache2::Request was downloaded, built, tested, and installed successfully. perl Makefile.PL --with-apache2-apxs=/usr/sbin/apxs All dependencies satisfied. httpd_devel and

RE: Trouble Installing Apache2::Request on Centos 5.5

2011-03-24 Thread Morten Bjørnsvik
Hi Robert Our automatic installer have the following paramerters for the libapreq2.13 line: $PERL_BIN=/opt/perl/bin/perl $APXS_BIN=/opt/apache/bin/apxs $APACHE_DIR=/opt/apache : Apache2::Request2.13libapreq2-2.13.tar.gz downloaded_201012171512 "$PERL_BIN Makefile.PL \ -

Re: Trouble Installing Apache2::Request on Centos 5.5

2011-03-24 Thread André Warnier
Robert D Oden wrote: ... httpd: Syntax error on line 203 of /etc/httpd/conf/httpd.conf: Cannot load /etc/httpd/modules/mod_apreq2.so into server: libapreq2.so.3: cannot open shared object file: No such file or directory The above should give you the key, no ? Do you really have *both* these

Trouble Installing Apache2::Request on Centos 5.5

2011-03-24 Thread Robert D Oden
I have been struggling with getting Apache2::Request (libapreq2-2.13) to run on Centos 5.5. Apache was installed during OS install. Apache2::Request was downloaded, built, tested, and installed successfully. perl Makefile.PL --with-apache2-apxs=/usr/sbin/apxs All dependencies satisfied

Re: failure to build Apache2::Request

2011-01-31 Thread William Bulley
According to Joe Schaefer on Sun, 01/30/11 at 12:36: > > FreeBSD has a port for www/p5-libapreq2 THANK YOU! :-) I had looked for Apache2 and Request (case sensitive) in /usr/ports and finding none was forced to consider CPAN modules. I would have never thought to have looked for (lowerca

Re: failure to build Apache2::Request

2011-01-30 Thread Joe Schaefer
FreeBSD has a port for www/p5-libapreq2 - Original Message > From: William Bulley > To: modperl@perl.apache.org > Cc: Issac Goldstand > Sent: Thu, January 27, 2011 2:16:45 PM > Subject: failure to build Apache2::Request > > According to Issac Goldstand on Thu

failure to build Apache2::Request

2011-01-30 Thread William Bulley
does need mod_perl (unless you > > > want to disable the Perl glue, which judging by your getting it from > > > CPAN, I assume you want). The reason is that the APR C library Perl > > > glue, needed by the apreq Perl glue (aka Apache2::Request) is bundled in > > > mod

Re: Apache2::Request::param returns () despite parameters in URI, but only under Strawberry Perl

2010-11-11 Thread Kevin Field
> > > This is a cross-post from StackOverflow. > > URL? > Sorry: http://stackoverflow.com/questions/4140868/apache2requestparam-returns-despite-parameters-in-uri-but-only-under-stra > A bug in the Apache2::Request/mod_apreq2 version shipping with > Strawberry? Seems unli

Re: Apache2::Request::param returns () despite parameters in URI, but only under Strawberry Perl

2010-11-11 Thread Michael Ludwig
> "/?login=0", "login", "No error" at C:/myweb/index.pl line 10. > > So I know my login parameter is making it in at some point under > Strawberry, because the unparsed URI contains it. Why is it then not > being parsed correctly? A bug in th

Apache2::Request::param returns () despite parameters in URI, but only under Strawberry Perl

2010-11-11 Thread Kevin Field
cript being run is: ### use strict; use warnings FATAL => 'all'; use 5.01; my $r = shift; use Apache2::Request; my $req = Apache2::Request->new($r); use Data::Dump qq(pp); die pp($req->unparsed_uri) . ', ' . pp($req->param) . ', ' . pp($req->a

Re: Apache2::Request->param fails with POST

2009-10-22 Thread Ryan Gies
ail): Password: on the server side.. I have the following code... use Apache2::Request; use Apache2::SubRequest; use Apache2::RequestRec (); use Apache2::Upload; use Apache2::URI; my $r = shift; my $req = Apache2::Request->new($r); #Get the Query

Re: Apache2::Request->param fails with POST

2009-10-22 Thread Adam Prime
It seems like your libapreq install is broken or something. Did it pass all the tests when you built it? Adam nmittal wrote: I have tried that but it still doesnt work. I even tried to POST an empty form (with no GET or POST params) with same results Michael Peters wrote: On 10/21/2009 06:

Re: Apache2::Request->param fails with POST

2009-10-22 Thread nmittal
I have tried that but it still doesnt work. I even tried to POST an empty form (with no GET or POST params) with same results Michael Peters wrote: > > On 10/21/2009 06:12 PM, nmittal wrote: >> Hi I am using Apache2.2 and mod_perl. I have a login page that POSTs to >> an >> authentication scrip

Re: Apache2::Request->param fails with POST

2009-10-22 Thread Michael Peters
On 10/21/2009 06:12 PM, nmittal wrote: Hi I am using Apache2.2 and mod_perl. I have a login page that POSTs to an authentication script. Try not mixing GET and POST parameters. Put that sid as a hidden input in the form instead of a GET parameter on the query string? Technically you're not s

Re: Apache2::Request->param fails with POST

2009-10-21 Thread nmittal
STs to >> an >> authentication script. >> > action="/authenticate?sid=06eff4cdc3231db0236cdbe2c51e6618"> >> >> >> User(or email): >> >> >> Password: >> >> >> >> >> o

Re: Apache2::Request->param fails with POST

2009-10-21 Thread Adam Prime
nmittal wrote: Hi I am using Apache2.2 and mod_perl. I have a login page that POSTs to an authentication script. action="/authenticate?sid=06eff4cdc3231db0236cdbe2c51e6618"> User(or email): Password: on the server side.. I have the following code... use Apa

Apache2::Request->param fails with POST

2009-10-21 Thread nmittal
Hi I am using Apache2.2 and mod_perl. I have a login page that POSTs to an authentication script. User(or email): Password: on the server side.. I have the following code... use Apache2::Request; use Apache2::SubRequest; use Apache2

Re: Confusion over Apache2::Request and Apache2::RequestRec

2009-08-20 Thread Joe Schaefer
Apache2::Request is a derived class of Apache2::RequestRec, so what you're doing is perfectly ok. > >From: Douglas Sims >To: modperl >Sent: Thursday, August 20, 2009 3:20:59 AM >Subject: Confusion over Apache2::Request and Apache2::RequestRec > > >I'm confus

Confusion over Apache2::Request and Apache2::RequestRec

2009-08-20 Thread Douglas Sims
I'm confused about something and I wonder if anyone can help me to understand what's going on. The code shown below works fine but as I was looking over this before changing something else I realized that it probably shouldn't. I'm using an Apache2::Request object to return

Re: Issue with Apache2::Request

2009-07-27 Thread André Warnier
e2-request-perl" (install of Apache2::Request) - does install the module mod_apreq2.so in modules/ - creates a config file "apreq.load" in /etc/apache2/mods_available containing the proper line LoadModule apreq_module /usr/lib/apache2/modules/mod_apreq2.so but /does not/ install a link to i

Re: Issue with Apache2::Request

2009-07-27 Thread Fred Moyer
r: > /usr/lib/perl5/auto/APR/Request/Apache2/Apache2.so: undefined symbol: > apreq_handle_apache2 I think you may need this line in your httpd.conf: LoadModule apreq_modulemodules/mod_apreq2.so > > That happens apparently as soon as a module tries to "use" Apache2::Req

Issue with Apache2::Request

2009-07-27 Thread André Warnier
: apreq_handle_apache2 That happens apparently as soon as a module tries to "use" Apache2::Request. Apache and mod_perl run fine as long as I don't use Apache2::Request. I get the same error, whether Apache 2.2.9 is MPM-prefork or MPM-worker. The installation/de-installation/re-installation of the

Re: cannot install Apache2::Request from CPAN

2009-04-01 Thread Mark Hedges
On Tue, 31 Mar 2009, Mark Hedges wrote: > On Tue, 31 Mar 2009, Fred Moyer wrote: > > > Do you have /usr/lib64 in your /etc/ld.so.conf? Been a > > while since I've done 64 bit but that always seemed to > > be the issue. Run ldconfig if needed after you add it. > > Nope. I added . Same error: >

Re: cannot install Apache2::Request from CPAN

2009-03-31 Thread Mark Hedges
I still have the problem that I can't install Apache2::Request from CPAN. Was I not able to do that before, after installing apr-dev yum packages etc.? On Tue, 31 Mar 2009, Fred Moyer wrote: > Do you have /usr/lib64 in your /etc/ld.so.conf? Been a > while since I've done

Re: cannot install Apache2::Request from CPAN

2009-03-31 Thread Fred Moyer
On Tue, Mar 31, 2009 at 10:00 PM, Mark Hedges wrote: > > I can build libapreq2-2.12 from source on an i386 machine > but not on an x86_64 virtualhost both run CentOS 5.?. Do you have /usr/lib64 in your /etc/ld.so.conf? Been a while since I've done 64 bit but that always seemed to be the issue.

Re: cannot install Apache2::Request from CPAN

2009-03-31 Thread Mark Hedges
I can build libapreq2-2.12 from source on an i386 machine but not on an x86_64 virtualhost both run CentOS 5.?. gcc -shared .libs/util.o .libs/version.o .libs/cookie.o .libs/param.o .libs/parser.o .libs/parser_urlencoded.o .libs/parser_header.o .libs/parser_multipart.o .libs/module.o .libs/mod

cannot install Apache2::Request from CPAN

2009-03-31 Thread Mark Hedges
am$ sudo su - [r...@anubis ~]# perl -MCPAN -e shell cpan shell -- CPAN exploration and modules installation (v1.9304) ReadLine support enabled cpan[1]> install Apache2::Request CPAN: Storabl

Re: Apache2::Request in PerlInitHandler and PerlAuthenHandler

2008-10-20 Thread Shibi NS
Thanks All for the valuable suggestions.my $cgi = CGI->new($req); fixed my issue :) On Thu, Oct 16, 2008 at 2:04 AM, Perrin Harkins <[EMAIL PROTECTED]> wrote: > On Wed, Oct 15, 2008 at 2:44 AM, Shibi NS <[EMAIL PROTECTED]> wrote: > > CGI.pm version 3.15 > > Update. > > - Perrin > -- --Shi

Re: Apache2::Request in PerlInitHandler and PerlAuthenHandler

2008-10-15 Thread Perrin Harkins
On Wed, Oct 15, 2008 at 2:44 AM, Shibi NS <[EMAIL PROTECTED]> wrote: > CGI.pm version 3.15 Update. - Perrin

Re: Apache2::Request in PerlInitHandler and PerlAuthenHandler

2008-10-14 Thread Shibi NS
Sorry I forgot this info, platform (Unix) : Red Hat Enterprise Linux AS release 3 (Taroon Update 8) Apache/2.2.9 mod_perl/2.0.4 CGI.pm version 3.15 Shibi Ns Perl/v5.8.8 On Tue, Oct 14, 2008 at 2:42 PM, André Warnier <[EMAIL PROTECTED]> wrote: > Hi. > > It usually helps for any kind of support

Re: Apache2::Request in PerlInitHandler and PerlAuthenHandler

2008-10-14 Thread Perrin Harkins
On Tue, Oct 14, 2008 at 4:28 AM, Shibi NS <[EMAIL PROTECTED]> wrote: > my $req_params = $req->args; > my $cgi= CGI->new($req_params); There's no need to do that. Just call CGI->new(). And make sure you have the latest version of CGI.pm from CPAN. - Perrin

Re: Apache2::Request in PerlInitHandler and PerlAuthenHandler

2008-10-14 Thread André Warnier
line number 354 of CGI which is $req->subprocess_env; Error from log file Warning: Deep recursion on subroutine "CGI::new" at /m/isd/pm/ARULink/MetalinkAuth.pm line 114. Don't know about CGI in this context but is there any chance to switch to Apache2::Request (libapreq2)? If

Re: Apache2::Request in PerlInitHandler and PerlAuthenHandler

2008-10-14 Thread Torsten Foertsch
gt; application is spinning ,seems like $req->args is returning null and > application line number 354 of CGI which is $req->subprocess_env; > > Error from log file > > Warning: > Deep recursion on subroutine "CGI::new" at > /m/isd/pm/ARULink/MetalinkAuth.pm line 1

Re: Apache2::Request in PerlInitHandler and PerlAuthenHandler

2008-10-14 Thread André Warnier
Hi. It usually helps for any kind of support issue, if you provide some information about where this is happening : what platform, which Apache version, which perl version, which mod_perl version, etc.. Now, below : > SetHandler perl-script is used when your purpose is to run a "

Apache2::Request in PerlInitHandler and PerlAuthenHandler

2008-10-14 Thread Shibi NS
I have following Location directive in my applications conf file PerlInitHandler ARULink::setup_request SetHandler perl-script PerlResponseHandler ARULink::handler PerlOptions +ParseHeaders +GlobalRequest Options ExecCGI AuthName

Re: Using "generic" POST parser in Apache2::Request

2008-09-10 Thread Srebrenko Sehic
On Wed, Sep 10, 2008 at 12:39 PM, Ryan Gies <[EMAIL PROTECTED]> wrote: > Hopefully someone will respond who has experience with libapreq2's hook > API. The below example (libapreq2 not used) which decodes JSON (not > XML) may provide some insight or a temporary solution. Thanks. I'm aware of th

Re: Using "generic" POST parser in Apache2::Request

2008-09-10 Thread Ryan Gies
On Wed, 10 Sep 2008 09:07:38 +0200 Srebrenko wrote: > Hi list, > > I'm trying to use libapreq2/Apache2::Request to access the POST > body/payload under mod_perl2. According to the docs, one can > potentially use APR::Request::Parser custom/generic to achieve this. > What I

Using "generic" POST parser in Apache2::Request

2008-09-10 Thread Srebrenko Sehic
Hi list, I'm trying to use libapreq2/Apache2::Request to access the POST body/payload under mod_perl2. According to the docs, one can potentially use APR::Request::Parser custom/generic to achieve this. What I'm trying to do is have Apache2::Request process POST payloads with &qu

RE: Apache2::Request undefined symbol

2008-07-09 Thread Paul Cameron
n; modperl@perl.apache.org Subject: Re: Apache2::Request undefined symbol Mark Hedges wrote: > That's a normal thing. All installed modules put their config into > mods-available. Then you use `a2enmod` to manage those symlinks and > turn them on or off in mods-enabled. +1 I believe all De

Re: Apache2::Request undefined symbol

2008-07-09 Thread Colin Wetherbee
Mark Hedges wrote: That's a normal thing. All installed modules put their config into mods-available. Then you use `a2enmod` to manage those symlinks and turn them on or off in mods-enabled. +1 I believe all Debian-based distributions have done this with Apache 2 for a few years now. It s

RE: Apache2::Request undefined symbol

2008-07-07 Thread Mark Hedges
7;t load mod_apreq2.so. > > Thanks for your help, anyway. > > -Original Message- > From: Heiko Jansen [mailto:[EMAIL PROTECTED] > Sent: Monday, 7 July 2008 5:15 PM > To: modperl@perl.apache.org > Subject: Re: Apache2::Request undefined symbol > > > > Am M

RE: Apache2::Request undefined symbol

2008-07-07 Thread Paul Cameron
en the server started, it didn't load mod_apreq2.so. Thanks for your help, anyway. -Original Message- From: Heiko Jansen [mailto:[EMAIL PROTECTED] Sent: Monday, 7 July 2008 5:15 PM To: modperl@perl.apache.org Subject: Re: Apache2::Request undefined symbol Am Montag, den 07.07.2008, 08

Re: Apache2::Request undefined symbol

2008-07-07 Thread Heiko Jansen
Am Montag, den 07.07.2008, 08:31 +1000 schrieb Paul Cameron: > I installed the library package 'libapreq2' on an Ubuntu 7.10 distro, > and tried dereferencing the 'Apache2::Request' module in a mod_perl > script, but it crashed with '/usr/sbin/apache2: symbol l

Apache2::Request undefined symbol

2008-07-06 Thread Paul Cameron
I installed the library package 'libapreq2' on an Ubuntu 7.10 distro, and tried dereferencing the 'Apache2::Request' module in a mod_perl script, but it crashed with '/usr/sbin/apache2: symbol lookup error: /usr/lib/perl5/auto/APR/Request/Apache2/Apa

Apache2::Request error ...

2008-05-25 Thread mome
strict; #use CGI qw(:standard); #use Apache::Request (); use Apache2::Request; my $r = shift; my $req = Apache2::Request->new($r); ... , I learned that "my $req = Apache2::Request->new($r);" cause such error but couldn't find the solution. Please advise. Thanks PA -- View th

Re: Post data with Apache2::Request

2008-05-25 Thread Ben van Staveren
e's trying to read post form data using Apache2::Request, whole different end of the spectrum there sonny :) smime.p7s Description: S/MIME cryptographic signature

Re: Post data with Apache2::Request

2008-05-25 Thread Foo JH
kropotkin wrote: Hi I am trying to obtain POST data from a form. Try LWP::UserAgent to post forms instead. It's quite easy to use.

Re: Post data with Apache2::Request

2008-05-25 Thread kropotkin
il = $req->params('email'); >> >>> >>> My form contains a field called 'email'. >>> >>> However no data. >>> >>> The line: print $req->body_status(); outputs 'SUCCESS' seeming to >>> indicate >>

Re: Post data with Apache2::Request

2008-05-25 Thread kropotkin
GET data. Looks like back to CGI.pm. regards Kropotkin Tyler Gee wrote: > > On Sat, May 24, 2008 at 4:57 PM, kropotkin <[EMAIL PROTECTED]> > wrote: >> >> Hi >> >> I am trying to obtain POST data from a form. >> >> I have these lines

Re: Post data with Apache2::Request

2008-05-25 Thread Tyler Gee
On Sat, May 24, 2008 at 4:57 PM, kropotkin <[EMAIL PROTECTED]> wrote: > > Hi > > I am trying to obtain POST data from a form. > > I have these lines: > > my $req = Apache2::Request->new($r); > my $email = $req->body('email'); my $email = $req->p

Post data with Apache2::Request

2008-05-24 Thread kropotkin
Hi I am trying to obtain POST data from a form. I have these lines: my $req = Apache2::Request->new($r); my $email = $req->body('email'); My form contains a field called 'email'. However no data. The line: print $req->body_status(); outputs 'SUCCESS'

Re: Apache2::Request

2008-05-23 Thread John Drago
--- [EMAIL PROTECTED] wrote: > Quoting xyon <[EMAIL PROTECTED]>: > > > Shouldn't it be: > > > > sub my_handler { > > my $r = shift; > >my $req = Apache2::Request->new($r, POST_MAX => > "1M"); > > ... > > >

Re: Apache2::Request

2008-05-23 Thread Perrin Harkins
On Fri, May 23, 2008 at 4:49 AM, mome <[EMAIL PROTECTED]> wrote: > I tried the following line without success > > sub my_handler { > my $self = shift; > my $r = shift; > my $req = Apache2::Request->new($r, POST_MAX => "1M"); You only want that addi

Re: Apache2::Request

2008-05-23 Thread adam . prime
Quoting xyon <[EMAIL PROTECTED]>: Shouldn't it be: sub my_handler { my $r = shift; my $req = Apache2::Request->new($r, POST_MAX => "1M"); ... Provided that you've actually installed libapreq (http://httpd.apache.org/apreq/), that should work.

Re: Apache2::Request

2008-05-23 Thread xyon
Shouldn't it be: sub my_handler { my $r = shift; my $req = Apache2::Request->new($r, POST_MAX => "1M"); ... On Friday 23 May 2008 04:49:55 mome wrote: > Hi, > > I am trying to use mod_perl2 with Apache2::Request. My intention is to get > parameter valu

Apache2::Request

2008-05-23 Thread mome
Hi, I am trying to use mod_perl2 with Apache2::Request. My intention is to get parameter value of post method. As described in its document and previouse threads said to cache the data with post method... "....Use Apache2::Request in the auth handler, and apreq will do the SOMETHING you

Re: Trying to configure Apache2::Request

2008-02-10 Thread Perrin Harkins
On Feb 10, 2008 12:14 PM, Mag Gam <[EMAIL PROTECTED]> wrote: > my Apache2::Request $r = shift; > Tells the Perl compiler to expect an object in the C > class to be assigned to C<$r>. A patch has already been submitted to > use this information so method calls can be

Re: Trying to configure Apache2::Request

2008-02-10 Thread Mag Gam
information required for method look ups that are only known at runtime. To work around this, compile-time hints can be used, for example: my Apache2::Request $r = shift; Tells the Perl compiler to expect an object in the C class to be assigned to C<$r>. A patch has already been submitted

Re: Trying to configure Apache2::Request

2008-02-10 Thread Perrin Harkins
On Feb 10, 2008 1:57 AM, Mag Gam <[EMAIL PROTECTED]> wrote: > doc.pl looks like this: > #!/usr/bin/perl -w > use strict; > use CGI; > use APR::Request::Apache2 (); > > > print "Content-type: text/html\n\n"; > print "Hello"; my $r = shift;

Trying to configure Apache2::Request

2008-02-09 Thread Mag Gam
I have installed Apache2::Request via CPAN, but i keep getting this message in my error_log [error] Global symbol "$r" requires explicit package name at /var/www/perl/doc.pl line 10.\n Apache configuration looks like this: LoadModule perl_module modules/mod_perl.so LoadModule ap

Re: Unqualified segmentation fault from Apache2::Request->new()

2007-12-05 Thread Colin Wetherbee
Colin Wetherbee wrote: use Apache2::RequestRec; use Apache2::Const -compile => qw(OK); To be clear, this also occurs with 'use Apache2::Request' at the top. :) Colin

Unqualified segmentation fault from Apache2::Request->new()

2007-12-05 Thread Colin Wetherbee
Greetings. I accidentally made the mistake of calling Apache2::Request->new() without passing $r, and it turns out that causes Apache to segfault and not return anything to the browser. I'm only pointing this out because it seems like there should be a more graceful way of handl

Re: Apache2::Request->new fails silently?

2007-06-26 Thread Eric Adum
Ack -- ignore that, problem solved. I wasn't loading the apreq2 module in my apache2.conf file. On 6/26/07, Eric Adum <[EMAIL PROTECTED]> wrote: Hi, I'm trying to write a handler for mod_perl 2.0. I have a sub of the form sub handler { my $r = shift; my $req = Apache2:

Apache2::Request->new fails silently?

2007-06-26 Thread Eric Adum
Hi, I'm trying to write a handler for mod_perl 2.0. I have a sub of the form sub handler { my $r = shift; my $req = Apache2::Request->new($r); print "Something."; return Apache2::Const::OK(); } When I go to the URL associated with the handler, I get a blank page, no

Re: Apache2::Request install

2007-06-13 Thread Silent
2007/6/13, Jeff Pang <[EMAIL PROTECTED]>: hello, When I installed Apache2::Request (without make test) and rut it I got the errors: [EMAIL PROTECTED] libapreq2-2.08]# perl -MApache2::Request -e '' Can't load '/usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi/a

Re: Apache2::Request install

2007-06-13 Thread Jonathan Vanasco
l for long time.But couldn't upgrade to MP2 and Apache2::Request.:( apache drops to nobody, so thats fine. what was the error ? why did it fail ? // Jonathan Vanasco | - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Re: Apache2::Request install

2007-06-13 Thread Jeff Pang
Jonathan Vanasco 写道: On Jun 13, 2007, at 5:44 AM, Jeff Pang wrote: When I installed Apache2::Request (without make test) and rut it I got the errors: at the risk of stating the obvious... what happens why you run make test ? It said I was making test with root identify,but Apache would

  1   2   >