[ANNOUNCE] lingerd 0.94

2001-10-25 Thread Roger Espel Llima
on Solaris, using a different fd-passing API. -- Roger Espel Llima, [EMAIL PROTECTED] http://www.iagora.com/~espel/index.html

Re: [OT] Perl daemons (was Re: Excellent article on Apache/mod_perl at eToys)

2001-10-24 Thread Roger Espel Llima
for that. -- Roger Espel Llima, [EMAIL PROTECTED] http://www.iagora.com/~espel/index.html

Re: modperl Digest 17 Sep 2001 14:50:16 -0000 Issue 545

2001-09-18 Thread Roger Espel Llima
Stas Bekman [EMAIL PROTECTED] wrote: Also check the archives for 'lingerd' keyword. Here is what I've but it didn't enter the guide yet, since it's waiting to be reviewed by Roger Espel Llima, the author of lingerd. ...and waiting, and waiting, and waiting :( sorry, I've had a bunch

Re: [BUG] $r-subprocess_env() leaking to %ENV

2001-07-18 Thread Roger Espel Llima
in mod_ssl. if CGI scripts can't read notes, then it should be mod_cgi's job to turn a bunch of notes into envs, preferably after the fork and before the exec, so the parent process' environment doesn't get polluted. -- Roger Espel Llima, [EMAIL PROTECTED] http://www.iagora.com/~espel/index.html

Re: @INC and mod_perl - PerlSetEnv PERL5LIB ... doesn't seem to work

2001-04-11 Thread Roger Espel Llima
ssl-apache/perl-lib ; export PERL5LIB to /usr/local/new-apache/bin/apachectl Looking at /perl-status's Modules page, @INC looks good. -- Roger Espel Llima, [EMAIL PROTECTED] http://www.iagora.com/~espel/index.html

Re: lingerd mod_perl mod_ssl

2001-02-28 Thread Roger Espel Llima
\ --enable-module=perl make make certificate make install Let me know if something like that works for you... I want to officially support mod_ssl in the next release of lingerd, but I need more test data! Roger -- Roger Espel Llima, [EMAIL PROTECTED] http://www.iagora.com/~espel

Re: lingerd mod_perl mod_ssl

2001-02-27 Thread Roger Espel Llima
together... -- Roger Espel Llima, [EMAIL PROTECTED] http://www.iagora.com/~espel/index.html

ANNOUNCE: lingerd 0.93

2001-02-15 Thread Roger Espel Llima
cosmetic changes in the code and documentation, but you don't really need to upgrade if you're already running an older lingerd. On non-Linux systems, more testing is still needed. -- Roger Espel Llima, [EMAIL PROTECTED] http://www.iagora.com/~espel/index.html

Re: Linux Hello World Benchmarks: +PHP,JSP,ePerl

2001-01-04 Thread Roger Espel Llima
on Apache's dynamic page performance. Apache uses multiple processes, and dynamic page generation is generally CPU bound, not I/O bound. -- Roger Espel Llima, [EMAIL PROTECTED] http://www.iagora.com/~espel/index.html

Re: Fwd: [speedycgi] Speedycgi scales better than mod_perl withscriptsthat contain un-shared memory

2001-01-04 Thread Roger Espel Llima
wo as part of the lingering_close routine, but it doesn't have to wait for the client to finish reading all the data. Fortunately enough, spoonfeeding data to slow clients is handled by the OS kernel. -- Roger Espel Llima, [EMAIL PROTECTED] http://www.iagora.com/~espel/index.html

Re: [bordering on OT] Re: Linux Hello World Benchmarks: +PHP,JSP,ePerl

2001-01-04 Thread Roger Espel Llima
up to 4, but don't increase anymore after that. That is serving relatively slow dynamic pages; with static content I'd expect more rapidly diminishing returns. -- Roger Espel Llima, [EMAIL PROTECTED] http://www.iagora.com/~espel/index.html

UPDATE: lingerd

