Re: Another Perl/Apache question

2001-08-30 Thread Remco Schaar
On Wed, 29 Aug 2001, Mathew Benson wrote: Hi, I know you helped me before, but I had to rebuild my server and now I'm having the same problem as before. I changed my ServerName directive to the correct IP address (I don't have a DNS name). These are the only other changes I made to

Re: $r-args()

2001-08-30 Thread princepawn
Robert Landrum writes: sub escaped { my $val = shift; $val =~ s/(\W)/sprintf(%%%.2X,ord($1))/g; return $val; } my $content = join('',map{$_.=.escaped($r-param($_))}($r-param)); my $internal_url = /some/path/to/handler?$content;

Compile problem w/ mod_perl-1.26 apache_1.3.20

2001-08-30 Thread Scott Chapman
I'm getting this error when I make mod-perl. I'm running on TurboLinux 5.0. I'd appreciate any info on why this is failing. (cd ../apache_1.3.20 PERL5LIB=/home/software/mod_perl-1.26/lib make) make[1]: Entering directory `/home/software/apache_1.3.20' === src make[2]: Entering directory

internal redirect with byterange (was: open downloaded file)

2001-08-30 Thread Thomas Bach
Hello again I'm still having troubles delivering my pdf-files ... I'm using the code-snippets Geoffrey Young gave me, but i need to use an internal redirect, because i provide the files with better (longer) filenames. I can't find any tutorials or example-code for it, so I hope you guys can

Re: Compile problem w/ mod_perl-1.26 apache_1.3.20

2001-08-30 Thread Stas Bekman
On Thu, 30 Aug 2001, Scott Chapman wrote: I'm getting this error when I make mod-perl. I'm running on TurboLinux 5.0. I'd appreciate any info on why this is failing. I/usr/local/lib/perl5/5.6.0/i586-linux/CORE -DMOD_PERL_VERSION=\1.26\ -DMOD_PERL_STRING_VERSION=\mod_perl/1.26\

RE: internal redirect with byterange (was: open downloaded file)

2001-08-30 Thread Geoffrey Young
accessing a file like this results in the access-log in: [30/Aug/2001:17:13:13 +0200] GET /files/sid00017/AR_1000A-TSS_report-TSS.PDF HTTP/1.1 200 32768 https://ida.festbrueder.ch/site/files.pl?siteid=17; Mozilla/4.0 (compatible; MSIE 5.01; Windows [30/Aug/2001:17:13:14 +0200]

Re: Compile problem w/ mod_perl-1.26 apache_1.3.20

2001-08-30 Thread Scott Chapman
Stas, I just do an Install.simple: [root@river mod_perl-1.26]# perl Makefile.PL DO_HTTPD=1 USE_APACI=1 APACHE_PREFI X=/www Will configure via APACI cp apaci/Makefile.libdir ../apache_1.3.20/src/modules/perl/Makefile.libdir cp apaci/Makefile.tmpl ../apache_1.3.20/src/modules/perl/Makefile.tmpl cp

Apache::Session::File and free memory weirdness

2001-08-30 Thread Larry Leszczynski
Hi All - I'm running Apache, mod_perl and HTML::Mason on Solaris 2.6, and using Apache::Session::File for session management. I've been monitoring free memory as reported by top, and I'm seeing some behavior that is totally baffling me. (If you're interested, there's a graph at:

Re: Apache::Session::File and free memory weirdness

2001-08-30 Thread Perrin Harkins
Odd thing #1: As it gets into evening time, load on the machine drops off and there are fewer httpd children running, but I am not seeing free memory return to that 1.3GB level. At most it comes back up to 400MB or so. I don't think the httpd children are hanging on to memory, because

mod_perl build

2001-08-30 Thread Rasoul Hajikhani
Hello, I am wondering whether there is a way of knowing how mod_perl was built? I have inhereted a box with mod_perl configured. Thanks -r

RFC: Apache::FileMan 0.07d

2001-08-30 Thread George Sanderson
I have updated Apache::FileMan.pm to pre-release version 0.07d. I substantially reorganized to code. FileMan provides a file manager for a web sites through a web browser. It is an extensive rewrite of the Apache::AutoIndex.pm module (written by Philippe M. Chiasson), which in turn was a remake

Re: mod_perl memory consumption

2001-08-30 Thread Paul DuBois
[EMAIL PROTECTED] (Perrin Harkins) wrote: I guess that DBI gets all records if you use fetchall_array|hashref and that it is else OK. No, the behavior that I saw was when fetching a row at a time. Behind the scenes, DBI would fetch ALL the rows into RAM and then iterate over them. This may

Re: Apache::Session::File and free memory weirdness

2001-08-30 Thread Adi Fairbank
Perrin Harkins wrote: Odd thing #1: As it gets into evening time, load on the machine drops off and there are fewer httpd children running, but I am not seeing free memory return to that 1.3GB level. At most it comes back up to 400MB or so. I don't think the httpd children are

Re: mod_perl memory consumption

2001-08-30 Thread Jeremy Howard
Paul DuBois wrote: mysql_store_result/mysql_use_result determine whether or not the server sends all the rows to the client at once, or one at a time as the client asks for them. mysql_store_result is therefore more memory intensive for the client (which must hold the entire result set).

Re: mod_perl memory consumption

2001-08-30 Thread Paul DuBois
At 2:55 PM +1000 8/31/01, Jeremy Howard wrote: Paul DuBois wrote: mysql_store_result/mysql_use_result determine whether or not the server sends all the rows to the client at once, or one at a time as the client asks for them. mysql_store_result is therefore more memory intensive for the

Re: Compile problem w/ mod_perl-1.26 apache_1.3.20

2001-08-30 Thread Stas Bekman
On Thu, 30 Aug 2001, Scott Chapman wrote: Stas, I just do an Install.simple: [root@river mod_perl-1.26]# perl Makefile.PL DO_HTTPD=1 USE_APACI=1 APACHE_PREFI X=/www Will configure via APACI [snip] cp apaci/perl_config ../apache_1.3.20/src/modules/perl/perl_config

Re: mod_perl build

2001-08-30 Thread Stas Bekman
On Thu, 30 Aug 2001, Rasoul Hajikhani wrote: Hello, I am wondering whether there is a way of knowing how mod_perl was built? I have inhereted a box with mod_perl configured. http://perl.apache.org/guide/install.html#Discovering_Whether_Some_Option_ assuming that you have a pretty recent