ANNOUNCE: Apache::SafeHang

1999-12-12 Thread Stas Bekman
Hi, This is a new module. Please evaluate it. Basically it kills off the processes that are running for too long (you control the timeout). If you have a problem of hanging processes, this module is for you. If you encounter a problem of hanging processes on your production server -- use this mo

$r->handler returning undef

1999-12-12 Thread Bill Moseley
I'm wondering why $r->handler returns undef for perl-script handlers. I'd like to be able to tally the number of requests by type: perl-script, cgi-script, and other (.html, image) requests. $r->handler returns cgi-script as expected, but returns undef for perl-script. I'm checking $r->handler

Book: guestbook.cgi

1999-12-12 Thread Michael Dearman
I've copied example 4-15 and multi-checked it, for the past couple of days. Finally used a copy of the example obtained from the book site. But still have problems. [note: the example from the book sight used strftime(time, '%D') in sub write_guestbook. Changing that to strftime('%D', localtime)

Re: Book: guestbook.cgi

1999-12-12 Thread Michael Dearman
Spotted this sub view_guestbook { my $show_sign_button = shift; print start_form, submit(-name => 'Sign Guestbook'), <<< end_form if $show_sign_button; ... changed to submit(-name => 'action', -value => 'Sign Guestbook'), And at least the f

Re: Book: guestbook.cgi

1999-12-12 Thread Aaron Turner
On Sun, 12 Dec 1999, Michael Dearman wrote: > > Spotted this > > sub view_guestbook { > my $show_sign_button = shift; > print start_form, > submit(-name => 'Sign Guestbook'), <<< > end_form if $show_sign_button; > ... > > changed to > submit(-name => '

Re: ANNOUNCE: Apache::SafeHang

1999-12-12 Thread Ken Williams
[EMAIL PROTECTED] (Stas Bekman) wrote: >Regading Apache::SafeHang, I'll wait for your comments before I upload it >to CPAN. Please try to use it. If this might become a more general utility, you might want to give it a more general name like Apache::Watchdog or something so it has room to grow.

Re: ANNOUNCE: Apache::SafeHang

1999-12-12 Thread Stas Bekman
> [EMAIL PROTECTED] (Stas Bekman) wrote: > >Regading Apache::SafeHang, I'll wait for your comments before I upload it > >to CPAN. Please try to use it. > > If this might become a more general utility, you might want to give it a more > general name like Apache::Watchdog or something so it has roo

Re: ANNOUNCE: Apache::SafeHang

1999-12-12 Thread Ken Williams
[EMAIL PROTECTED] (Stas Bekman) wrote: >> [EMAIL PROTECTED] (Stas Bekman) wrote: >> >Regading Apache::SafeHang, I'll wait for your comments before I upload it >> >to CPAN. Please try to use it. >> >> If this might become a more general utility, you might want to give >> it a more general name lik

Re: Can you get the mod_perl performance gains under NT?

1999-12-12 Thread Bill
Check out FastCGI (http://www.fastcgi.com/) for what looks like a pretty good, language-independent and server-independent (as long as the server supports FastCGI) solution. I think that http://www.fastengines.com/ sells a FastCGI thingy for IIS. - Bill Scott Chapman wrote: > > It seems

Getting/storing big text

1999-12-12 Thread mjhns
Hi, Can folks please tell me what's the best way to pass large-ish amounts of data between invocations of a CGI script. I want to solicit large-ish sections of text and store them in a database. (So friends can maintain their own web-pages.) As I understand it, the user fills out the form (in my

RE: EmbPerl use HTML::Embperl failed

1999-12-12 Thread Gerald Richter
> > "nmake test" did (and does) not work correct !!! First nmake test must run correct, then I guess we have the reason, why offline mode doesn't work > > "nmake test" produces: > > Microsoft (R) Program Maintenance-Dienstprogramm: Version 6.00.8168.0 > Copyright (C) Microsoft Corp 1988-1998. Al

piggybacking data on request ?

1999-12-12 Thread Evgenii Bazarov
Hi everybody! I am looking for way to pass data (e.g. hash reference) from one handler (e.g. from URI Translation to Response). Probably I could derive from Apache request class, and pass data on the request. Or there is simpler way to do this? Cheers, Evg _

more then one PerlTransHandler

1999-12-12 Thread Evgenii Bazarov
Hi! I tried to set more then one PerlTransHandler but if I specify both on the same line, Apache says "syntax error", otherwise it see only the last one. Apache 1.3.6 on Linux with mod_perl 1.19 According to "Apache Modules" book it should be possible... Any advice will be highly appreciated!

Re: piggybacking data on request ?

1999-12-12 Thread Ask Bjoern Hansen
On 12 Dec 1999, Evgenii Bazarov wrote: > I am looking for way to pass data (e.g. hash reference) > from one handler (e.g. from URI Translation to Response). Look at the $r->pnotes method (need v1.20+ to have it documented, but it have worked since v1.18). - ask -- ask bjoern hansen -

Re: piggybacking data on request ?

1999-12-12 Thread Eric L. Brine
> I am looking for way to pass data (e.g. hash reference) > from one handler (e.g. from URI Translation to Response). If the data is request-specific, look into $r->notes() and $r->pnotes(). I don't know what the difference is, but at least one of them does what you want. ELB -- Eric L. Brine

Re: ANNOUNCE: Apache::SafeHang

1999-12-12 Thread Stas Bekman
> >Interesting. Actually that's why I'm not releasing it yet. I've packaged > >it so it would be easier for you to install and try it. But yes, the name > >isn't final and your suggestions sounds like a better one. > > > >The question is: what other functionality would you like to see? > > Hmm -

Re: piggybacking data on request ?

1999-12-12 Thread Stas Bekman
> Hi everybody! > > I am looking for way to pass data (e.g. hash reference) > from one handler (e.g. from URI Translation to Response). > > Probably I could derive from Apache request class, and > pass data on the request. Or there is simpler way to > do this? http://perl.apache.org/guide/porti