Hi,
I'm writing a PerlProcessConnectionHandler. It starts:
sub handler {
my $c = shift;
my $sock = $c->client_socket;
$sock is an instance of APR::Socket. The problem is that the connection
is using SSL and I need to be able to read/write the unencrypted socket
stream. If $sock was an i
* on the Thu, Jun 23, 2005 at 07:43:08AM -0400, Geoffrey Young wrote:
> intelligently worrying about the browser cache will help your performance a
> great deal. there's an entire section in the perl.apache.org docs about it.
This is the logic I use. It may help someone.
Where $cache is the num
Hi,
I installed the new release of ModPerl2 today. I've not used any of the
betas previously so am not sure if the problem is specific to this
version or not. In my PerlResponseHandler I have the following code:
sub handler {
my $r = shift;
my( $path ) = $r->filename()=~/^(.*)$/;
eval{ r
Hi,
I'm using mod_perl 1 on a Debian Sarge system. I just went to install
Apache::Status with a: perl -MCPAN -e 'install Apache::Status'
Here's what I got:
=
Reading Makefile.PL args from @ARGV
mod_perl/1.29 installation detect
Hi,
I'm using mod_perl 1 on a Debian Sarge system. I just went to install
Apache::Status with a: perl -MCPAN -e 'install Apache::Status'
Here's what I got:
=
Reading Makefile.PL args from @ARGV
mod_perl/1.29 installation detected
On Sun, 12 Dec 2004, Stas Bekman wrote:
# Get the content-length:
my( $command ) = "/bin/tar -c -h -f /dev/null --totals the_directory
2>&1"=~/^(.+)$/;
`$command` =~ /Total bytes written: (\d+)/gsm;
You probably better off not using an external process, but
http://search.cpan.org/dist/Archive-Tar/
Hi people,
I'm using:
Apache/1.3.33
mod_perl/1.29
On a Debian Sarge system.
The code I'm having problems with is quite long, so I've written a cut
down version. In my virtual host block I have something along the lines
of:
SetHandler perl-script
PerlHandler My::Handler
Basically, y