2000-12-15 Thread Roger Espel Llima
get back. -- Roger Espel Llima, [EMAIL PROTECTED] http://www.iagora.com/~espel/index.html

Re: Mod_perl vs mod_php

2000-12-13 Thread Roger Espel Llima
good ideas that mod_php may have. -- Roger Espel Llima, [EMAIL PROTECTED] http://www.iagora.com/~espel/index.html

sharing sockets

2000-12-07 Thread Roger Espel Llima
/pub/software/lingerd/lingerd-0.91b.tar.gz ) -- Roger Espel Llima, [EMAIL PROTECTED] http://www.iagora.com/~espel/index.html - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

ANNOUNCE: lingerd 0.91b

2000-12-05 Thread Roger Espel Llima
lone patch to Apache, that makes processes in lingering_close visible in /server-status. You can use this to check if lingerd would be useful for your server. For further instructions, read the files `README', `INSTALL' and `testing/TESTING' in the tarball. -- Roger Espel Llima, [EMAIL PROTE

Re: ANNOUNCE: lingerd 0.91b

2000-12-05 Thread Roger Espel Llima
rite works too. -- Roger Espel Llima, [EMAIL PROTECTED] http://www.iagora.com/~espel/index.html - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Tempfile and send_fd()

2000-11-17 Thread Roger Espel Llima
of the OO file packages, as you see fit; both sets of IO functions will work on a filehandle no matter how it was opened. Personally, I don't like the magic parsing in open(), so I tend to use sysopen() always, in combination with the usual read//print/seek. -- Roger Espel Llima, [EMAIL

Re: Memory Usage

2000-11-08 Thread Roger Espel Llima
he::Reload, but I've been reluctant to use it because it would presumably reload the modules separately in each child, and therefore leaving them unshared. So for the moment what I do is restart apache for real every couple weeks. It's only a couple seconds of downtime... -- Roger Espel Llima, [E

Re: modperl Digest 12 Oct 2000 09:31:25 -0000 Issue 209

2000-10-13 Thread Roger Espel Llima
inside of each Directory block. -- Roger Espel Llima, [EMAIL PROTECTED] http://www.iagora.com/~espel/index.html

Re: [DIGEST] mod_perl digest 9/24/2000

2000-10-04 Thread Roger Espel Llima
at this point to increase mod_perl's visibility. Have you contacted the people at e.g LWN.net, so they can link to the digest in their "linux ( free software) weekly news"? -- Roger Espel Llima, [EMAIL PROTECTED] http://www.iagora.com/~espel/index.html

Re: patches to mod_proxy (was: Re: mod_perl guide corrections)

2000-09-20 Thread Roger Espel Llima
when it's under 16k or some similar limit, that I just think it's much more "obviously right" to do it that way. -- Roger Espel Llima, [EMAIL PROTECTED] http://www.iagora.com/~espel/index.html

Re: SELECT cacheing

2000-09-08 Thread Roger Espel Llima
a config file. -- Roger Espel Llima, [EMAIL PROTECTED] http://www.iagora.com/~espel/index.html

Re: SELECT cacheing

2000-09-08 Thread Roger Espel Llima
, the cart listing does need to be current. How do you handle this situation? the module gets the expiration time. if it's 0 or negative, it ignores the cache and reads straight from the db. -- Roger Espel Llima, [EMAIL PROTECTED] http://www.iagora.com/~espel/index.html

Re: SELECT cacheing

2000-09-08 Thread Roger Espel Llima
handle concurrent reads writes. I really prefer Storable or something like it, for this application. So each cached value is a file, and we can use the filesystem and its lastmod metadata, and standard tools like find or File::Find (or whatever its name is) to clean up. -- Roger Espel Llima, [EMAIL

Re: open(FH,'|qmail-inject') fails

2000-09-07 Thread Roger Espel Llima
$from" if defined $name; print MAIL "From: $from\n"; print MAIL "To: $to\n"; print MAIL "Subject: $subject\n\n"; print MAIL $message, "\n"; close MAIL; return 1; } else { # child exec("/var/qmail/bin/qmail-i

Re: open(FH,'|qmail-inject') fails

2000-09-07 Thread Roger Espel Llima
On Thu, Sep 07, 2000 at 01:25:21PM -0700, Randal L. Schwartz wrote: "Roger" == Roger Espel Llima [EMAIL PROTECTED] writes: Roger # limit allowed characters in email addresses Roger $to =~ tr/-a-zA-Z0-9_+%$.,:!@=()[]//cd; * An email address can have ANY CHARACTER OF THE

SELECT cacheing

2000-09-07 Thread Roger Espel Llima
s and give it a 'proper' module name, if there's interest. -- Roger Espel Llima, [EMAIL PROTECTED] http://www.iagora.com/~espel/index.html

Re: Milage may vary comments

2000-08-18 Thread Roger Espel Llima
r their last request, you should really start Apache/mod_perl with PERL_DESTRUCT_LEVEL=-1. which includes error_log, gdb, strace, PERL_TRACE (on UNIX of course). I humbly bow to the Gods of Unix, in thankfulness for the strace command. -- Roger Espel Llima, [EMAIL PROTECTED] http://w

Re: Redirects issues...

2000-08-16 Thread Roger Espel Llima
err_cookies is: sub err_cookies { my $r = shift; my @cookies = $r-headers_out-get("Set-Cookie"); $r-err_headers_out-add("Set-Cookie" = \@cookies); } That seems to do the trick for me. -- Roger Espel Llima, [EMAIL PROTECTED] http://www.iagora.com/~espel/index.html

socket buffering and the need for front-end proxies

2000-08-11 Thread Roger Espel Llima
try to find a moment to log the lingering_close times on a real server... -- Roger Espel Llima, [EMAIL PROTECTED] http://www.iagora.com/~espel/index.html

Re: proxying name-based virtual hosts

2000-08-11 Thread Roger Espel Llima
[ ... ] thanks, that is more or less what it was thinking of doing, it's good to know in advance that it works :) -- Roger Espel Llima, [EMAIL PROTECTED] http://www.iagora.com/~espel/index.html

proxying name-based virtual hosts

2000-08-10 Thread Roger Espel Llima
he backend getting it in a new header (eg. X-Original-Host), using an approach similar to mod_proxy_add_forward.c. -- Roger Espel Llima, [EMAIL PROTECTED] http://www.iagora.com/~espel/index.html

Re: [ANNOUNCE] Apache::Dispatch-0.03

2000-08-08 Thread Roger Espel Llima
uite a bit of testing to get it working. :) Incidentally, does anyone know of a way to do this that works under strict? The above requires a "no strict 'refs'" to work. -- Roger Espel Llima, [EMAIL PROTECTED] http://www.iagora.com/~espel/index.html

Re: Templating System

2000-07-27 Thread Roger Espel Llima
="one_row" % /table and the code for Your::Module::fill_rows would be something like: sub fill_rows { my ($self, $args) = @_; my ($sec, $ret) = ($args-{repeat}, ""); foreach my $nc (get_name_counts()) { $self-assign_raw(row_name = $nc-[0], row_coun

Re: Templating System

2000-07-27 Thread Roger Espel Llima
). The advantage of this becomes obvious when you start using templating techniques to share html code among pages: design bits, common navigation for the site, for parts of the site, etc. Then the plain files for each of the pages can't be used statically for a "dry test" anymore. -- Roger Espel Lli

Re: PerlSetupEnv is evil

2000-07-25 Thread Roger Espel Llima
On Mon, Jul 24, 2000 at 05:47:46PM +0200, Eric Cholet wrote: I've just committed a change which fixes this. Please try it and let me know if it works for you. It does; now a single global "PerlSetupEnv Off" does the job. Thanks! -- Roger Espel Llima, [EMAIL PROTECTED] http://www.

BUG in $r-filename

2000-07-18 Thread Roger Espel Llima
ndif OUTPUT: ------ end patch -- Roger Espel Llima, [EMAIL PROTECTED] http://www.iagora.com/~espel/index.html

Re: The Eagle has landed!

2000-07-12 Thread Roger Espel Llima
with BEGIN { unshift @INC, "/www/perl" if $INC[0] ne '/www/perl' } and nothing else could possibly be putting "/www/perl" in @INC (Apache's root is /usr/local/apache). I guess I've been using an undocumented behavior all long... -- Roger Espel Llima, [EMAIL PROTECTED] http://w

Re: Apache::ASP and post-POST redirect

2000-07-07 Thread Roger Espel Llima
in apache tries to read it again, it finds that there is none to read. -- Roger Espel Llima, [EMAIL PROTECTED] http://www.iagora.com/~espel/index.html

Re: getting data posted to site

2000-06-29 Thread Roger Espel Llima
the name "libapreq"), or CGI.pm. -- Roger Espel Llima, [EMAIL PROTECTED] http://www.iagora.com/~espel/index.html

Re: perl vs java

2000-06-13 Thread Roger Espel Llima
. Anyway, limiting myself to platforms where select() works doesn't strike me as a bad thing... -- Roger Espel Llima, [EMAIL PROTECTED] http://www.iagora.com/~espel/index.html

Re: perl vs java

2000-06-12 Thread Roger Espel Llima
expect this setup to handle a few hundred simultaneous users easily. If you want more, use a standard irc daemon as a hub, and connect several such perl servers to it; if you want to have a java applet client too, it can talk directly to the irc server. -- Roger Espel Llima, [EMAIL PROTECTED] http

OT: Browsers (was: Re: Wierd user agent strings)

2000-06-05 Thread Roger Espel Llima
: MSIE-5: 69.59% MSIE-4: 28.12% MSIE-3: 1.82% MSIE-2: 0.30% -- Roger Espel Llima, [EMAIL PROTECTED] http://www.iagora.com/~espel/index.html

Re: elusive, disappearing notes?

2000-05-31 Thread Roger Espel Llima
) would/should have no notes... this makes sense in my head, but my head is weird - I could be wrong... okay, that makes sense in my head too. I'll just stick the data on a global variable and clear it at the end of the request... thanks! -- Roger Espel Llima, [EMAIL PROTECTED] http

getting the hostname from a TransHandler

2000-05-17 Thread Roger Espel Llima
erlTransHandlers run before full header parsing, so $r-header_in might not be recommended at that point... any clues? -- Roger Espel Llima, [EMAIL PROTECTED] http://www.iagora.com/~espel/index.html

Re: getting the hostname from a TransHandler

2000-05-17 Thread Roger Espel Llima
On Wed, May 17, 2000 at 03:15:01PM -0400, Geoffrey Young wrote: I don't think so - request-header parsing happens prior to the PostReadRequest phase. all headers_in are available to you by uri translation. hmm.. the eagle book seems to say the opposite. anyway, it works :) -- Roger Espel

Re: [Summation] 100% sessions?

2000-05-10 Thread Roger Espel Llima
add the session data at the end of the internal links. -- Roger Espel Llima, [EMAIL PROTECTED] http://www.iagora.com/~espel/index.html

Re: Implementing security in CGI

2000-04-24 Thread Roger Espel Llima
with each page, so by the time the user tries to log in, we know if cookies are on or not. If they're on, send a cookie; if not, turn on URL rewriting. As for JavaScript, don't get me started on sites that require it for navigation -- Roger Espel Llima, [EMAIL PROTECTED] http://www.iagora.com

problem with POST data and returning NOT_FOUND

2000-04-20 Thread Roger Espel Llima
than once in a request... -- Roger Espel Llima, [EMAIL PROTECTED] http://www.iagora.com/~espel/index.html