Patch for Apache::Session::Lock::File

2001-04-11 Thread Tatsuhiko Miyagawa
Here's a patch for Apache::Session::Lock::File::clean(), which can never clean up the session files. --- File.pm.origThu Apr 12 15:37:08 2001 +++ File.pm Thu Apr 12 15:37:36 2001 @@ -133,7 +133,7 @@ my @files = readdir(DIR); foreach my $file (@files) { if ($file =~

Re: install solution for new mod_perl based application needed

2001-04-11 Thread Randy Kobes
On Wed, 11 Apr 2001, Thomas K. Burkholder wrote: > Hi, > > I've just spent about 2 months and 5000 lines of code writing a great > little mysql/mod_perl/ImageMagick based web application for managing and > tweaking digital photographs. It's really been a whole lot of fun. > > There are three k

Re: Win32 & Apache-1.3.19

2001-04-11 Thread Randy Kobes
On Wed, 11 Apr 2001 [EMAIL PROTECTED] wrote: > Win2000 SP1, > Apache-1.3.19, > mod_perl-1.25_01-dev (installed from randy kobes site using the Activestate > PPM install). > > Apache installed at c:/Apache/Apache > > whenever I attempt to start up with mod_perl.so or ApachePerlModule.dll > > i

from the "quick hacks" department... x-bit controls mod_cgi

2001-04-11 Thread Randal L. Schwartz
In an .htaccess, I place: Options +ExecCGI PerlFixupHandler "sub { -f $_[0]->filename and -x _ and $_[0]->handler(q{cgi-script}) }" Now any executable file in this directory (or below) is processed with mod_cgi. Any non-executable file is processed with whatever the MIME engine came u

Win32 & Apache-1.3.19

2001-04-11 Thread Sean . McHugh
Win2000 SP1, Apache-1.3.19, mod_perl-1.25_01-dev (installed from randy kobes site using the Activestate PPM install). Apache installed at c:/Apache/Apache whenever I attempt to start up with mod_perl.so or ApachePerlModule.dll i get the following error: Cannot load c:/apache/apache/modules/mod

Mod_perl and Post Read Request

2001-04-11 Thread Jay Thorne
I'm trying to use mod_perl in conjunction with another module called mod_adbanners.c >From our tests, its quite apparent that when a is handled by mod_perl, our other apache handler is not called called, though we've compiled perl to not hook into PostReadRequest Any suggestions? Is there a spe

Re: big problems with GDBM / MLDBM on solaris

2001-04-11 Thread Noam Solomon
mucho gracia! Jonathan Swartz wrote: > One option is to switch to Berkeley DB (DB_File) - I believe it is much more > stable and maintained. Don't know how much data transfer that would involve, > though. > > > -Original Message- > > From: Noam Solomon [mailto:[EMAIL PROTECTED]] > > Sent

install solution for new mod_perl based application needed

2001-04-11 Thread Thomas K. Burkholder
Hi, I've just spent about 2 months and 5000 lines of code writing a great little mysql/mod_perl/ImageMagick based web application for managing and tweaking digital photographs. It's really been a whole lot of fun. There are three kinds of code involved - .pm modules that are strictly handlers f

Re: mod_parrot

2001-04-11 Thread Emad Fanous
If anybody didn't figure it out yet... http://www.oreilly.com/news/parrotstory_0401.html Also...it looks like TPJ is back!!! http://www.tpj.com Emad

Re: [OT] Apachecon folks

2001-04-11 Thread Nathan Torkington
Matt Sergeant writes: > For what it's worth, I'm now back out from spending a week and a bit under > the bar. What a hangover! :-) I'd like to attest that I did see Matt away from the bar. Sometimes he was pool-side, and sometimes he went to Fry's with us. :-) I can't say how much fun it was me

Re: [OT] Apachecon folks

2001-04-11 Thread Matt Sergeant
On Wed, 4 Apr 2001, G.W. Haywood wrote: > Hi Gunther, > > On Wed, 4 Apr 2001, Gunther Birznieks wrote: > > > Did you check under the bar...? > > :) > > Thanks for brightening my day, Gunther. > > Wish I was under the bar with Matt. For what it's worth, I'm now back out from spending a week

Re: Apache::Filter doesn't filter right

2001-04-11 Thread Matt Sergeant
On Tue, 3 Apr 2001, Michael Nachbaur wrote: > I'm having a problem with Apache::Filter (and Apache::OutputChain) which I > don't think is related to Apache::Filter itself, but I can't seem to track > the problem down. > > I wrote a content handler which outputs XML, which I want to then be > pro

Not able to read file

2001-04-11 Thread Ratan Jha
Hi, i'm stuck with a very peculiar problem. i'm trying to upload a file using mod_perl but whenevr I attempt to do that the server hangs. The file is opened in the specified directory but the "read" attempt fails. The server is not able to read the file from the local machine. Here is the co

Re: Apache::ASP

2001-04-11 Thread alexus
well apache won't start i wouldn't be writing here if it would work fine.. - Original Message - From: "Escario Julien" <[EMAIL PROTECTED]> To: "alexus" <[EMAIL PROTECTED]> Cc: "Joshua Chamas" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Wednesday, April 11, 2001 5:37 AM Subject: Re: A

