Re: Does Embperl work with Apache::Filter?

1999-10-27 Thread G.Richter
I'd like to know if the latest Embperl works with Apache::Filter? I.e. can I use Apache::Filter to make redirection calls in Embperl documents work when using a chain? I'm thinking of PerlHandler MyChain::Embperl MyChain::Gzip where MyChain::Embperl and MyChain::Gzip uses the

Re: DBI/Apache::DBI under mod_perl

1999-10-27 Thread James G Smith
Alex Menendez [EMAIL PROTECTED] wrote: this destroy routine is definitely a problem (may or may not be the cause of the error though) apache::dbi over-rides the dbi connect method in order to check an internal hash of cached db handles so that an existing connection can be returned rather than

Cookies, Ad Banners, and Privacy

1999-10-27 Thread Stas Bekman
Something related to a recent (few weeks ago?) discussion of session information passing ... This thread is more of a social content, but worth reading... http://slashdot.org/article.pl?sid=99/10/22/0249212mode=thread It provides more details why people block cookies, which makes developer's

Re: Does Embperl work with Apache::Filter?

1999-10-27 Thread Owen Stenseth
"G.Richter" wrote: I'd like to know if the latest Embperl works with Apache::Filter? I.e. can I use Apache::Filter to make redirection calls in Embperl documents work when using a chain? I'm thinking of PerlHandler MyChain::Embperl MyChain::Gzip where MyChain::Embperl and

Re: Limiting memory used by perl

1999-10-27 Thread Vivek Khera
"JT" == Jason Terry [EMAIL PROTECTED] writes: JT Is there a way to limit the maximum amount of memory that a perl child can JT use? Yes. I assume you also want to know what that method is... so I'll tell ya. Use the Apache::Resource module. --

Re: Trouble sending mail under modperl...

1999-10-27 Thread Gunther Birznieks
The advantage of using sendmail is [1] a centralised MTA config. [2] Graceful handling of problems and requeueing of messages if the SMTP server specified by Net::SMTP would normally be down. eg automatic resilience based on MX record rerouting can be nice. Although in a mod_perl situation, I

Re: Problems with Embperl Session Tracking

1999-10-27 Thread Owen Stenseth
I have found the problem over the weekend. It apears to be a problem with my EmbperlFilter and ApacheSSI. I forgot to mention this important piece of information. Looking back through the list I found reference to the fact that Cookies and Embperl do not work well through the filter. Looking

Problem with Apache-Roaming-0.1002

1999-10-27 Thread Ortwin Gentz
I have problems with Apache::Roaming. "make test" always shows: Skip ./blib/lib/Apache/Roaming/LiPrefs/Config.pm (unchanged) Skip ./blib/lib/Bundle/Apache/Roaming.pm (unchanged) Skip ./blib/lib/Apache/Roaming/LiPrefs.pm (unchanged) Skip ./blib/lib/Apache/Roaming.pm (unchanged)

Re: Trouble sending mail under modperl...

1999-10-27 Thread Robin Berjon
At 14:02 27/10/1999 -0400, Gunther Birznieks wrote: The advantage of using sendmail is [1] a centralised MTA config. [2] Graceful handling of problems and requeueing of messages if the SMTP server specified by Net::SMTP would normally be down. eg automatic resilience based on MX record

Re: Limiting memory used by perl

1999-10-27 Thread Stas Bekman
Is there a way to limit the maximum amount of memory that a perl child can use? Apache::SizeLimit Apache::GTopLimit (this one lets you control the minimum of shared memory as well) ___ Stas Bekman mailto:[EMAIL PROTECTED]

Re: Trouble sending mail under modperl...

1999-10-27 Thread Matt Sergeant
On Wed, 27 Oct 1999, Robin Berjon wrote: At 14:02 27/10/1999 -0400, Gunther Birznieks wrote: The advantage of using sendmail is [1] a centralised MTA config. [2] Graceful handling of problems and requeueing of messages if the SMTP server specified by Net::SMTP would normally be down. eg

