Re: VirtualHost + PerlSetVar

2003-12-20 Thread Paul G. Weiss
Rats! PerlPostConfigHandler appears to have absolutely no effect when placed inside a scope. It does indeed run when placed outside. I know this because I have something like: open(H, ">", "/tmp/output"); print H "something\n" in my handler and the file written to only when PerlPostConfigHan

Shared memory broke ;.;

2003-12-20 Thread Daniel Wilson
Moved my site to a new server. Old Server PID USER PRI NI SIZE RSS SHARE STAT %CPU %MEM TIME CPU COMMAND 30056 apache 9 0 10964 10M 10288 S 0.0 0.7 0:00 0 httpd 30057 apache 9 0 10964 10M 10288 S 0.0 0.7 0:00 0 httpd 30058 apache 9 0 10964 10M 1028

Re: directive says no perl handler specified

2003-12-20 Thread Chris Winters
This directive is within a virtual host section. I also installed bundle::openinteract use lib qw( /var/www/html/thenetdragon/www ); OpenInteract needs this to function properly. (/etc/httpd/conf.d)> service httpd restart FWIW, OpenInteract doesn't work with Apache2/mod_perl2, and AFAIK it proba

Re: directive says no perl handler specified

2003-12-20 Thread Stas Bekman
Brian Bober wrote: http://nagoya.apache.org/bugzilla/show_bug.cgi?id=25175 Running Redhat 9, Apache 2.0.40 See http://perl.apache.org/bugs/ This directive is within a virtual host section. I also installed bundle::openinteract use lib qw( /var/www/html/thenetdragon/www ); OpenInteract needs thi

directive says no perl handler specified

2003-12-20 Thread Brian Bober
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=25175 Running Redhat 9, Apache 2.0.40 This directive is within a virtual host section. I also installed bundle::openinteract use lib qw( /var/www/html/thenetdragon/www ); OpenInteract needs this to function properly. (/etc/httpd/conf.d)> serv

Re: VirtualHost + PerlSetVar

2003-12-20 Thread Paul G. Weiss
Great suggestion. I'll certainly try that. As to why I expected PerlSetVar to be available during startup, it is because that is how it was with mod_perl1, and I wasn't considering the fact that configuration in mod_perl2 is a very different animal. I'll pass your suggestion on to the maintai

Re: Problems with configuring mod_perl / apache 1.3.29 and mod ssl -2.8.16-1.3.29

2003-12-20 Thread Stas Bekman
[EMAIL PROTECTED] wrote: Newbie to mod_perl question...thanks in advance for any assistance. I am experiencing a problem trying to configure mod_perl-1.99_11 with apache 1.3.29 and mod_ssl-2.8.16-1.3.29. See: http://perl.apache.org/bugs/ http://perl.apache.org/docs/2.0/user/help/help.html#Wrong_A

Re: introducing new code with no perceived user delays?

2003-12-20 Thread Randal L. Schwartz
> "Stas" == Stas Bekman <[EMAIL PROTECTED]> writes: Stas> You obviously do get the credit, but in the contributor logs, not in Stas> the text itself: Stas> http://perl.apache.org/search/swish.cgi?query=randal&sbm=&submit=search Stas> http://perl.apache.org/about/contributors/other.html#Contrib

Re: using pnotes to store/retrieve Class::DBI objects?

2003-12-20 Thread Stas Bekman
Eric J. Hansen wrote: Hurrah! Its working now. Thank you! Cool. Thanks for the report. I'll commit it after releasing 1.99_12 on Monday, so it'll be available in 1.99_13 hopefully somewhere next month. I can't add it to 1.99_12 since it wasn't tested. When I try to retrieve this Class::DBI ob

Re: introducing new code with no perceived user delays?

2003-12-20 Thread Stas Bekman
Fred Moyer wrote: looks familiar. Do I get credit? :) You obviously do get the credit, but in the contributor logs, not in the text itself: http://perl.apache.org/search/swish.cgi?query=randal&sbm=&submit=search http://perl.apache.org/about/contributors/other.html#Contributors I'm not familiar

