Install libapreq2, which emulates the CGI->param() method. Depending how
refactored your existing codes are, you may not need to rework much.
[EMAIL PROTECTED] wrote:
I'll admit that I'm a mod_perl newbie. I've always just used plain
ol' CGI scripts in the past. Obviously I have relied's up
No problem Lin - I'll post a URL soon!
Lin wrote:
Hi John,
The custom config directives take a bit of time to figure out but I'm
happy to send source code off list.
Why not in-list? I'm interested and there might be others.
Cheers,
Lin
Hi John,
The custom config directives take a bit of time to figure out but I'm
happy to send source code off list.
Why not in-list? I'm interested and there might be others.
Cheers,
Lin
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(exists($hashMap{'SSOTokenID'})) condition fails. Does it have
anything
On 2/20/07, Sumit Shah <[EMAIL PROTECTED]> 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(exists($hashMap{'SSOTokenID'})) condition
I just realised you're talking per-real-server not per-virtual-server,
in which case you could make a custom directive or a PerlSetVar outside
of a .
The custom config directives take a bit of time to figure out but I'm
happy to send source code off list.
cheers
John
Jonathan Vanasco 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(exists($hashMap{'SSOTokenID'})) condition fails. Does it have
anything to do with data typ
Jonathan Vanasco wrote:
I'm trying to figure out a way to store them in a semi-standard manner.
The only thing i can think of right now, is writing a 'server root'
variable for the dir in which I am installing my mp app, and reading
it based on that.
Not sure if this'll help but for virtual-se
I don't think this is possible, but I need to give it a shot:
I'm doing some work with Imager under mp2. There are some fonts and
image files that I need.
I'm trying to figure out a way to store them in a semi-standard manner.
The only thing i can think of right now, is writing a 'server r
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
Sumit Shah wrote:
> Thanks. Yes, my handler gets invoked when I set it up as
> PerlAccessHandler or PerlAuthenHandler but does not fetch any cookies. I
> am not sure if it has anything to do with the requests (.jsp files) its
> handling.
My guess is that something else is running first and consu
Thanks. Yes, my handler gets invoked when I set it up as
PerlAccessHandler or PerlAuthenHandler but does not fetch any cookies. I
am not sure if it has anything to do with the requests (.jsp files) its
handling.
I will try to dump the headers and see what it gets.
Thanks
Sumit
Perrin Harkins
On Tue, 20 Feb 2007 13:58:51 -0600
[EMAIL PROTECTED] wrote:
> I'll admit that I'm a mod_perl newbie. I've always just used plain
> ol' CGI scripts in the past. Obviously I have relied's upon CGI's
> param() method to get form parameters. Looking around the
> documentation, I can see how to do t
On Feb 20, 2007, at 4:02 PM, John ORourke wrote:
I'm sure you're aware of the accessibility implications of server-
side image maps and you have a valid reason for using these
travesties of useability, so...
yep :)
I'd recommend just running the unparsed URI past a regex - like
good ide
On Feb 20, 2007, at 4:03 PM, Perrin Harkins wrote:
On 2/20/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
Gotcha. However, restarting apache doesn't seem to do the trick.
Is it maybe unrelated to Apache2::Reload?
Make sure that you're only running 1 server instance ( maxclients =
1 )
On 2/20/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
Gotcha. However, restarting apache doesn't seem to do the trick. Is it maybe
unrelated to Apache2::Reload?
If stopping and starting apache doesn't pick up your changes,
something is seriously wrong. You might be looking at the wrong
a
Jonathan Vanasco wrote:
On Feb 20, 2007, at 3:56 PM, Robert Landrum wrote:
The short answer is: don't use server side image maps.
That's not an option. I need to catch the xy on a gif.
And yes, the long answer is to parse the URI yourself.
arhh. ok. already doing that , but ok.
Hi Jonathan,
Jonathan Vanasco wrote:
I've got a question about Server Side image maps
I'm sure you're aware of the accessibility implications of server-side
image maps and you have a valid reason for using these travesties of
useability, so...
How can I reliably catch this under libapreq
[EMAIL PROTECTED] wrote:
This is getting very frustrating, so I guess I should ask about this
before I scrap the whole project and go back to CGI.
I'm using Apache::Reload during development since I'm constantly making
changes to code. However, it does not appear to be working right.
Is t
Gotcha. However, restarting apache doesn't seem to do the trick. Is it
maybe unrelated to Apache2::Reload?
I've noticed that if I go through and make a LOT of changes (commenting
stuff out), then go back and undo my changes to get me back to square one,
that sometimes fixes it. However, 5 -
I'll admit that I'm a mod_perl newbie. I've always just used plain ol'
CGI scripts in the past. Obviously I have relied's upon CGI's param()
method to get form parameters. Looking around the documentation, I can
see how to do the equivalent using mod_perl, but nothing with mod_perl 2.
In fac
On Feb 20, 2007, at 3:56 PM, Robert Landrum wrote:
The short answer is: don't use server side image maps.
That's not an option. I need to catch the xy on a gif.
And yes, the long answer is to parse the URI yourself.
arhh. ok. already doing that , but ok.
thanks.
// Jonathan Vanasc
There is no such thing as reloading modules in Perl. Apache2::Reload
makes a pretty good try at it, but it can never work perfectly since
there is no language support for this feature. Usually, I just
restart the server when I make a change. It only takes a couple of
seconds.
At my current job
Jonathan Vanasco wrote:
How can I reliably catch this under libapreq / cgi ? ( the former for
current use, the latter just-for-kicks )
As far as libapreq is concerned, I can't find any way -- it seems to be
an odd special-case html spec.
The short answer is: don't use server side image map
This is getting very frustrating, so I guess I should ask about this
before I scrap the whole project and go back to CGI.
I'm using Apache::Reload during development since I'm constantly making
changes to code. However, it does not appear to be working right.
Let's say I'll have a handler that
I've got a question about Server Side image maps
Going through the HTML spec...
http://www.w3.org/TR/html401/struct/objects.html#h-13.6.2
The location clicked is passed to the server as follows. The user
agent derives a new URI from the URI specified by the href attribute
of
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 phase. And I assume you'r
See Apache2::Request.
- Original Message -
From: [EMAIL PROTECTED]
To: modperl@perl.apache.org
Sent: Tuesday, February 20, 2007 2:58 PM
Subject: mod_perl 2 and Forms?
I'll admit that I'm a mod_perl newbie. I've always just used plain ol' CGI
scripts in the past. Obviou
On 2/20/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
So here's the basic question. What method(s) do I use in standard mod_perl
2 modules to perform tasks similar to CGI.pm's param() method?
CGI.pm works fine and is not a kludge. If you want something faster
and lighter, Apache2::Request
On 2/19/07, aqua <[EMAIL PROTECTED]> wrote:
Could you please let me know if there are any simple sample (complete)
application available on the net with a HTML form and update the same in a
(MySQL) database.
This is a good place to look:
http://perl.apache.org/products/
- Perrin
Sumit,
Fetching the cookie has nothing to do with the Perl handlers. They are
setting the cookie. You could check this with a small program such as:
#!/point/to/your/perl -T
include CGI;
use vars qw{$query}; #
use vars qw{$cookie};
$query = new CGI;
$cookie = $query->cookie("YOUR COOKIE NAME") ||
Hello,
I did a small test to see if I can fetch the cookies without using
PerlAccessHandler and PerlAuthenHandler. I was able to fetch the cookies
using the following directive:
*SetHandler perl-script
PerlHandler CAS::SSO
*
and NOT if I use the following:
*
PerlAcc
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 Sha
33 matches
Mail list logo