Hi all,
A Mod_perl question if I may!
Please shout if I haven't made my situation clear
Application behaviour:
Step 1.
The user requests a page and a Mod_perl script is called.
Step 2.
Based on user input, the script will dynamically 'require' a particular
module. This module calls a
Ben Wilder wrote:
Question:
What with the nature of the statistics I need to call from the compiled
shared objects, I am recompiling the .so files about twice a day (as
situations change). I need to update the .so files and their corresponding
.pm module files.
Does anyone have any
Hello.
I Ran following command on Linux 2.4.21-4.EL i386 GNU/Linux.
perl Makefile.PL MP_APXS2=/usr/local/apache/bin/apxs
It is giving me ..
result..
[warning] You'll need to add the following to httpd.conf:
[warning]
[warning] LoadModule perl_module modules/mod_perl.so
[warning]
[warning]
Thanks Philip,
Your advice is very helpful.
I wonder whether you could help with another question ?
As a follow up to my post earlier today (same scenario):
I have a package that performs the following:
It is used to dynamically require a particular .pm (from a directory of
100s) and call
Anyone have a code snippet of a routine that will parse
both POST and GET user input and place it into a hash?
Thanks!
On Aug 31, 2006, at 11:17 AM, Daniel B. Hemmerich wrote:
Anyone have a code snippet of a routine that will parse both POST
and GET user input and place it into a hash?
libapreq - param ?
Jonathan Vanasco wrote:
On Aug 31, 2006, at 11:17 AM, Daniel B. Hemmerich wrote:
Anyone have a code snippet of a routine that will parse both POST and
GET user input and place it into a hash?
libapreq - param ?
or just CGI. It's come standard with perl for ages now.
my $cgi =
Daniel B. Hemmerich wrote:
Anyone have a code snippet of a routine that will parse both POST and
GET user input and place it into a hash?
Thanks!
I have used cgi-lib.pl from http://cgi-lib.berkeley.edu for awhile now.
Jay Scherrer
Hi,
Well I did try printing the value for $cookie and gives me the foll value:
EMBPERL_UID=df9c7b02f04343807ef7ab570ab43dc6; SESSION_ID=97f3d8207d2e8d9afd7493ca28c3908a; BIGipServerwebster2=593498284.20480.
Also, while trying to retrieve the session, I tried supplying the following
Attached is our function that we use both under mod_perl and standard
perl. It was begun LONG before CGI.pm became standard or stable.
I've taken a few minutes to document it because this is a code snippet from a
library we call Library_global. The function can be recursive so make sure
AARGH! Get out the axes and pointy sticks! cgi-lib.pl hasn't been
updated since 1998 (quick delta: 8 years). CGI.pm has stepped in as
the de-facto module for CGI stuff.. CGI.pm DOES do mod_perl as well
(although I personally have no experience with this)
Stick to CGI.pm or even better,
On Aug 31, 2006, at 11:39 AM, Michael Peters wrote:
or just CGI. It's come standard with perl for ages now.
yes, but libapreq is way faster
Hi all,We have a problem generating a custom 404 error page using mod_perl. When a page is not found, the code sucessfull renders our error page, and send it to the client. The HTTP code is also sucessfully set to 404. However, at the end of our page, apache adds it default 404 error page:
Not
On Thu, 2006-08-31 at 12:37 -0400, dhaval gada wrote:
Hi,
Well I did try printing the value for $cookie and gives me the foll
value:
EMBPERL_UID=df9c7b02f04343807ef7ab570ab43dc6;
SESSION_ID=97f3d8207d2e8d9afd7493ca28c3908a;
BIGipServerwebster2=593498284.20480.
That's not a
As I stated, these routines were written before CGI.pm became a standard
module and we also have 250K lines of perl code built on top of it just
for one installation I reviewed.
Anyway, for people wanting a non-CGI.pm way to do things, we've used this
routine for billions upon billions of
On Aug 31, 2006, at 3:24 PM, dhaval gada wrote:
I checked the files created in the /tmp/sessions directory. When I
tried to view the contents of the file named
f92c58deb6047b12470d51f6e1767e8f , using the vi editor, it gave
me the following message:
On Aug 31, 2006, at 3:06 PM, Perrin
On 8/31/06, Matias Alejo Garcia [EMAIL PROTECTED] wrote:
We have a problem generating a custom 404 error page using mod_perl. When a page is not found, the code sucessfull renders our error page, and send it to the client. The HTTP code is also sucessfully set to 404. However, at the end of our
Hi,
My apologies. I did remove the leading/trailing spaces and it does'n't throw any errors now. However, I cannot retrieve the stored data.
For eg: I store $session{visit} = 1 when creating the session. However, when I retrieve the session and try to print the value of
$session{visit} it
Anyway to allow overrides in an .htaccess file, like
AllowOverride AuthConfig Limit
but not allow Perl/Perl blocks to get
executed?
Thanks,
Earl
On Thu, 2006-08-31 at 18:37 -0400, Daniel B. Hemmerich wrote:
2. Have that script redirect the user via GET to another script
using a relative path to the same virtual host
Are you doing an internal redirect rather than a real redirect? CGI.pm
doesn't know how to detect that, since it's
That could be the problem! Thanks!
-Original Message-
From: Perrin Harkins [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 31, 2006 7:04 PM
To: [EMAIL PROTECTED]
Cc: 'Kevin A. McGrail'; modperl@perl.apache.org
Subject: RE: Receiving user input
On Thu, 2006-08-31 at 18:37 -0400, Daniel
Hi,
Well I did try printing the value for $cookie and gives me
the foll value:
EMBPERL_UID=df9c7b02f04343807ef7ab570ab43dc6;
SESSION_ID=97f3d8207d2e8d9afd7493ca28c3908a;
BIGipServerwebster2=593498284.20480.
Also, while trying to retrieve the session, I tried supplying
Ben Wilder wrote:
Thanks Philip,
Your advice is very helpful.
you can guess whats coming next... running this under Mod_perl with 8
'StartServers', if i perform 8 requests with a particular $packageFileName
and then attempt a different $packageFileName, Mod_perl will tell me that
the
## Or this is already in PERL5INC some other way already
^^^ LIB
d'oh
Thats why you shouldn't code in thunderbird :)
--
Philip M. Gollucci ([EMAIL PROTECTED]) 323.219.4708
Consultant /
Author: pgollucci
Date: Thu Aug 31 22:05:48 2006
New Revision: 439180
URL: http://svn.apache.org/viewvc?rev=439180view=rev
Log:
s/you/You/g
Modified:
perl/modperl/trunk/t/conf/post_config_startup.pl
Modified: perl/modperl/trunk/t/conf/post_config_startup.pl
URL:
25 matches
Mail list logo