Re: mod_perl and 700k files...

2001-05-09 Thread Stas Bekman
On Wed, 9 May 2001, Morbus Iff wrote: > >> Ahhh. Ok. What's this $SIG{'USR2'} thingy. What's that do? > > > >http://perl.apache.org/guide > > Well, that's all fine and dandy, and I've gone through there before, but > the only thing the search engine brings up concerning USR2 is: > >>The ab

Re: Throwing die in Apache::Registry

2001-05-09 Thread Mark Maunder
Thanks Tom. Yeah for XML::Parser line 236 perhaps we can get Clark (Current maintainer according to POD) to change it to return undef if $err; Mark. ps: I'll check that rule (tommorow. ..must...have...sleep..) Tom Harper wrote: > Mark-- > > While you may be having problems with segfaults becau

Re:mod_perl and 700k files...

2001-05-09 Thread Mike Miller
On Wednesday, May 09, 2001, Morbus Iff wrote the following about "mod_perl and 700k files..." MI> >Keep in mind, if you load this data during startup (in the parent) it will MI> >be shared, but reloading it later will make a separate copy in each child, MI> >chewing up a large amount of memory

Re: mod_perl and 700k files...

2001-05-09 Thread Morbus Iff
>> Ultimately, I'm looking for something I can do totally from within Perl. > >Couldn't you create a Perl script to run as a cron job that could stat >the file off-line for you and HUP the server when it has changed? >That would seem easy enough. You'd just have to work out the perms on >the cron

Re: mod_perl and 700k files...

2001-05-09 Thread Ken Y. Clark
On Wed, 9 May 2001, Morbus Iff wrote: > Date: Wed, 09 May 2001 17:45:03 -0400 > From: Morbus Iff <[EMAIL PROTECTED]> > To: Perrin Harkins <[EMAIL PROTECTED]> > Cc: [EMAIL PROTECTED] > Subject: Re: mod_perl and 700k files... > > Ok. Thanks for the replies everybody. Collectively, I'm looking for a

Re: install perl-win32-bin-0.6.exe on win98

2001-05-09 Thread Paul Cotter
Hi I am running it but I am using a different source. The respective psrt of my conf file is LoadModule anon_auth_module modules/mod_auth_anon.so LoadModule dbm_auth_module modules/mod_auth_dbm.so #LoadModule digest_auth_module modules/mod_auth_digest.so #LoadModule cern_meta_module modules/mod_

Re: mod_perl and 700k files...

2001-05-09 Thread Morbus Iff
Ok. Thanks for the replies everybody. Collectively, I'm looking for a solution that DOES NOT require an Apache restart, or one that requires me to use a kill/killall command. I'm not in front of the server 100%, and I won't have access to telnet/ssh in to issue commands. Ultimately, I'm lookin

Re: mod_perl and 700k files...

2001-05-09 Thread Tim Tompkins
kill -s USR2 {process id} see: man kill see also: man killall This is just one way to handle it. It, of course, requires that you manually send the signal to the process when your data file has changed. Using this method eliminates the need to stat() the datafile with each request to see if it

RE: mod_perl and 700k files...

2001-05-09 Thread Rob Bloodgood
> That, unfortunately doesn't tell me what causes a USR2 signal to > be sent to > Apache. Or when it's caused. I only want to reload the file when > said file > has changed. Am I supposed to do some checking against the file -M time > myself, and then send a USR2 signal myself? USR2 only fires wh

Re: mod_perl and 700k files...

2001-05-09 Thread ___cliff rayman___
Morbus Iff wrote: > >> Ahhh. Ok. What's this $SIG{'USR2'} thingy. What's that do? > > has changed. Am I supposed to do some checking against the file -M time > myself, and then send a USR2 signal myself? > yes. this method assumes that the administrator of apache has made a change to a file an

Re: mod_perl and 700k files...

2001-05-09 Thread Perrin Harkins
on 5/9/01 5:14 PM, Morbus Iff at [EMAIL PROTECTED] wrote: > That, unfortunately doesn't tell me what causes a USR2 signal to be sent to > Apache. You can use the kill command to send a USR2 signal. > Or when it's caused. When you send it. > I only want to reload the file when said file > has c

Re: mod_perl and 700k files...

2001-05-09 Thread Ken Y. Clark
On Wed, 9 May 2001, Morbus Iff wrote: > Date: Wed, 09 May 2001 17:14:10 -0400 > From: Morbus Iff <[EMAIL PROTECTED]> > To: G.W. Haywood <[EMAIL PROTECTED]> > Cc: [EMAIL PROTECTED] > Subject: Re: mod_perl and 700k files... > > >> Ahhh. Ok. What's this $SIG{'USR2'} thingy. What's that do? > > >

