Re: [SW] Apache::Language Problem

1999-11-16 Thread David E.
Yes, I had the same problem. I figured it had to do with the fact that i am running debian gnu linux and I tried to get away with using the packaged install for apache and mod perl. I haven't had the chance to work on it anymore but I suspect the answer is that you have to get the full apache

Re: Ye Ol' Template System Thread

1999-11-16 Thread plindner
On Mon, Nov 15, 1999 at 12:23:29PM -0800, Joshua Chamas wrote: Leslie Mikesell wrote: What I'm looking for is a 'nestable' way of handling the logic flow and HTML construction that will allow a page to be used as a stand-alone item (perhaps displayed in a frameset) or included in

Re: session handling...

1999-11-16 Thread panpipi
Hi, tied(%udat)->cleanup works! And for some unknown reason the performance of redirection is better (possibly because most of time now the 2nd Apache request from redirection is served by the same httpd without forking another httpd) and Embperl is stabler now without any complaint such as

Re: sh and mod_perl

1999-11-16 Thread Stas Bekman
http://perl.apache.org/guide/porting.html#Output_from_system_calls Hi All! I just configured mod_perl and i need to include (execute) som shell scripts that i have. Those scripts check some things and they are going actually to create the html output, i need to use mod_perl , cause i

Does no_cache really deny caching?!

1999-11-16 Thread Geschke Steffen
Hello, I would like to deny caching of pages which are under access control. So, I looked at no_cache and browsed through the http header produced by this method. As far as I discovered, no_cache(1) behaves like the A option of mod_expires. The httpd header field looks like Expires: current

Re: Seg fault on fork w/ PerlModule

1999-11-16 Thread Keith G. Murphy
Tony Demark wrote: I have compiled the following: Apache 1.3.9 mod_perl 1.21 (PERL_AUTHEN PERL_LOG PERL_STACKED_HANDLERS) [cut] When starting an httpd process with a 'PerlModule' defined in the conf file, the process will seg fault when it attempts to fork: [cut] It

Embperl / Apache::Session bug?

1999-11-16 Thread Aaron Elkiss
Hi.. I'm trying to get session handling (%udat and %mdat) to work with embperl 1.2b11. I'm running stock redhat 6.1 on a p200; this comes with apache 1.3.9, mod_perl 1.21, and perl 5.00503. I installed embperl 1.2b11 and Apache::Session 1.04. I had previously installed and was using MySQL

perl variable in configs for few virtual servers

1999-11-16 Thread Andrei A. Voropaev
Hi! I've encountered very interesting problem. When I set some variable using PerlSetVar in configuration files for different virtual servers they seem to be available to ALL of those virtual servers. Here's details to clarify. In httpd.conf I have VirtualHost myhost1.domain.com ServerName

RE: Embperl / Apache::Session bug?

1999-11-16 Thread Gerald Richter
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Aaron Elkiss Sent: Tuesday, November 16, 1999 4:46 PM To: [EMAIL PROTECTED] Subject: Embperl / Apache::Session bug? Hi.. I'm trying to get session handling (%udat and %mdat) to work with embperl

RE: perl variable in configs for few virtual servers

