RE: internal_redirect and returns

2003-03-06 Thread Gareth Kirwan
] Subject: Re: internal_redirect and returns [snip] I use this subroutine: sub let_through { my ($self, $r, $p) = @_; $r-set_handlers( PerlAuthzHandler = [\OK] ); $r-set_handlers( PerlAuthenHandler = [\OK] ); $p $r-internal_redirect( $p

Re: internal_redirect and returns

2003-03-05 Thread Geoffrey Young
[snip] I use this subroutine: sub let_through { my ($self, $r, $p) = @_; $r-set_handlers( PerlAuthzHandler = [\OK] ); $r-set_handlers( PerlAuthenHandler = [\OK] ); $p $r-internal_redirect( $p ); return OK; } And under some circumstances might call:

RE: internal_redirect

2001-04-03 Thread Rob Bloodgood
I'm trying to handle an exception using an internal_redirect. I can get it to work by redirecting to a static page, but when I try to redirect to a modperl handler, I'm run into problems. Here are the two versions of code (BTW, the handler works fine when I access it directly via the

Re: internal_redirect

2001-04-03 Thread Jim Lambert
Rob, thanks for pointing me in the right direction. Your advise helped me find a solution that works for my situation. I'm working on an API that sits between an Oracle DB and bunch of web application programmers. Unfortunately, the programmers run their apps under a variety of perl-handlers

RE: internal_redirect

2001-04-03 Thread Rob Bloodgood
Rob, thanks for pointing me in the right direction. Your advise helped me find a solution that works for my situation. You're welcome! I'm working on an API that sits between an Oracle DB and bunch of web application programmers. Unfortunately, the programmers run their apps under a

Re: internal_redirect

2000-09-06 Thread Differentiated Software Solutions Pvt. Ltd
e the same. - Original Message - From: Ken Williams [EMAIL PROTECTED] To: Differentiated Software Solutions Pvt. Ltd [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Tuesday, September 05, 2000 8:01 PM Subject: Re: internal_redirect [EMAIL PROTECTED] (Differentiated Software Solutions Pvt. Ltd)

Re: internal_redirect

2000-09-05 Thread Ken Williams
[EMAIL PROTECTED] (Differentiated Software Solutions Pvt. Ltd) wrote: Hi, The following code is not working. use Apache; Apache-Request-internal_redirect('http://192.168.1.2/smg/html/adcept_logo.gif'); The error is: Can't locate object method "Request" via package "Apache" at ./test.cgi

Re: internal_redirect

2000-09-05 Thread Rob Tanner
--On 09/05/00 01:23:04 -0500 Ken Williams [EMAIL PROTECTED] wrote: [EMAIL PROTECTED] (Differentiated Software Solutions Pvt. Ltd) wrote: Hi, The following code is not working. use Apache; Apache-Request-internal_redirect('http://192.168.1.2/smg/html/adce pt_logo.gif'); The error

Re: internal_redirect

2000-09-05 Thread Jules Cisek
it's Apacherequest (lowercase) - Original Message - From: Differentiated Software Solutions Pvt. Ltd To: [EMAIL PROTECTED] Sent: Monday, September 04, 2000 10:52 PM Subject: internal_redirect Hi, The following code is not working. use Apache;

Re: internal_redirect

2000-09-05 Thread Differentiated Software Solutions Pvt. Ltd
" via package "Apache" at ./test1.pl line 5. Help please. Muthu Ganesg - Original Message - From: Rob Tanner [EMAIL PROTECTED] To: Ken Williams [EMAIL PROTECTED]; Differentiated Software Solutions Pvt. Ltd [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Tuesday, September 05, 2000

Re: internal_redirect

2000-09-05 Thread Stas Bekman
On Tue, 5 Sep 2000, Matt Sergeant wrote: On Tue, 5 Sep 2000, Differentiated Software Solutions Pvt. Ltd wrote: Hi, We corrected R to r. Problem still remains. We ran this program as a standalone perl program and even this bombs. Code as follows. #!/usr/bin/perl my $r; use

Re: internal_redirect

2000-09-05 Thread Ken Williams
[EMAIL PROTECTED] (Differentiated Software Solutions Pvt. Ltd) wrote: We corrected R to r. Problem still remains. We ran this program as a standalone perl program and even this bombs. Code as follows. #!/usr/bin/perl my $r; use Apache (); Apache-request($r); $r-internal_redirect('hello.html');

RE: internal_redirect

2000-04-10 Thread Eric Cholet
Hi All I have a module that displays a selection of FORMs for the user to pick from. The FORMs have TARGET='_BLANK'. The submitted form data is sent to a different module which parses the data and uses 'open' to call an external perl script to generate a file and returns the full disk path

Re: internal_redirect and POST

1999-10-27 Thread Dmitry Beransky
Yes, I agree. But as (I thought) I had mentioned in an early post, it should be possible to turn on this caching behavior for each individual request before a call to $r-content or $r-read. Cheers Dmitry On 28 Oct 1999, Greg Stark wrote: That makes sense for small pieces of data such as

RE: internal_redirect and POST

1999-10-11 Thread Dmitry Beransky
My apologies for continuing this topic, but I've been thinking some more about this issue over the weekend. I'm still perplexed by this seemingly arbitrary limitation on the number of times a request body can be read. It seems that, at least theoretically, it should be possible to cache the

Re: internal_redirect and POST

1999-10-11 Thread James G Smith
Dmitry Beransky [EMAIL PROTECTED] wrote: My apologies for continuing this topic, but I've been thinking some more about this issue over the weekend. I'm still perplexed by this seemingly arbitrary limitation on the number of times a request body can be read. It seems that, at least

Re: internal_redirect and POST

1999-10-08 Thread Andrei A. Voropaev
On Fri, Oct 08, 1999 at 09:39:30AM +0200, Eric Cholet wrote: On Friday, October 08, 1999 3:35 AM, Dmitry Beransky [SMTP:[EMAIL PROTECTED]] wrote: I've been playing around with internal redirects of POST requests. They seem to work fine as long as I don't call Apache::content() or any other

RE: internal_redirect and POST

1999-10-08 Thread Eric Cholet
On Friday, October 08, 1999 3:35 PM, Andrei A. Voropaev [SMTP:[EMAIL PROTECTED]] wrote: On Fri, Oct 08, 1999 at 09:39:30AM +0200, Eric Cholet wrote: On Friday, October 08, 1999 3:35 AM, Dmitry Beransky [SMTP:[EMAIL PROTECTED]] wrote: I've been playing around with internal redirects of