Re: mod_perl and 700k files...

2001-05-09 Thread G.W. Haywood
Hi again, On Wed, 9 May 2001, Morbus Iff wrote: > >> Ahhh. Ok. What's this $SIG{'USR2'} thingy. What's that do? > > > >http://perl.apache.org/guide > > Well, that's all fine and dandy, and I've gone through there before, but > the only thing the search engine brings up concerning USR2 is: >

Re: mod_perl and 700k files...

2001-05-09 Thread Morbus Iff
>> Ahhh. Ok. What's this $SIG{'USR2'} thingy. What's that do? > >http://perl.apache.org/guide Well, that's all fine and dandy, and I've gone through there before, but the only thing the search engine brings up concerning USR2 is: >The above code asigns a signal handler for the USR2 signal

Re: mod_perl and 700k files...

2001-05-09 Thread G.W. Haywood
Hi there, On Wed, 9 May 2001, Morbus Iff wrote: > Ahhh. Ok. What's this $SIG{'USR2'} thingy. What's that do? http://perl.apache.org/guide 73, Ged.

Re: mod_perl and 700k files...

2001-05-09 Thread Morbus Iff
At 04:24 PM 5/9/01, Robert Landrum wrote: >At 3:51 PM -0400 5/9/01, Morbus Iff wrote: >>** The 700k file is an XML file, read in by XML::Simple. XML::Simple >>can cache that file into memory. Is this how I should do it? Or >>should I load the file from my startup.pl script so that the file is

Re: mod_perl and 700k files...

2001-05-09 Thread Robert Landrum
At 3:51 PM -0400 5/9/01, Morbus Iff wrote: >** The 700k file is an XML file, read in by XML::Simple. XML::Simple >can cache that file into memory. Is this how I should do it? Or >should I load the file from my startup.pl script so that the file is >shared amongst all the apache children? If tha

mod_perl and 700k files...

2001-05-09 Thread Morbus Iff
Hey there, wondering if anyone could help me with this. I'm relatively new to mod_perl... I've got a 700k file that is loaded each time I run a CGI script, so I'm hoping to cache the file using mod_perl somehow. The file will change occasionally (maybe once a week) - the reload of a few second

FW: authorization and mod_perl

2001-05-09 Thread Rob Bloodgood
I had intended this to CC: to the list... > > AuthName"foo control" > AuthTypeBasic > PerlAuthenHandlerApache::OK > PerlAuthzHanlderWW_authz > PerlSetVarMaskGeek > requireusermaskgeeky > I have a similar setup, and my directory/authentication blo

Re: authorization and mod_perl

2001-05-09 Thread will trillich
On Wed, May 09, 2001 at 10:10:19AM -0500, John Saylor wrote: > Perhaps this is obvious, or said somewhere that I haven't looked; but > I'm having trouble figuring it out. it feels like "everything is obvious to everyone but me" doesn't it? :) > What I want is for a certain directory tree to be b

Perl Sections: command_rec for directive `ISA' not found!

2001-05-09 Thread Jonathan Hilgeman
Seeing that nobody answered your question or posted the answer, I had to overcome this same problem. The problem was the Perl libraries that were installed (or not installed). You need to reinstall / install the Bundle::DBI package and the correct modules for it. In my case, I was trying to dynami

Re: install perl-win32-bin-0.6.exe on win98

2001-05-09 Thread David Lanzarote García
On Tue, 8 May 2001, Randy Kobes wrote: > On Mon, 7 May 2001, David Lanzarote García wrote: > > > I'm using perl-win32-bin-0.6.exe package, so I use the Perl > > and Apache binaries that come with it. When everything is unpacked > > I move the perl subdirectory to c:\Prel, the apache subdirecto

authorization and mod_perl

2001-05-09 Thread John Saylor
Hi Perhaps this is obvious, or said somewhere that I haven't looked; but I'm having trouble figuring it out. What I want is for a certain directory tree to be behind an authorization handler; however, the content behind this directory tree consists of handlers and aliases. And the authentication

Re: [OT] 128 bit encryption and IE

2001-05-09 Thread Christoph Wernli
Geoffrey Young wrote: > > unfortunately, the client has a requirement that _only_ 128 bit be allowed. > I think, though, that I may be able to use your suggestion to at least show > a page saying that an upgrade to 128 is required. Another approach lies here:

Re: capturing subrequest output (have things changed)

2001-05-09 Thread Chris Strom
"Anand Raman" <[EMAIL PROTECTED]> writes: > hi guys > I just started off using modperl so excuse me if this has been answered. > > Is there a way to capture output from a subrequest.. rather than > allowing the subrequest to directly output the response to the client > browser. > > I need to b