1999-11-16 Thread Gerald Richter
In Myhandler::handler I do $myvar1 = $r-dir_config('MyVariable'); $myvar2 = $r-dir_config('MyVariable2); if($myvar1){ ## do stuff for first virtual server }else{ ## do stuff for the second one } If $myvar1 is a global it will hold it's content forever... so try my $myvar1 =

RE: Does no_cache really deny caching?!

1999-11-16 Thread Eric Cholet
Hello, I would like to deny caching of pages which are under access control. So, I looked at no_cache and browsed through the http header produced by this method. As far as I discovered, no_cache(1) behaves like the A option of mod_expires. The httpd header field looks like Expires:

Re: PATH corruption in mod_perl

1999-11-16 Thread Andrei A. Voropaev
I've used the patch sent by Doug. --- mod_perl.h 1999/08/03 22:56:09 1.84 +++ mod_perl.h 1999/08/04 02:53:38 @@ -286,9 +286,10 @@ #define mp_setenv(key, val) \ { \ int klen = strlen(key); \ -hv_store(GvHV(envgv), key, klen, newSVpv(val,0), FALSE); \ +SV *sv =

Re: Embperl / Apache::Session bug?

1999-11-16 Thread Aaron Elkiss
Preloading Apache::Session also causes sigsegv'ing, this time while dealing with MD5.pm. Preloading nothing seems to work. -aaron On Tue, Nov 16, 1999 at 05:00:31PM +0100, Gerald Richter [EMAIL PROTECTED] Gerald Richter muttered about RE: Embperl / Apache::Session bug?: -Original

RE: Embperl / Apache::Session bug?

1999-11-16 Thread Gerald Richter
Preloading Apache::Session also causes sigsegv'ing, this time while dealing with MD5.pm. Preloading nothing seems to work. And Embperl is _not_ loaded at startup time? When does SIGSEGV occurs, when the server starts, on the first Embperl request or on the first request which uses

Re: Embperl / Apache::Session bug?

1999-11-16 Thread Aaron Elkiss
On Tue, Nov 16, 1999 at 07:43:38PM +0100, Gerald Richter [EMAIL PROTECTED] Gerald Richter muttered about RE: Embperl / Apache::Session bug?: Preloading Apache::Session also causes sigsegv'ing, this time while dealing with MD5.pm. Preloading nothing seems to work. And Embperl is _not_

apache-modperl rpm compiled with 10x speedup patch

1999-11-16 Thread Matt Sergeant
I recently (yesterday) took the apache-modperl rpm and rebuilt it including the 10x speedup patch to Apache 1.3.6 submitted by sgi (it's not really a 10x speedup - more like 1.5 times!). If anyone wants the binary of it, I've put it at http://sergeant.org/perl/apache-modperl-1.3.6_1.21-0.i386.rpm

Re: Seeing a basic trend...

1999-11-16 Thread Matt Sergeant
On Tue, 16 Nov 1999, Ian Mahuron wrote: Is it me or are the Linux users having a lot of trouble installing Apache/mod_perl from RPMs? If there's one thing I learned while running Linux, it was to build everything from source. This was about three years ago.. so maybe things have gotten

Stonehenge::Throttle, round 2 - CPU used by an IP

1999-11-16 Thread Randal L. Schwartz
OK, I went one better. I now have CPU-percentage-based throttling. The big problem on my site was not bandwidth, but how quickly the loadav would go up when I got hammered by things like "Teleport Pro". Hey, if you haven't seen that, go see it. Be afraid. Be Very Afraid. See

Re: Stonehenge::Throttle, round 2 - CPU used by an IP

1999-11-16 Thread Jeffrey W. Baker
"Randal L. Schwartz" wrote: OK, I went one better. I now have CPU-percentage-based throttling. The big problem on my site was not bandwidth, but how quickly the loadav would go up when I got hammered by things like "Teleport Pro". Hey, if you haven't seen that, go see it. Be afraid. Be

RE: Seeing a basic trend...

1999-11-16 Thread Baiju Thakkar
Sort of. If you use Red Hat your Perl installation is broken, so building from source is often problematic. The best solution, in my experience, is to either avoid Red Hat altogether or install the bare minimum Red Hat and compile everything else. FWIW, I have been able to statically

Re: Seeing a basic trend...

1999-11-16 Thread Jeffrey W. Baker
Baiju Thakkar wrote: Sort of. If you use Red Hat your Perl installation is broken, so building from source is often problematic. The best solution, in my experience, is to either avoid Red Hat altogether or install the bare minimum Red Hat and compile everything else. FWIW, I

Re: sh and mod_perl

1999-11-16 Thread Tobias Hoellrich
Now, where did I put my sh2pl converter ;-) Tobias At 03:53 PM 11/15/99 +, you wrote: Hi All! I just configured mod_perl and i need to include (execute) som shell scripts that i have. Those scripts check some things and they are going actually to create the html output, i

Re: Stonehenge::Throttle, round 2 - CPU used by an IP

1999-11-16 Thread Autarch
On 16 Nov 1999, Randal L. Schwartz wrote: So, here's source. Peer review requested - I'm probably turning this in for my next WebTechniques column... It would be nice if the various package vars were configurable from a .conf file. Certainly there's no reason to hard code the history dir

Re: sh and mod_perl

1999-11-16 Thread Eric L. Brine
system("/tmp/test.sh"); /tmp/test.sh is a simple script that just prints some test, using echo , but i cannnot make the server to execute it., but i can see the the other html code that mod_perl is executing. I don't many details on this, but I know the following: The script gets

Re: perl variable in configs for few virtual servers

1999-11-16 Thread Eric L. Brine
In httpd.conf I have VirtualHost myhost1.domain.com ServerName myhost1.domain.com DocumentRoot /httpd/docs ErrorLog logs/httpd-errors CustomLog logs/httpd-log common AccessConfig conf/access.conf ResourceConfig conf/srm.conf Try doing the following instead: ResourceConfig

Re: Stonehenge::Throttle, round 2 - CPU used by an IP

1999-11-16 Thread Leslie Mikesell
According to Randal L. Schwartz: So, I modified my throttler to look at the recent CPU usage over a window for a given IP. If the percentage exceeds a threshold, BOOM they get a 503 error and a correct "Retry-After:" to tell them how long they're banned. How about an option to redirect to

Re: Seeing a basic trend...

1999-11-16 Thread Stas Bekman
Sort of. If you use Red Hat your Perl installation is broken, so building from source is often problematic. The best solution, in my experience, is to either avoid Red Hat altogether or install the bare minimum Red Hat and compile everything else. FWIW, I have been able to

ANNOUNCE: HTML::Embperl 1.2.0

1999-11-16 Thread Gerald Richter
The URL ftp://ftp.dev.ecos.de/pub/perl/embperl/HTML-Embperl-1.2.0.tar.gz has entered CPAN as file: $CPAN/authors/id/GRICHTER/HTML-Embperl-1.2.0.tar.gz size: 254872 bytes md5: 77aecf6dcd021031975c02b3a3d6bad0 Embperl is a module for embedding Perl code in HTML pages. See