Re: [OT]:/GET header

2001-04-11 Thread Wim Kerkhoff
[EMAIL PROTECTED] wrote: > > hi, > anyone recall howto get 'only' the initial header from http servers? > TIA HEAD is the command you want: cuvarack:~/$ telnet impetus 80 Trying 192.168.20.3... Connected to impetus. Escape character is '^]'. HEAD / HTTP/1.0 HTTP/1.1 200 OK Date: Wed, 11 Apr

Re: [OT]:/GET header

2001-04-11 Thread dreamwvr
hi, anyone recall howto get 'only' the initial header from http servers? TIA

Re: Problem with modperl

2001-04-11 Thread Daniel
Hi there, I've had similar problems before with a stock install of Redhat 6.x and their installation of apache + mod_perl (dso) + php It's been a long time now but if my memory serves me correctly (probably not) loading mod_perl before php in the httpd.conf file worked (in some instances). Re

Re: @INC and mod_perl - PerlSetEnv PERL5LIB ... doesn't seem to work

2001-04-11 Thread Stas Bekman
On Wed, 11 Apr 2001, Keith G. Murphy wrote: > Vivek Khera wrote: > > > > > "TS" == Tim Sweetman <[EMAIL PROTECTED]> writes: > > > > TS> you can add directories to @INC by putting > > > > TS> PerlSetEnv PERL5LIB /home/httpd/perl > > > > Just use the second method in the guide. ie, use lib '/p

Re: [OT]: POST/GET semantics

2001-04-11 Thread Andrew Ho
Hello, JZ>I have found that having a session object is a rather bad idea. What JZ>happens if there is such a beast is essentially communication of JZ>functions through global variables. So I thought about the cure and JZ>found that having server side "objects" that can be retrieved through an JZ>

proxy: "manipulate-response-before-send"-phase?

2001-04-11 Thread ernst leonhard
Hi all, To get the functionality of a special kind of proxy, we do the following, as described in O'Reilly's "Apache Modules" first edition (S. 370 ff.): * set a Transhandler in httpd.conf PerlTransHandler SomePackage::Proxy * at the end of this perl-script: $r->proxyreq(1); $r->uri($uri);

[OT]: POST/GET semantics

2001-04-11 Thread Joachim Zobel
Hi. I have found that having a session object is a rather bad idea. What happens if there is such a beast is essentially communication of functions through global variables. So I thought about the cure and found that having server side "objects" that can be retrieved through an id enables "pa

Re: @INC and mod_perl - PerlSetEnv PERL5LIB ... doesn't seem to work

2001-04-11 Thread Roger Espel Llima
I Told You So <[EMAIL PROTECTED]> wrote: > I'd also appreciate knowing if the "set the env. variable before > Apache run" approach (ie. PERL5LIB=/usr/lib/foo httpsd ...) works, > or whether this is going to be blown out of the water by > subsequent mod_perl versions (though this may be currently >

Re: Java.pm

2001-04-11 Thread cbell
I did take a look at it originally, but it didn't seem to do what I needed it to. I'll take another look... Robin Berjon wrote: > At 11:34 11/04/2001 -0400, cbell wrote: > >Originally I was trying to use Java.pm Version 3 created by Mark > >Trostler which I downloaded from CPAN. Does anyone kno

Re: Java.pm

2001-04-11 Thread Robin Berjon
At 11:34 11/04/2001 -0400, cbell wrote: >Originally I was trying to use Java.pm Version 3 created by Mark >Trostler which I downloaded from CPAN. Does anyone know which one I >should be using? I'm trying to execute Java procedures in class files >from within ModPerl. Haven't tried it, but maybe

Java.pm

2001-04-11 Thread cbell
Thanks again to all that replied to my earlier posting, however, I've run into another issue. I followed the link in one of the replies to http://www-personal.umich.edu/~mcafee/perl/java-pm.html and discovered that this module was different than the one I'm attempting to use. Originally I was tr

Re: @INC and mod_perl - PerlSetEnv PERL5LIB ... doesn't seem to work

2001-04-11 Thread I Told You So
> Vivek Khera wrote: > > > > > "TS" == Tim Sweetman <[EMAIL PROTECTED]> writes: > > > > TS> you can add directories to @INC by putting > > > > TS> PerlSetEnv PERL5LIB /home/httpd/perl Thanks Vivek, but I was after clarification of whether this was a bug (to be fixed) or inaccurate docs (also

Re: @INC and mod_perl - PerlSetEnv PERL5LIB ... doesn't seem to work

2001-04-11 Thread Keith G. Murphy
Vivek Khera wrote: > > > "TS" == Tim Sweetman <[EMAIL PROTECTED]> writes: > > TS> you can add directories to @INC by putting > > TS> PerlSetEnv PERL5LIB /home/httpd/perl > > Just use the second method in the guide. ie, use lib '/path/to/lib' > in a startup script. > I request that the gu

Java.pm

2001-04-11 Thread cbell
Thanks to all that replied, I'll try unziping the JAR file before using it...