on Solaris,
using a different fd-passing API.
--
Roger Espel Llima, [EMAIL PROTECTED]
http://www.iagora.com/~espel/index.html
for that.
--
Roger Espel Llima, [EMAIL PROTECTED]
http://www.iagora.com/~espel/index.html
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
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
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
\
--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
together...
--
Roger Espel Llima, [EMAIL PROTECTED]
http://www.iagora.com/~espel/index.html
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
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
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
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
get back.
--
Roger Espel Llima, [EMAIL PROTECTED]
http://www.iagora.com/~espel/index.html
good ideas that mod_php may have.
--
Roger Espel Llima, [EMAIL PROTECTED]
http://www.iagora.com/~espel/index.html
/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]
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
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]
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
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
inside of each Directory block.
--
Roger Espel Llima, [EMAIL PROTECTED]
http://www.iagora.com/~espel/index.html
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
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
a config file.
--
Roger Espel Llima, [EMAIL PROTECTED]
http://www.iagora.com/~espel/index.html
, 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
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
$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
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
s and give it a 'proper' module name, if there's
interest.
--
Roger Espel Llima, [EMAIL PROTECTED]
http://www.iagora.com/~espel/index.html
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
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
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
[ ... ]
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
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
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
="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
).
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
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.
ndif
OUTPUT:
------ end patch
--
Roger Espel Llima, [EMAIL PROTECTED]
http://www.iagora.com/~espel/index.html
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
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
the name "libapreq"), or CGI.pm.
--
Roger Espel Llima, [EMAIL PROTECTED]
http://www.iagora.com/~espel/index.html
. 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
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
:
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
) 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
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
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
add the session data at the end
of the internal links.
--
Roger Espel Llima, [EMAIL PROTECTED]
http://www.iagora.com/~espel/index.html
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
than once in a request...
--
Roger Espel Llima, [EMAIL PROTECTED]
http://www.iagora.com/~espel/index.html
49 matches
Mail list logo