Re: [OT] Stack Operation

2002-11-26 Thread Franck PORCHER
On Sat, 23 Nov 2002, Jonathan M. Hollin wrote: Can anyone offer me some pointers (pun intended) on how to implement a stack in Perl with an array? The description you give does not describe an 'academic' stack... You would probably need to read some good Perl books. I suggest the classical

Re: IPC::Open2, mod_perl and cvsweb

2002-11-26 Thread Ilya Martynov
On Mon, 25 Nov 2002 23:01:44 -0500, Geoffrey Young [EMAIL PROTECTED] said: Look in archives. I think many people had problems with IPC::Open2 under mod_perl. So far the best solution I know is just replacing it with IPC::Run. Seconded. Go with IPC::Run and you won't regret, since it works

Re: IPC::Open2, mod_perl and cvsweb

2002-11-26 Thread Stas Bekman
Ilya Martynov wrote: On Mon, 25 Nov 2002 23:01:44 -0500, Geoffrey Young [EMAIL PROTECTED] said: Look in archives. I think many people had problems with IPC::Open2 under mod_perl. So far the best solution I know is just replacing it with IPC::Run. Seconded. Go with IPC::Run and you won't

Trouble with make source_scan

2002-11-26 Thread Esteban Fernandez Stafford
Hello, I wanted to add some functionality to mod_perl. I am following the 'mod_per 2.0 Source Code Explained' guide. Before doing any change at all I tried to run 'make source_scan' and I got some errors. Going through build/source_scan.pl I was able to tell which errors where generated from

Re: Trouble with make source_scan

2002-11-26 Thread Stas Bekman
Esteban Fernandez Stafford wrote: Hello, I wanted to add some functionality to mod_perl. I am following the 'mod_per 2.0 Source Code Explained' guide. Before doing any change at all I tried to run 'make source_scan' and I got some errors. Going through build/source_scan.pl I was able to tell

Problems compiling mod_perl 1.99_07 in RH 8.0

2002-11-26 Thread J. J. Merelo
Hi, This new RH 8.0 installation is resulting in a calvary. After finding that mod_cgi does not work, that the mod_perl that comes with it breaks all scripts I've got, I have decided to build the latest apache version and mod_perl from scratch. But looks like I am also bumping into

Apache 2?

2002-11-26 Thread Philip Mak
These days, Apache 2 has become the default version of Apache. On my site, I run a front end Apache and a back end Apache. Front end: Apache 1.x, has mod_accel module which is like mod_proxy, but downloads all the data from the backend ASAP and frees it up immediately, so that a slow modem

Outdated link at http://perl.apache.org/products/products.html

2002-11-26 Thread Philip Mak
I couldn't find a contact address on the modperl website, so I'm posting this here... On http://perl.apache.org/products/products.html there is an outdated link to mwForum. The new URL is: http://www.mwforum.org/

Re: Problems compiling mod_perl 1.99_07 in RH 8.0

2002-11-26 Thread Stas Bekman
J. J. Merelo wrote: Hi, This new RH 8.0 installation is resulting in a calvary. After finding that mod_cgi does not work, that the mod_perl that comes with it breaks all scripts I've got, I have decided to build the latest apache version and mod_perl from scratch. But looks like I am also

Re: problems with characters being added to a request.

2002-11-26 Thread Stas Bekman
Brian Hirt wrote: Okay, I've been able to create a simple testcase that reproduces the problem I'm having. Hopefully some perl/mod_perl guru out there will be able to tell me what the deal is. The program basically print out three strings, concatinates a few strings and print them out too.

Re: libapreq-1.1 Release Candidate 1

2002-11-26 Thread Martin Nilsson
Joe Schaefer wrote: The apreq developers are planning a maintenance release of libapreq-1.1. This version does not include support for modperl-2, but it does address some outstanding problems in 1.0: I have made the below patch to make Apache::Request behave like CGI.pm when parsing

General interest question: PDF contents handling in PostgreSQL.

2002-11-26 Thread Fabián R. Breschi
Dear Group, I wonder if using ModPerl and PostgreSQL there's any possibility to resemble what in Oracle is called 'Intermedia', in this particular case parsing/indexing content of PDF files inside PostgreSQL as a LOB or alternatively as a flat OS file with metadata parsed/indexed from it

Re: Problems compiling mod_perl 1.99_07 in RH 8.0

