Info required

2001-09-06 Thread Murugan K
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

Re: Info required

2001-09-06 Thread Stas Bekman
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

Re: perl timestamps

2001-09-06 Thread Stas Bekman
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.

discussing the future of Apache::Registry and friends

2001-09-06 Thread Stas Bekman
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

sharing % across requests

2001-09-06 Thread Miroslav Madzarevic
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

RE: sharing % across requests

2001-09-06 Thread Geoffrey Young
-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

RE: sharing % across requests

2001-09-06 Thread Geoffrey Young
-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

Re: sharing % across requests

2001-09-06 Thread darren chamberlain
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

Re: sharing % across requests

2001-09-06 Thread Perrin Harkins
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

Apache::MP3 error

2001-09-06 Thread Alex Porras
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

Re: Info required

2001-09-06 Thread Ken Williams
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

Redirecting protected file requests to https for authentication

2001-09-06 Thread J. J. Horner
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

Mod_Perl on AIX

2001-09-06 Thread Jim Cox
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+

Another Apache::DBI problem

2001-09-06 Thread Mauricio Herrera
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

Re: Another Apache::DBI problem

2001-09-06 Thread Perrin Harkins
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:

memory leaking with closures

2001-09-06 Thread Alex Krohn
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

Re: Another Apache::DBI problem

2001-09-06 Thread Mauricio Herrera
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

Re: Info required

2001-09-06 Thread Medi Montaseri
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

Re: memory leaking with closures

2001-09-06 Thread Perrin Harkins
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

RE: Mod_Perl on AIX

2001-09-06 Thread Christian Gilmore
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

Re: memory leaking with closures

2001-09-06 Thread ___cliff rayman___
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

Help w/ install [ActivePerl,W2K Server,Apache 1.3.20]

2001-09-06 Thread Brice D Ruth
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

Re: Help w/ install [ActivePerl,W2K Server,Apache 1.3.20]

2001-09-06 Thread Brice D Ruth
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

Re: Mod_Perl on AIX

2001-09-06 Thread Jim Cox
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

Re: Another Apache::DBI problem

2001-09-06 Thread Perrin Harkins
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

RE: Mod_Perl on AIX

2001-09-06 Thread Christian Gilmore
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

Re: Help w/ install [ActivePerl,W2K Server,Apache 1.3.20]

2001-09-06 Thread will
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

Re: Help w/ install [ActivePerl,W2K Server,Apache 1.3.20]

2001-09-06 Thread Ron Savage
[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

MLDBM::Sync usage

2001-09-06 Thread Rasoul Hajikhani
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.

Re: Help w/ install [ActivePerl,W2K Server,Apache 1.3.20]

2001-09-06 Thread Randy Kobes
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,

ANNOUNCE: Apache::No404Proxy 0.03

2001-09-06 Thread Tatsuhiko Miyagawa
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:

Re: memory leaking with closures

2001-09-06 Thread Ken Williams
___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

cvs commit: modperl-2.0/lib/Apache ParseSource.pm

2001-09-06 Thread dougm
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

cvs commit: modperl-2.0/xs/tables/current/Apache FunctionTable.pm StructureTable.pm

2001-09-06 Thread dougm
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