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
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
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
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
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
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
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
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
-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
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 =
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:
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 =
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
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
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_
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
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
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
"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
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
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
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
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
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
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
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
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
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
28 matches
Mail list logo