Problems with configuring mod_perl / apache 1.3.29 and mod ssl -2.8.16-1.3.29

2003-12-20 Thread lwa
Newbie to mod_perl question...thanks in advance for any assistance. I am experiencing a problem trying to configure mod_perl-1.99_11 with apache 1.3.29 and mod_ssl-2.8.16-1.3.29. I can sucessfuly configure & build apache & mod ssl without problem, but whe trying to configure mod perl I get the fo

RE: using pnotes to store/retrieve Class::DBI objects?

2003-12-20 Thread Eric J. Hansen
Hurrah! Its working now. Thank you! Eric > > When I try to retrieve this Class::DBI object from the Cleanup > > Handler, the pnotes values are totally gone. However, > regular scalers > > that I've put in 'notes' are still there. Perhaps pnotes has (by > > design) already been cleaned up

Re: introducing new code with no perceived user delays?

2003-12-20 Thread Fred Moyer
On Sat, 2003-12-20 at 20:29, Randal L. Schwartz wrote: > > "Fred" == Fred Moyer <[EMAIL PROTECTED]> writes: > > Fred> < =head2 Blocking IP Addresses > Fred> < > Fred> < The following rewrite code blocks IP addresses: > Fred> < > Fred> < RewriteCond /web/site/var/blocked/REMOTE_ADDR-%{REMOTE_

Re: introducing new code with no perceived user delays?

2003-12-20 Thread Randal L. Schwartz
> "Fred" == Fred Moyer <[EMAIL PROTECTED]> writes: Fred> < =head2 Blocking IP Addresses Fred> < Fred> < The following rewrite code blocks IP addresses: Fred> < Fred> < RewriteCond /web/site/var/blocked/REMOTE_ADDR-%{REMOTE_ADDR} -f Fred> < RewriteRule .* http://YOUR-HOST-BLOCKED-FOR-EXCESS

Re: introducing new code with no perceived user delays?

2003-12-20 Thread Fred Moyer
On Thu, 2003-12-18 at 04:15, Stas Bekman wrote: > Rob Nagler wrote: > > Brian Hirt writes: > > > >>Once everything is running on the > >>new mod perl, i shut down the original mod perl application. There is > >>about 0.5 seconds of lag while the proxy reloads the rules. > > > > > > We use pro

Re: Storing variables in memory

2003-12-20 Thread harm
On Sat, Dec 20, 2003 at 11:16:53AM -0500, Perrin Harkins wrote: > Eric Sammer wrote: > >I've had fantastic luck with MLDBM::Sync thus far, not that it's the all > >in one wonder tool. > > I think it's a great tool, especially when you need easy access to > complex data structures, but I wanted t

Re: Storing variables in memory

2003-12-20 Thread Perrin Harkins
Eric Sammer wrote: I've had fantastic luck with MLDBM::Sync thus far, not that it's the all in one wonder tool. I think it's a great tool, especially when you need easy access to complex data structures, but I wanted to point the non-intuitive fact that a local MySQL can be a great cache for a r

Re: Storing variables in memory

2003-12-20 Thread Eric Sammer
Perrin Harkins wrote: Eric Sammer wrote: Any DBM file or shared memory caching will be infinitely faster than making a DB round trip. Actually, it turns out that this is no longer true. MySQL is really fast these days. A simple query on a local MySQL is faster than just about anything except

Re: Storing variables in memory

2003-12-20 Thread Perrin Harkins
Eric Sammer wrote: Any DBM file or shared memory caching will be infinitely faster than making a DB round trip. Actually, it turns out that this is no longer true. MySQL is really fast these days. A simple query on a local MySQL is faster than just about anything except IPC::MM or BerkeleyDB (

Re: Storing variables in memory

2003-12-20 Thread Eric Sammer
Chris Ochs wrote: I have an application where known users connect, and normally I do a db query to get their configuration information. What I would like to do is preload all of this information into memory, say into a global hash where all the mod perl processes can access it. You want to use one