Hi
In the CGI environment ,
After getting the request from the client , based on the request the web server
will load the cgi2perl module
( may be someother name) to act as interface between perl and Webserver. The
cgi2perl will get the data from perl interpreter and give back to
On Thu, 6 Sep 2001, Murugan K wrote:
Hi
In the CGI environment ,
After getting the request from the client , based on the request
the web server will load the cgi2perl module ( may be someother name)
to act as interface between perl and Webserver. The cgi2perl will get
the data from
On Wed, 5 Sep 2001, will trillich wrote:
i didn't run into this until munging code via mod_perl and
postgresql, so i figured this was a good place to ask a
perl-generic question--if not, please point the way:
come'n will, you know that this is not a place to ask generic Perl
questions.
I'm about to start porting Apache::Registry and friends to 2.0, and we are
discussing this issue at [EMAIL PROTECTED], so if you aren't on this
list yet and want to influence things early, make sure that you subscribe
to the list: [EMAIL PROTECTED] and sound your voice if you
have something
BlankWhat is the best way to share % across multiple requests ?
I first tried with $r-notes('name'='value') but that wasn't persistent
across requests (or maybe I was doing it wrong ?).
Then I made a system to load data from database once at process ($$) startup
and then fetch it from % (module
-Original Message-
From: Miroslav Madzarevic [mailto:[EMAIL PROTECTED]]
Sent: Thursday, September 06, 2001 10:02 AM
To: [EMAIL PROTECTED]
Subject: sharing % across requests
BlankWhat is the best way to share % across multiple requests ?
it's called maintaining state - read
-Original Message-
From: Geoffrey Young [mailto:[EMAIL PROTECTED]]
Sent: Thursday, September 06, 2001 10:16 AM
To: 'Miroslav Madzarevic'; [EMAIL PROTECTED]
Subject: RE: sharing % across requests
-Original Message-
From: Miroslav Madzarevic [mailto:[EMAIL
Geoffrey Young [EMAIL PROTECTED] said something to this effect on 09/06/2001:
BlankWhat is the best way to share % across multiple requests ?
it's called maintaining state - read the eagle book, chapter 5.
one common solution is Apache::Session
sorry, I think I misread the
sorry, I think I misread the question - the verbosity threw me.
No, I think you got it right. He wants to share a hash between multiple
Apache children.
I recommend using either MLDBM::Sync or Cache::Cache for this.
- Perrin
My setup:
- redhat 7.1
- perl 5.6.0 (original redhat rpm)
- mod_perl 1.26 (compiled)
- apache 1.3.20 (compiled)
I installed Apache::MP3 per the instructions in the docs.
perl.conf:
VirtualHost 192.168.123.100
ServerName removed
ServerAdmin removed
DefaultType text/plain
Hi,
It sounds like you want to read the source code. =) Download mod_perl
(or perhaps you already have) and read the source to Apache.pm,
mod_perl.pm, and so on, until you understand everything you want to. Be
warned, it's not easy reading.
There aren't many documents describing the
I have what seems to be a uncommon request.
I need to write a module, or find a way, that will step in at the Authentication
phase, or rather before, determine that a password is required, return a response
that redirects to the https mode for the request, then allows authentication.
I'm doing
Can someone point me to the docs for compiling latest mod_perl 1.26 for apache 1.3.20
on AIX 4.3.3 using gcc.
Or if docs don't exist, or if I missed something, Just slap me.
The docs I've found result in a broken build enviromnent.
I suspect that the problem is related to using gcc+
Hi!
I'm running modperl 1.26 and apache 1.3.20 on a Solaris machine. I added
Apache::DBI and other DBI modules.
I added the following line to the httpd.conf line to use Apache::DBI
PerlModule Apache::DBI
Before any other DBI command as stated on the docs. Here's the error I get
at starting
Syntax error on line 304 of /export/apache/conf/httpd.conf:
Can't load
'/usr/local/lib/perl5/site_perl/5.6.1/sun4-solaris/auto/DBI/DBI.so' for
module DBI: ld.so.1: /export/apache/bin/httpd: fatal: relocation error:
file /usr/local/lib/perl5/site_perl/5.6.1/sun4-solaris/auto/DBI/DBI.so:
Hi,
With this simple test script:
print Content-type: text/html\n\n;
my $var = 'x' x 50;
my $sub = sub { my $sub2 = sub { $var; }; };
print Done\n;
$var does not get freed, and the process grows each request. Has anyone
seen this sort of behavior and have any ideas/workarounds (besides
This looks like a DBI installation problem, not an Apache::DBI problem.
Does DBI work when you don't use Apache::DBI?
- Perrin
You are right. It gives me the same error when I try to use DBI alone:
[error] Can't load
'/usr/local/lib/perl5/site_perl/5.6.1/sun4-solaris/auto/DBI/DBI.so' for
module
Maybe this abstraction do the job
mod_perl packages (or classes) binds with HTTP server process.
Basically there is a perl interpreter loaded along with HTTP code
and running in memorythe customer of mod_perl then loads additional
perl code to alter the behavior of the HTTP server. The
With this simple test script:
print Content-type: text/html\n\n;
my $var = 'x' x 50;
my $sub = sub { my $sub2 = sub { $var; }; };
print Done\n;
$var does not get freed, and the process grows each request. Has anyone
seen this sort of behavior and have any ideas/workarounds (besides
It greatly depends upon how you built perl. If you're using the
OS-provided perl installation, you'll have to use IBM C for AIX to compile
apache/mod_perl. Also, other problems/pitfalls exist if you wish to use
mod_perl as a DSO. These problems can be overcome, but you'll need
specific versions
Alex Krohn wrote:
Hi,
With this simple test script:
print Content-type: text/html\n\n;
my $var = 'x' x 50;
our $var = 'x' x 50;
my $sub = sub { my $sub2 = sub { $var; }; };
print Done\n;
$var does not get freed, and the process grows each request. Has anyone
seen this sort
I'm trying to simply get Apache/mod_perl working in W2K ... I've been
trying to follow the steps outlined in messages I've found from
searching through archives, but it seems I'm a bit stuck. My experience
w/ Apache has always been in Linux or *BSD, so I'm somewhat lost when it
comes to
All right. I added the line 'AddModule mod_perl.c' before the 'LoadModule'
and I got an error about not being able to add a module that's not in the
loaded modules list, so I changed its position in the file and put it directly
after the LoadModule perl_module modules/mod_perl.so and now I'm
Therein lies the problem. I currently do not have the IBM supplied cc on
the system. If the answer is to use only the IBM cc I'm not sure there will
be an answer.
Everything else compiles fine, Apache, as well as the other modules.
Thanks.
Christian Gilmore wrote:
It greatly depends
The DBI installation went fine, I used CPAN. DBI version is 1.20. I looked
for the DBI.so and the DBI.pm files and they are in the correct paths.
What may be the problem?
I don't know, but you might have more luck asking about it on the DBI list.
Or you could do some searching on Google for
You'll need to compile and install your own perl, then, using gcc.
Regards,
Christian
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
Behalf Of Jim Cox
Sent: Sunday, May 06, 2001 5:19 PM
Cc: [EMAIL PROTECTED]
Subject: Re: Mod_Perl on AIX
Therein lies
At 5:00 pm -0500 6/9/01, Brice D Ruth wrote:
I'm trying to simply get Apache/mod_perl working in W2K ... I've
been trying to follow the steps outlined in messages I've found from
searching through archives, but it seems I'm a bit stuck. My
experience w/ Apache has always been in Linux or
[Mailed to list and to individual]
Brice
I think the easiest is to install a pre-compiled Apache+mod_perl+mod_*. Start here:
http://savage.net.au/Perl.html#Configuring-Apache
Cheers
Ron Savage
[EMAIL PROTECTED]
http://savage.net.au/index.html
Hi all,
I am trying to use MLDBM::Sync to create persistent %hash. Has any one
used this module? I was reading the archive mail between Joshua and
Perrin and
or do you tie/untie on every request?
yes
??
Also, I would appreciate it if someone could direct me to a code snipet
for this module.
On Thu, 6 Sep 2001, Brice D Ruth wrote:
I'm trying to simply get Apache/mod_perl working in W2K ... I've been
trying to follow the steps outlined in messages I've found from
searching through archives, but it seems I'm a bit stuck. My experience
w/ Apache has always been in Linux or *BSD,
Annoucing the Apache::No404Proxy module, which serves as 404-free
HTTP proxy server!
Note that you should be careful before really start using this...
Read the whole document!
The URL
http://bulknews.net/lib/archives/Apache-No404Proxy-0.03.tar.gz
has entered CPAN as
file:
___cliff rayman___ [EMAIL PROTECTED] wrote:
Alex Krohn wrote:
Hi,
With this simple test script:
print Content-type: text/html\n\n;
my $var = 'x' x 50;
our $var = 'x' x 50;
my $sub = sub { my $sub2 = sub { $var; }; };
print Done\n;
$var does not get freed, and the process
dougm 01/09/06 09:40:11
Modified:lib/Apache ParseSource.pm
Log:
only generate table .pm's if content has changed
Submitted by: Stas Bekman [EMAIL PROTECTED]
Reviewed by: dougm
Revision ChangesPath
1.26 +26 -4 modperl-2.0/lib/Apache/ParseSource.pm
dougm 01/09/06 09:41:30
Modified:xs/tables/current/Apache FunctionTable.pm StructureTable.pm
Log:
sync
Revision ChangesPath
1.17 +277 -2modperl-2.0/xs/tables/current/Apache/FunctionTable.pm
Index: FunctionTable.pm
34 matches
Mail list logo