2002-11-26 Thread Stas Bekman
[please, post followups to the list! everybody else on the list wants to know the answer, not only you. thanks!] J. J. Merelo wrote: Hi, Looks like that corresponds to libapreq ; but I'm not too sure where to get it. Is it included in the Apache release? Is it in apache-devel? I have found a

Re: General interest question: PDF contents handling in PostgreSQL.

2002-11-26 Thread Rob Nagler
Fabián R. Breschi writes: I wonder if using ModPerl and PostgreSQL there's any possibility to resemble what in Oracle is called 'Intermedia', in this particular case parsing/indexing content of PDF files inside PostgreSQL as a LOB or alternatively as a flat OS file with metadata

Re: Problems compiling mod_perl 1.99_07 in RH 8.0

2002-11-26 Thread J. J. Merelo
Hi, Looks like that corresponds to libapreq ; but I'm not too sure where to get it. Is it included in the Apache release? Is it in apache-devel? I have found a RPM for it, but now I'm not sure that's reliable either. ¿Any idea? you have to install httpd-2.0, before you build mod_perl

Re: Outdated link at http://perl.apache.org/products/products.html

2002-11-26 Thread Per Einar Ellefsen
At 11:35 26.11.2002, Philip Mak wrote: I couldn't find a contact address on the modperl website, so I'm posting this here... On http://perl.apache.org/products/products.html there is an outdated link to mwForum. The new URL is: http://www.mwforum.org/ Thank you Philip, it has been corrected.

Re: General interest question: PDF contents handling in PostgreSQL.

2002-11-26 Thread Perrin Harkins
Fabián R. Breschi wrote: I wonder if using ModPerl and PostgreSQL there's any possibility to resemble what in Oracle is called 'Intermedia', in this particular case parsing/indexing content of PDF files inside PostgreSQL as a LOB or alternatively as a flat OS file with metadata

Re: Apache 2?

2002-11-26 Thread Grant Cooper
What do yo mean a modem will tie up the Server? I've never heard this before. - Original Message - From: Philip Mak [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, November 26, 2002 2:15 AM Subject: Apache 2? These days, Apache 2 has become the default version of Apache. On my

Re: Apache 2?

2002-11-26 Thread Philip Mak
On Tue, Nov 26, 2002 at 11:40:00AM -0800, Grant Cooper wrote: What do yo mean a modem will tie up the Server? I've never heard this before. Let's say you have a mod_perl page that returns a 100k document, and a 28.8k modem downloads that document. The mod_perl process that is serving that

Identifying memory leaks

2002-11-26 Thread Charles
A Linux machine running Apache/2.0.35 (Unix) mod_perl/1.99_05-dev Perl/v5.6.1 mysql 4.0.1 uses increasing used memory (according /usr/bin/free), eventually resuting in all memory being consumed. Memory usage drops somewhat after a reboot of apache and mysql, but not completely. If a reference

partial page display

2002-11-26 Thread FFabrizio
I would like to have some of the page display while the rest of the data for the page is still being retrieved (i.e. a Please wait, this operation takes several seconds... kind of message). I thought (perhaps naively) that a print Please wait.\n; at the beginning of my handler would

Re: Apache 2?

2002-11-26 Thread Philip Mak
On Tue, Nov 26, 2002 at 03:11:47PM -0800, Grant Cooper wrote: Is there any documention of a HOWTO or a tutorial about a lightweight front-end proxy that loads the data from the mod_perl I wrote a guide a while back on how to install mod_accel and mod_deflate with Apache. It's for Apache 1.3.x;

Re: partial page display

