config? internal_redirect wants internal_re.al

2009-04-21 Thread Mark Copper
Hi, I'm getting the following error in response to a call to internal_redirect of Apache2::SubRequest: Can't locate auto/Apache2/Request/internal_re.al in @INC which, of course, it won't since, on my Debian Lenny system, /usr/lib/perl5/auto/Apache2 doesn't even have a Request subdirectory.

Re: [OT] cannot LoadModule mod_perl on apache2.2

2009-04-21 Thread André Warnier
André Warnier wrote: I strongly suggest that in the process of installing Apache, you pick a sensible installation directory, without spaces in the name, like your prior c:/apache. This will always save you some aggravation at some point, and a lot of quotes always. I can still not figure out

Re: cannot LoadModule mod_perl on apache2.2

2009-04-21 Thread André Warnier
Please, keep these messages on the list. Jeff Zhuk wrote: Andre, 1. you are right about security. I actually have my JBoss running in a different space and only use this directory as static and perl root. I narrowed down the problem of running test.pl by directly providing the first line i

Re: Undefined subroutine error

2009-04-21 Thread Roberto C . Sánchez
On Tue, Apr 21, 2009 at 01:30:58PM -0400, Perrin Harkins wrote: > On Tue, Apr 21, 2009 at 12:22 PM, Roberto C. Sánchez > wrote: > > So, on a lark I tried moving the "PerlModule Example::Image" from the > > .htacess file to the virtual host configuration.  I then restarted > > apache.  So far, it s

Re: finding "context" in mod_perl handler

2009-04-21 Thread David Ihnen
André Warnier wrote: Hi. Supposing I have this kind of setup and then check the var in the handler, but there has to be a better/cleaner way, no ? Thanks André http://perl.apache.org/docs/2.0/api/Apache2/RequestRec.html#C_path_info_ Just get the info from the request object within the hand

Re: finding "context" in mod_perl handler

2009-04-21 Thread Perrin Harkins
On Tue, Apr 21, 2009 at 1:47 PM, Perrin Harkins wrote: > On Tue, Apr 21, 2009 at 6:16 AM, André Warnier wrote: >> I mean, I could do something like respectively >>  PerlSetVar context "location:/xyz" >> and >>  PerlSetVar context "dir:/some/path" >> >> and then check the var in the handler, but t

Re: finding "context" in mod_perl handler

2009-04-21 Thread Perrin Harkins
On Tue, Apr 21, 2009 at 6:16 AM, André Warnier wrote: > I mean, I could do something like respectively >  PerlSetVar context "location:/xyz" > and >  PerlSetVar context "dir:/some/path" > > and then check the var in the handler, but there has to be a better/cleaner > way, no ? That's what I would

Re: Undefined subroutine error

2009-04-21 Thread Perrin Harkins
On Tue, Apr 21, 2009 at 12:22 PM, Roberto C. Sánchez wrote: > So, on a lark I tried moving the "PerlModule Example::Image" from the > .htacess file to the virtual host configuration.  I then restarted > apache.  So far, it seems to have been working for several days.  In the > past, the problem wo

Re: Undefined subroutine error

2009-04-21 Thread Roberto C . Sánchez
On Tue, Apr 14, 2009 at 01:56:57PM -0400, Perrin Harkins wrote: > On Tue, Apr 14, 2009 at 1:34 PM, Roberto C. Sánchez > wrote: > > On Tue, Apr 14, 2009 at 01:21:09PM -0400, Perrin Harkins wrote: > >> On Tue, Apr 14, 2009 at 12:48 PM, Roberto C. Sánchez > >> wrote: > >> > As far as loading the mod

Re: cannot LoadModule mod_perl on apache2.2

2009-04-21 Thread André Warnier
Jeff Zhuk wrote: Andre, Another thing that maybe related: I can start Apache without the line loading the mod_perl Then I would expect that my perl script will be executed. I have these lines in the httpd.conf: Alias /perl/ "C:/Tomcat/webapps" Very bad ! Probably never even gets her

[Fwd: [yapc] Official Call for Proposals for YAPC|10 ends Friday, 24 April 2009]

2009-04-21 Thread Adam Prime
FYI. Original Message Subject: [yapc] Official Call for Proposals for YAPC|10 ends Friday, 24 April 2009 Date: Tue, 21 Apr 2009 11:26:34 -0400 From: Robert Blackwell To: y...@pm.org The official Call for Proposals for YAPC|10 ends Friday, 24 April 2009. http://yapc10.or

Re: finding "context" in mod_perl handler

2009-04-21 Thread Adam Prime
André Warnier wrote: Hi. Supposing I have this kind of setup PerlAuthenhandler My::AuthModule ... ... PerlAuthenhandler My::AuthModule ... and a request is made for "/xyz", and as a result the module is called, is there some way in My::AuthModule::handler(), by which I can find

Re: mod_perl crashes with Perl 5.10

2009-04-21 Thread Jozef Kosoru
Hi Philippe, (Sorry for the delay with my answer - I'll be quick from now on) Thank you for your interest to help me with this crasher. On Tue, Apr 07, 2009 at 22:17:27 -0400, Philippe M. Chiasson wrote: > On 29/3/09 15:30, Jozef Kosoru wrote: > > Hello, > > > > I tested my mod_perl application

finding "context" in mod_perl handler

2009-04-21 Thread André Warnier
Hi. Supposing I have this kind of setup PerlAuthenhandler My::AuthModule ... ... PerlAuthenhandler My::AuthModule ... and a request is made for "/xyz", and as a result the module is called, is there some way in My::AuthModule::handler(), by which I can find out that, in *this* i