RE: W32 + Apache::DBI ?

1999-10-27 Thread Ian Struble
On Tue, 26 Oct 1999, Gerald Richter wrote: I have been digging around in the FAQ and archives for information about people running mod_perl on a windows box and also using Apache::DBI, but have come up with nothing. I am under the impression that it is not going to work becase

Newbie problem with DBI under modperl

1999-10-27 Thread Dan Mahoney
I've got a weird problem here involving DBI under mod_perl. I have a simple Perl script that works from the command line: - #!/usr/local/bin/perl use strict; use DBI; my ($dbh, $sth, $f, $head) = undef; $dbh =

Re: error message

1999-10-27 Thread Joshua Chamas
praveen wrote: Sir, We have recently installed our server having the configuration as- Linux , modperl,apache, samba. The problem we are facing is after few minutes of working server hangs giving the error message as "out of memory" for all the above configuration. Please help me

Re: Newbie problem with DBI under modperl

1999-10-27 Thread James G Smith
Dan Mahoney [EMAIL PROTECTED] wrote: I've got a weird problem here involving DBI under mod_perl. [snip] Hopefully you have a startup script you use to load various modules into the server memory. If so, could you add the following to it: BEGIN { $ENV{DBI_TRACE} = 2; } This will cause DBI

suggestion about PerlRun

1999-10-27 Thread Yasushi Nakajima
Hello All I have made a module derived from PerlRun. It overrides only readscript() method in PerlRun. First I wrote as follows (essencial part only) package Apache::PerlRunFake; use Apache::PerlRun; @ISA = qw(Apache::PerlRun); sub readscript { ... } *handler =

Re: suggestion about PerlRun

1999-10-27 Thread Ken Williams
I think a better solution would be to make PerlRun use real object-oriented thinking (method handlers), something like this: sub handler ($$) { my($class, $r) = @_; my $pr = $class-new($r); ... } My personal philosophy is that any given class's name should only

Re: Apache mod_proxy inefficiencies

1999-10-27 Thread Joshua Chamas
Greg Stark wrote: A lot of people have talked about running a proxy in front of your mod_perl processes, well a word of caution, maybe squid is more efficient, but mod_proxy does a double fork at the end of every request. This is part of the caching file garbage collection but it happens

Re: suggestion about PerlRun

1999-10-27 Thread Yasushi Nakajima
On Wed, 27 Oct 1999 23:24:58 -0500 Ken Williams [EMAIL PROTECTED] wrote: Ken I think a better solution would be to make PerlRun use real object-oriented Ken thinking (method handlers), something like this: Ken Ken sub handler ($$) { Ken my($class, $r) = @_; Ken my $pr =

Re: error message

1999-10-27 Thread Daemeon Reiydelle
Might I add ... As I came to this a bit late, may I suggest some "conservative" numbers to work up from: - Assume each httpd with mod_perl will eat up 6mb of private memory if you set max-requests per child fairly low (e.g. 35). - Take your real memory. Subtract 32Mb. Divide remaining memory by

Re: internal_redirect and POST

1999-10-27 Thread Dmitry Beransky
Yes, I agree. But as (I thought) I had mentioned in an early post, it should be possible to turn on this caching behavior for each individual request before a call to $r-content or $r-read. Cheers Dmitry On 28 Oct 1999, Greg Stark wrote: That makes sense for small pieces of data such as

Re: W32 + Apache::DBI ?

1999-10-27 Thread Ian Struble
On Tue, 26 Oct 1999, Tim Bunce wrote: Can't locate object method "trace_msg" via package "DBI" at C:\Perl\site\5.00503\lib/DBI.pm line 311. END failed--cleanup aborted. That's a known bug that was fixed in DBI 1.10 (I believe). Just FYI, I had the problem in DBI 1.13. It was