2002-11-26 Thread Issac Goldstand
local $|=1; - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, November 26, 2002 9:11 PM Subject: partial page display I would like to have some of the page display while the rest of the data for the page is still being retrieved (i.e. a Please wait,

RE: partial page display

2002-11-26 Thread FFabrizio
That doesn't work for us. It seems that the browser also maintains a buffer, because if I loop the please wait message 1 times, it does show up immediately. I suspect possibly there's some massaging we can do to the header? Thanks, Fran -Original Message- From: Issac Goldstand

RE: partial page display

2002-11-26 Thread Jim Martinez
After much thought on Nov 26 [EMAIL PROTECTED] wrote: I suspect possibly there's some massaging we can do to the header? I wonder if your thinking of the meta tag refresh : META HTTP-EQUIV=Refresh CONTENT=45;URL=http://mydomain.com/tracking.pl Is this a good idea? I hope so, because I'm

Re: Identifying memory leaks

2002-11-26 Thread Stas Bekman
Charles wrote: A Linux machine running Apache/2.0.35 (Unix) mod_perl/1.99_05-dev Perl/v5.6.1 mysql 4.0.1 uses increasing used memory (according /usr/bin/free), eventually resuting in all memory being consumed. Memory usage drops somewhat after a reboot of apache and mysql, but not completely.

Re: Apache 2?

2002-11-26 Thread Stas Bekman
Philip Mak wrote: On Tue, Nov 26, 2002 at 03:11:47PM -0800, Grant Cooper wrote: Is there any documention of a HOWTO or a tutorial about a lightweight front-end proxy that loads the data from the mod_perl I wrote a guide a while back on how to install mod_accel and mod_deflate with Apache.

Re: Apache 2?

2002-11-26 Thread Stas Bekman
Philip Mak wrote: These days, Apache 2 has become the default version of Apache. On my site, I run a front end Apache and a back end Apache. Front end: Apache 1.x, has mod_accel module which is like mod_proxy, but downloads all the data from the backend ASAP and frees it up immediately, so that

Re: partial page display

2002-11-26 Thread Issac Goldstand
Add a BR/ tag. That's what I throw in to force the browser to flush whatever I fed it onto the screen... Issac - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Tuesday, November 26, 2002 9:25 PM Subject: RE: partial page

2.0 estimated release date?

2002-11-26 Thread Jim Martinez
Full of ideas from apachecon and Vegas (cha ching!), I wonder when mod perl 1.99 will become 2.0. Any guesses? Jim

RE: partial page display

2002-11-26 Thread FFabrizio
Thanks, finally found the right combination... { local $| = 1; $r-content_type('text/html'); $r-send_http_header; print Testing...\n; } -Fran -Original Message- From: Issac Goldstand [mailto:[EMAIL PROTECTED]] Sent: Tuesday, November 26, 2002 4:28 PM To: [EMAIL

Re: partial page display

2002-11-26 Thread Stas Bekman
[EMAIL PROTECTED] wrote: Thanks, finally found the right combination... { local $| = 1; $r-content_type('text/html'); $r-send_http_header; print Testing...\n; } Peruse the docs and they will save your time:

Re: partial page display

2002-11-26 Thread Stas Bekman
Jim Martinez wrote: After much thought on Nov 26 [EMAIL PROTECTED] wrote: I suspect possibly there's some massaging we can do to the header? I wonder if your thinking of the meta tag refresh : META HTTP-EQUIV=Refresh CONTENT=45;URL=http://mydomain.com/tracking.pl Is this a good idea? I

Re: partial page display

2002-11-26 Thread Mike Williams
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Tuesday 26 November 2002 04:27 pm, Jim Martinez wrote: I wonder if your thinking of the meta tag refresh : META HTTP-EQUIV=Refresh CONTENT=45;URL=http://mydomain.com/tracking.pl Is this a good idea? I hope so, because I'm using it. One

Re: 2.0 estimated release date?

2002-11-26 Thread Stas Bekman
Jim Martinez wrote: Full of ideas from apachecon and Vegas (cha ching!), I wonder when mod perl 1.99 will become 2.0. Any guesses? Somewhere next year? Though some people are already using it in production. It all depends what functionality is needed, since the core is pretty much done, but

Re: make test failed when installing mod_perl 2.0 on Linux

2002-11-26 Thread Stas Bekman
Your attention please: [***] [*** ***] [*** please send the followups back to the list! ***] [*** ***] [***]

Re: libapreq-1.1 Release Candidate 1

2002-11-26 Thread Ken Williams
Edward, Instead of just ./configure, you'll need to do ./configure --with-apache-includes=/usr/include/httpd (assuming that's where your apache headers are). That'll get you farther, anyway. Joe, maybe this could be added as a default for Darwin or something? -Ken On Tuesday, November 26,

Re: Apache 2?

2002-11-26 Thread Randal L. Schwartz
Philip == Philip Mak [EMAIL PROTECTED] writes: Philip Let's say you have a mod_perl page that returns a 100k document, and a Philip 28.8k modem downloads that document. Philip The mod_perl process that is serving that document will be tied up Philip until that modem finishes downloading the