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: OT: Is there a general question apache mailing list?

1999-10-27 Thread Greg Stark
Two things wrong, 1) as others have pointed out you need Options +Includes 2) you need a space before the --> otherwise it's misparsed (you must _not_ have a space in or after the > > Normally, on other web sites this is a painless procedure. The httpd.conf > is pretty much unmodified as

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: 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 $p

Re: internal_redirect and POST

1999-10-27 Thread Greg Stark
Dmitry Beransky <[EMAIL PROTECTED]> writes: > My apologies for continuing this topic, but I've been thinking some more > about this issue over the weekend. I'm still perplexed by this seemingly > arbitrary limitation on the number of times a request body can be read. It > seems that, at lea

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 happen

Apache mod_proxy inefficiencies

1999-10-27 Thread Greg Stark
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 even if you don't have cac

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 b

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: 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 D

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 h

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 = DBI->connect("dbi:m

Re: DBI/Apache::DBI under mod_perl

1999-10-27 Thread James G Smith
I think I just found the bug. Reading source code can be fun! :) Seems the MySQL backend was having the problems. Restarting it cleared up the errors. I'm not sure if there's something about Apache::DBI aggrevating the daemon or not (I don't need to pursue this further right now), but it's wor

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.

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 bec

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

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 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 rer

error message

1999-10-27 Thread praveen
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 as soon as possibl

Recent breakage: apache-1.3.9 + mod_perl-1.21 (APXS)

1999-10-27 Thread Sheldon Hearn
Hi folks, I'm moving the FreeBSD port for mod_perl from an httpd binary replacement to a DSO addition using apxs. I'm not sure what changed between 2 weeks ago and now, but I'm finding I have to patch the apaci/configure file as follows: --- apaci/configure.origTue Oct 26 15:23:06 199

core dump on RH6.1/Apache 1.3.9/mod_perl 1.21

1999-10-27 Thread Stephane Benoit
I have recently upgraded from RH6.0 to RH6.1 I'm using Apache 1.3.9, mod-perl 1.21 with perl5.00503 recompiled for the occasion, as well as mod_perl, and it core dumps just before spawning child httpd processes. I had no trouble before on RH6.0 with Apache 1.3.6/mod_perl 1.21. I use a httpd.conf w

Re: Patch for Apache::AuthCookie

1999-10-27 Thread Ken Williams
Hi folks, I haven't gotten any response about this. My email to Eric Bartley (the author of Apache::AuthCookie) bounced - does anyone know how to contact him, or whether there's a new maintainer? If we can't find him, I suppose we should either make a new module for this (Apache::CookieAuth?) o

Re: Trouble sending mail under modperl...

1999-10-27 Thread Nicolas MONNET
On Tue, 26 Oct 1999, Dave Mee wrote: |Hello, mod_perloids. | |I'm having a gutfull of trouble sending mail under mod_perl. I'm doing |it by the books, to wit, the cookbook and the bigbirdie book, under rh |linux 5.2. | |the code is | | warn ("MAIL: Opening sendmail... path is \"".$sendmailpat

mod_perl job in Ann Arbor, MI

1999-10-27 Thread Rojnuckarin, Atipat
Hi, Our group is looking for a full-time mod_perl developer to work on a customizable portal (ala "My XYZ") to our research information. Our production environment consists of plain CGI scripts, mod_perl handlers and Apache::ASP pages. Job qualifications include: + extensive experience wit

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) > PERL_DL_N

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 thro

mod-perl logo

1999-10-27 Thread Kent, Mr. John
Sirs, I wish to use the mod-perl "camel feather" logo at the bottom of my U.S. government web page, but I don't want, and in fact am forbidden from having a "Camel logo belongs to O'Reilly and is used by permission". May I use the mod-perl logo without the permission statement. Page in questi

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 u

Re: Limiting memory used by perl

1999-10-27 Thread Thomas Eibner
On Wed, 27 Oct 1999, Jason Terry wrote: > Is there a way to limit the maximum amount of memory that a perl child can > use? Have you tried looking at the core function RLimitMEM? http://www.apache.org/docs/mod/core.html#rlimitmem It's worth a try. Don't know if this is excactly what you're loo

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. -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

Limiting memory used by perl

1999-10-27 Thread Jason Terry
Is there a way to limit the maximum amount of memory that a perl child can use?

Re: Cookies, Ad Banners, and Privacy

1999-10-27 Thread Nick Tonkin
On Wed, 27 Oct 1999, Stas Bekman wrote: > > 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/0249212&mode=thread > > It provides more de

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 MyC

Re: Problems with dynamically-loaded perl modules under Solaris2.5.1

1999-10-27 Thread Dan Rench
On Wed, 27 Oct 1999, Francesc Guasch wrote: > what's the ld version you use ?, make sure you compiled perl using the > solaris hints you can find in the perl sources. I've got GNU ld 2.9.1, but the perl Configure said GNU ld won't build perl, so it used /usr/ccs/bin/ld (version 3.0). I compile

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/0249212&mode=thread It provides more details why people block cookies, which makes developer's l

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 th

Re: Any help showing examples of database only web site w/mod_perl/mysql

1999-10-27 Thread Sebastian Ahrens
Jon J schrieb: > That is what I did for our site. We have a members only section that > allows them to have web access to some configurable pieces of their > services. We store their encrypted account password as a column in the > table that hold account info. When they try to access the protecte

Re: Problem Apache_SSL 1.37 + Apache 1.3.9 + openSSL 0.9.4 + mod_perl 1.21 crashing

1999-10-27 Thread The Doctor
On Tue, Oct 26, 1999 at 10:39:10AM -0400, Vivek Khera wrote: > > "TD" == The Doctor <[EMAIL PROTECTED]> writes: > > TD> When I attempt to start perlified httpsd, I get > TD> no symbol: PL_dowarn. > > TD> Any pointers? > > Yes, but it is dangling: > > ldd httpsd > > Now figure out how to

Re: Problems with dynamically-loaded perl modules under Solaris 2.5.1

1999-10-27 Thread Francesc Guasch
Dan Rench wrote: > > I'm having problems with modules that use DynaLoader (Data::Dumper and > Storable, specifically) under mod_perl on Solaris machines. > > These modules work fine in standalone scripts, or when run under mod_cgi > or mod_fastcgi, but as soon as I put a "use Storable" in a mod_

Problem with Apache-Roaming-0.1002

1999-10-27 Thread lists . modperl
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) > PERL_DL_N

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 f

Does Embperl work with Apache::Filter?

1999-10-27 Thread Dirk Lutzebaeck
Hi Gerald, Hi Ken, 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 t