I am getting a similar problem. Its invoking my handler twice for the
same request. I am using PerlAccessHandler.
Thanks
Sumit
Robert Landrum wrote:
Hadmut Danisch wrote:
For some reason the module is called twice for every request.
Is this a HEAD/GET problem? Maybe you're seeing the brows
Thanks Robert. That did the trick.
Sumit
Robert Landrum wrote:
Sumit Shah wrote:
I printed out the contents of the Cookie attribute in the request
header and I can see the cookie present in the header. I read all the
contents into a hash and then try to check for its existence. The
if
token;
if (exists($hashMap{'SSOTokenID'})) {
# it exists
$log->error("Token found");
$token=$hashMap{'SSOTokenID'};
}else {
$log->error("Token NOT Found");
}
Thanks
Sumit
Sumit Shah wrote:
The jsp pages a
The jsp pages are also handled by JSERV. I am not sure if JSERV is
kicking in and consuming the headers. Is there a way to check which
module is being executed and in what order?
Thanks
Sumit
Michael Peters wrote:
Sumit Shah wrote:
Thanks. Yes, my handler gets invoked when I set it up as
Harkins wrote:
On 2/20/07, Sumit Shah <[EMAIL PROTECTED]> wrote:
I did a small test to see if I can fetch the cookies without using
PerlAccessHandler and PerlAuthenHandler.
So, you're saying that CGI::Cookie works for you from the PerlHandler
phase but not from the PerlAccessHandler ph
Sumit Shah wrote:
Hello,
I have modified my code to handle such scenarios. But the handler
still fails to fetch the cookies. The browser does pass the cookies. I
can see them in IEHTTPHeaders. I would appreciate if someone could let
me know why this could happen?
Thanks
Sumit
Robert Landrum
Hello,
I have modified my code to handle such scenarios. But the handler still
fails to fetch the cookies. The browser does pass the cookies. I can see
them in IEHTTPHeaders. I would appreciate if someone could let me know
why this could happen?
Thanks
Sumit
Robert Landrum wrote:
Sumit
Sumit
Michael Peters wrote:
Sumit Shah wrote:
Hello,
I have a Mod Perl authentication handler and it needs to retrieve the
session id from a cookie. It is unable to retrieve any cookies and I get
the following error. It does not even print any of the cookies. I would
appreciate any help
Hello,
I have a Mod Perl authentication handler and it needs to retrieve the
session id from a cookie. It is unable to retrieve any cookies and I get
the following error. It does not even print any of the cookies. I would
appreciate any help with this.
Can't call method "value" on an undefin
Hello All,
I am trying to setup my Apache in such a way that for any .jsp requests
it invokes a Perl Handler. After invoking the Perl handler, it should
use the Reverse proxy setup to forward the same request to another server.
Here is my configuration(httpd.conf):
LoadModule proxy_module mo
errin Harkins [mailto:[EMAIL PROTECTED]
> Sent: Thursday, November 16, 2006 3:38 PM
> To: Sumit Shah
> Cc: modperl@perl.apache.org
> Subject: RE: Basic Mod_Perl 1 and Apache 1.3 Issue: Unable to
> get therequested page.
>
> On Thu, 2006-11-16 at 12:50 -0500, Sumit Shah wrote:
>
43-sfsdf-88dsff-fds324-sfsdf2
[Wed Nov 15 16:04:09 2006] [error] [client 38.118.10.237] 3. Proxy URL
==>
http://38.118.10.23:8247/SecurityServices/SSOProxyServlet?ssotoken=3243-
sfsdf-88dsff-fds324-sfsdf2
[Wed Nov 15 16:04:09 2006] [error] [client 38.118.10.237] 3a. out1 ==>
TMILLS
[Wed Nov 15 16:04:09 2006]
with user-space vs kernel space.
Don't know. Just guessing. Does anyone have an idea why it would do
this?
Thanks
Sumit
> -Original Message-
> From: Perrin Harkins [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, November 14, 2006 9:22 PM
> To: Sumit Shah
> Cc: mod
Hello,
I am facing the following issue:
I have installed the following module inside Apache 1.3 using modperl
1 under Oracle 9i Application Server.
package Apache::Proxy;
use mod_perl ();
$VERSION = '1.01';
sub handler{
}
1;
__END__
I have set the following directive/filter
nal Message-
> From: Sumit Shah
> Sent: Tuesday, November 14, 2006 5:56 PM
> To: Sumit Shah; [EMAIL PROTECTED]
> Cc: Dondi M. Stroma; modperl@perl.apache.org
> Subject: RE: Mod_perl and HTTP IO issue
>
>
> Hello,
>
> I have installed the following module
ighly appreciaet any suggestions.
Thanks
Sumit
> -Original Message-
> From: Sumit Shah
> Sent: Monday, November 13, 2006 3:59 PM
> To: [EMAIL PROTECTED]
> Cc: Dondi M. Stroma; modperl@perl.apache.org
> Subject: RE: Mod_perl and HTTP IO issue
>
> Hello,
>
>
ED]
> Sent: Saturday, November 11, 2006 12:25 AM
> To: Sumit Shah
> Cc: Dondi M. Stroma; modperl@perl.apache.org
> Subject: Re: Mod_perl and HTTP IO issue
>
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> On Wed, Nov 08, 2006 at 09:04:36PM -0500, Sumit Shah wrote:
&g
it
> -Original Message-
> From: Dondi M. Stroma [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, November 08, 2006 8:45 PM
> To: Sumit Shah
> Cc: modperl@perl.apache.org
> Subject: Re: Mod_perl and HTTP IO issue
>
> if ($result ="INVALID"){
> Is th
$url1);
$r->status(Apache::Constants::REDIRECT);
return Apache::Constants::REDIRECT;
}
return;
I would appreciate if you could point me to what I am doing wrong.
Thanks
Sumit
> -Original Message-
> From: Sumit Shah
> Sent: Wednesday, November 0
All,
I have a perl handler that invokes a servlet (HTTP IO) running on a
remote server. The servlet returns a single word response (INVALID or
VALID). The handler is supposed to redirect the URL to some other
website. For testing I redirect it to Google.
The handler uses plain Socket implementa
Hello,
I have created a very simple perl module (MyApache2::NewMod) using h2xs
and installed it inside /usr/lib/Perl5.
Following is the source:
#file MyApache2/NewMod
package MyApache2::NewMod;
use strict;
use warnings;
sub handler {
#Open a file for writing
open(FH, "> test.
provide me with filtering capabilities
while MOD_PERL would let me invoke perl script to do the processing.
Please correct me if I am wrong.
Thanks
Sumit
> -Original Message-
> From: Charles Bueche [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, September 06, 2006 10:30 AM
> To: Sum
Hello,
I am very new to MOD_PERL. I am trying to a create a proxy in Apache
using MOD_PERL. I have a perl script that takes an HTTP request
parameter as input and returns appropriate result. I am trying to:
--> get a handle to the HTTP request object,
--> filter it based on static/dynamic content
23 matches
Mail list logo