Re: perl script not reloading

2002-10-04 Thread Nigel Hamilton
Hi Michael, Add the following to httpd.conf: # Stat the modules so changes don't require the server # to be restarted PerlInitHandler Apache::StatINC This module does a file stat on your scripts and reloads if there has been a change. Nigel It

Re: Response Headers

2002-10-04 Thread Paul Simon
Randy Kobes <[EMAIL PROTECTED]>wrote: On Thu, 3 Oct 2002, Paul Simon wrote: How do HTTP headers work under Registery::ModPerl? set up: windows2000 apache2.0.42 mod_perl/1.99_08-dev Perl/v5.8.0 I had to comment out the following in the CGI script: #print "Expires: " . time2str( time() + 432000

(bug report) SIGALRM problem in mod-perl causes stuck Apache processes.

2002-10-04 Thread Charles Jardine
I have recently seen a number of stuck processes on an Apache server I run. The problem is associated with events which appear to be attacks by the Slapper worm. The server's OpenSSL has been upgraded, so actual penetration by Slapper does not occur. However the stuck processes are inconvenient,

Re: perl script not reloading

2002-10-04 Thread Perrin Harkins
Michael Grant wrote: It seems that as I work on my script, Apache doesn't reload it when the script changes on disk. Are you using Apache::Registry? It only reloads the main file, not any modules you might be using. For that, you need to use Apache::Reload or Apache::StatINC (as Nigel

Re: Response Headers

2002-10-04 Thread Paul Simon
Ok. I answered my own question, using mod_expires. A little off OT... Paul Simon <[EMAIL PROTECTED]>wrote: Randy Kobes <[EMAIL PROTECTED]>wrote: On Thu, 3 Oct 2002, Paul Simon wrote: How do HTTP headers work under Registery::ModPerl? set up: windows2000 apache2.0.42 mod_perl/1.99_08-dev

Another header question

2002-10-04 Thread Paul Simon
Is it possible for me to create aContent-Length header for aCGI script via ModPerl::Registry or Apache? PaulDo you Yahoo!? New DSL Internet Access from SBC & Yahoo!

Re: perl script not reloading

2002-10-04 Thread Harry Danilevsky
I'd recommend a more flexible and efficient module Apache::Reload -- Harry Nigel Hamilton wrote: Hi Michael, Add the following to httpd.conf: # Stat the modules so changes don't require the server # to be restarted PerlInitHandler Apache::StatINC This module does

Re: Response Headers

2002-10-04 Thread Randy Kobes
On Fri, 4 Oct 2002, Paul Simon wrote: On Thu, 3 Oct 2002, Paul Simon wrote: I'm still having problems with sending an Expires in the header. You mentioned, Apache will send one for you, based on, in particular, the DefaultType setting. Can I configure the DefaultType in apache? Yes, you

mod_perl 1.27 core dumps on all requests.

2002-10-04 Thread Richard Homolka
This is a repost of an earlier help request. I'm attaching a core stack trace, and I forgot to mention my httpd.conf, which is bog stock, no changes at all from what you get installed from apache. Constants: static linked mod_perl 1.27, and Perl 5.6, solaris 2.8/sparc. I don't have root, so

PerlHandler Inheritance

2002-10-04 Thread Tom Servo
This is probably a pointless question, but I'm mostly just curious if there is any way to get this to work. I've got two modules, Parent.pm and Child.pm. Parent.pm has a sub handler in it, and Child.pm has Parent in ISA. I can run a little driver script over these two and call Child::handler

Re: PerlHandler Inheritance

2002-10-04 Thread Geoffrey Young
Tom Servo wrote: This is probably a pointless question, but I'm mostly just curious if there is any way to get this to work. I've got two modules, Parent.pm and Child.pm. Parent.pm has a sub handler in it, and Child.pm has Parent in ISA. I can run a little driver script over these

Re: PerlHandler Inheritance

2002-10-04 Thread Tom Servo
That was exactly it, prototyping did the trick perfectly. I honestly had no idea that it would even have an effect on this. Thanks! On Fri, 4 Oct 2002, Geoffrey Young wrote: Tom Servo wrote: This is probably a pointless question, but I'm mostly just curious if there is any way to