At 12:00 AM 10/31/2000 -0800, Perrin Harkins wrote:
On Tue, 31 Oct 2000, Les Mikesell wrote:
Ultimately, I don't see any way around the fact that proxying from one
server to another ties up two processes for that time rather than one, so
if your bottleneck is the number of processes you
On Tue, 31 Oct 2000, Gunther Birznieks wrote:
As a bonus, if you write your app smart with cache directive
headers, some of the dynamic content can truly be cached by the front-end
server.
We're using this technique now and it really rocks. Great performance.
- Perrin
Hi,
Is it possible using the magic of mod_perl to set a hash array available for all
scripts without each script having to open the dbm file.
eg Each of my scripts tie a dbm file to a hash array (%output). (about 600
elements)
In some of my scripts I'm using functions recursively. Passing
Jeff Ng wrote:
Turns out that speed is not the only problem...
I'm having some form submission problems when I chain modules like so:
PerlHandler inFilter Apache::ASP
If I call $r-content in inFilter, Apache::ASP just hangs. Has anyone seen
this before?
Could it be because
Machine configuration:
SuSE Linux 6.4 (i386)
Kernel 2.2.14 (i686)
The Apache WWW Server Apache/1.3.12 (Unix) (SuSE/Linux)
mod_perl/1.21
PHP/4.0b4pl1
mod_ssl/2.6.2
OpenSSL/0.9.5
SuExec option
I tried to use htdig, but was unable to execute binary from virtual
server. Error log contained only a
Hi there,
On Tue, 31 Oct 2000, Scott Alexander wrote:
Is it possible using the magic of mod_perl to set a hash array
available for all scripts without each script having to open the dbm
file.
It's not really a mod_perl specific problem. You need to take care of
the possibility that there
Hi all,
On Mon, 30 Oct 2000, Ask Bjoern Hansen wrote:
On Sat, 28 Oct 2000, Christopher L. Everett wrote:
OK, I confess: I've written (probably yet another) mod_perl banner
exchange. I need to know that when we serve 100K banners to 40K
if anyone doubts that perl and mod_perl is a
On Mon, 30 Oct 2000, Perrin Harkins wrote:
On Sat, 28 Oct 2000, Matthew Byng-Maddick wrote:
Theo, during the mod_backhand talk, or at lunch just before, I can't
remember.
It was during the talk. The tool is called Daquiri, and he said it was
available in the mod_backhand CVS tree.
Ah
"G.W. Haywood" [EMAIL PROTECTED] writes:
Hi all,
On Mon, 30 Oct 2000, Ask Bjoern Hansen wrote:
On Sat, 28 Oct 2000, Christopher L. Everett wrote:
OK, I confess: I've written (probably yet another) mod_perl banner
exchange. I need to know that when we serve 100K banners to 40K
Hi Dave,
On 31 Oct 2000, David Hodgkinson wrote:
Hey, you leave ValueClick alone! They're the least worst out there!
(Is that a compliment?)
Ok, truce. There's room in the world for all sorts (even you and me:)
At the moment.
73,
Ged.
Hi again,
Pass a reference.
my $rhash = \%output;
my $result = func( $rhash );
Okay this solves my problem that I had.
Is it in anyway possible to tie the hash once to a dbm file?
At the moment it is tied every time a script is called.
Sounds like you haven't really got to grips
-Original Message-
From: Jimi Thompson [mailto:[EMAIL PROTECTED]]
Sent: Monday, October 30, 2000 5:34 PM
To: Geoffrey Young
Subject: Re: Probably a really stupid question
Geoffrey,
I'm still having problems, perl is installed, mod_perl is
installed. I can
call both of
Hi there,
On Mon, 30 Oct 2000, Michael J. Freeman wrote:
Can anyone please advise me what to do?
I think it would help if you gave us more information.
Read mod_perl-1.xx/SUPPORT
73,
Ged.
Hi there,
On Mon, 30 Oct 2000, Fabio Albertin wrote:
There's one thing I forgot to mention: I'm running a statically compiled
version of Papche, as recommended in the Apache::ASP README, so I don't
think my httpd.conf needs to load any modules, or does it?
I checked my log file for the
Hi there,
On Tue, 31 Oct 2000, Scott Alexander wrote:
Is it possible using the magic of mod_perl to set a hash array
available for all scripts without each script having to open the dbm
file.
It's not really a mod_perl specific problem. You need to take care of
the possibility
Hi everyone, I'm sure this is a simple problem...
Im using Session.pm to track information between httpd requests.
However, when Istore some information in the session, it is gone
when I try to retrieve it later. I've noticed the following things:
when I tie to the session I use the command
Hi Chris, welcome on board !
Are you changing data structures e.g. a element in a hash of hashes ?
Apache::Session has documented behaviour where it only writes back changes
if the top level variables have changed. If you are changing something
deeper it will not be
I read that in the manual, but was a little unsure of what it meant. I understand
the concept just not how to implement it.
Right now I'm just storing a variable in the hash.. For example...
$hash{test} = "test";
Then if I look at the variable from another script (or the same script) it's
PS: You didn't answer my question:
Have you seen the Guide? http://perl.apache.org/guide
I have, but it's rather confusing. I'll search for some conlusive answers
if I can find the time.
Fabio Albertin
Hi Fabio,
On Tue, 31 Oct 2000, Fabio Albertin wrote:
Have you seen the Guide? http://perl.apache.org/guide
I have, but it's rather confusing.
Oh, dear, we'll have to do something about that. Can you point out
any particular areas that are confusing? (Don't just say "all of it",
That should work as far as I know, it sounds like it is not being tied correctly
to your store.
Can you post your code to the list ?
SW
From cbell [EMAIL PROTECTED] Date
31 October 2000
I can't seem to get Apache::Log to work under linux. I'm calling it as
'use Apache::Log();', and I can see the module as
/usr/lib/perl5/site_perl/5.005/i386-linux/Apache/Log.pm, but it won't
load. Are other people having this problem as well?
Perl version: 5.005
mod_perl version: 1.24
error
PN I can't seem to get Apache::Log to work under linux. I'm calling it as
PN 'use Apache::Log();', and I can see the module as
PN /usr/lib/perl5/site_perl/5.005/i386-linux/Apache/Log.pm, but it won't
PN load. Are other people having this problem as well?
How about:
use Apache::Log;
not
PN
you need to make mod_perl with
perl Makefile.PL EVERYTHING=1
(or at least PERL_LOG_API=1)
HTH
--Geoff
-Original Message-
From: Pete Nelson [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, October 31, 2000 11:44 AM
To: [EMAIL PROTECTED]
Subject: Apache::Log (v1.01) doesn't function on
At 04:13 PM 10/31/00 +0800, Gunther Birznieks wrote:
As a bonus, if you write your app smart with cache directive
headers, some of the dynamic content can truly be cached by the front-end
server.
Gunther,
Can you give some details? I have co-branded template driven content that
is
On Mon, 30 Oct 2000, Michael J. Freeman wrote:
I am trying to get a CGI to run under mod_perl and am getting weird
errors. This CGI trys to use the GD module to create dynamic png's on
demand (14all.cgi for RRDtool/MRTG-2) and everytime I run it under
mod_perl I get errors like this:
I deleted the Sessions database and recreated it in Postgres and now the
session data is staying!!
I have a number of scripts in places other then /perl that I want to use
mod_perl for. However, I can't turn it on for all scripts in a specific
directory or even a certain extension. Is there any way to do this or am
I going to need to do a redirect of some sort (anyone have one)?
Thanks,
Having problem reading POSTed content Am trying to write handler which will
pass content onto MQ. Currently, I have the content as text\plain and not
url-encoded.
Here's my POSTing snippet...
#! /usr/bin/perl -w
use LWP::UserAgent;
use HTTP::Request;
$ua = LWP::UserAgent-new();
At 03:31 PM 10/31/00 -0500, Paonia Ezrine wrote:
I have a number of scripts in places other then /perl that I want to use
mod_perl for. However, I can't turn it on for all scripts in a specific
directory or even a certain extension. Is there any way to do this or am
I going to need to do a
Hi, all:
I try to test IPC::Cache module. I got the following
error message. Any help will be highly appreciated.
Can't locate object method "new" via package "Cache"
at cache-test.pl line 5.
Zeke Wu
__
Do You Yahoo!?
Yahoo! Messenger - Talk
On Tue, 31 Oct 2000, Scott Alexander wrote:
Is it in anyway possible to tie the hash once to a dbm file?
At the moment it is tied every time a script is called.
There's a whole chapter on this: http://perl.apache.org/guide/dbm.html.
The short answer is that you have to tie the dbm file
At 03:31 PM 10/31/00 -0500, Paonia Ezrine wrote:
I have a number of scripts in places other then /perl that I want to use
mod_perl for. However, I can't turn it on for all scripts in a specific
directory or even a certain extension. Is there any way to do this or am
I going to need to do a
On 31 Oct 2000, David Hodgkinson wrote:
Did I just condemn you to learning mod_rewrite? Ooops :-)
You do, of course, know about all the latest patches for this, due to
potential security problems
MBM
--
Matthew Byng-Maddick Home: [EMAIL PROTECTED] +44 20 8981 8633 (Home)
At 08:00 PM 10/31/00 -0500, Paonia Ezrine wrote:
Bill,
this is good in thoery but I have not gotten it to work in practice.
here is the general idea (of what I tried):
Files /home/httpd/cgi-bin/test2.pl
Files test2.pl
And you can use it within a Directory to limit its reach.
At 10:43 AM 10/31/2000 -0800, Bill Moseley wrote:
At 04:13 PM 10/31/00 +0800, Gunther Birznieks wrote:
As a bonus, if you write your app smart with cache directive
headers, some of the dynamic content can truly be cached by the front-end
server.
Gunther,
Can you give some details? I have
Shane Reid wrote:
Was wanting to add mod_perl so that I could run Apache::ASP, but ran into a problem
with it.
I am configuring it with the Apache 1.3.14, and am running into this error:
modules/src.Use of uninitialized value at modules/src.t line 27.
FAILED tests 3-5
On Mon, 30 Oct 2000, Perrin Harkins wrote:
[...]
- Don't use a proxy server for doling out bytes to slow clients; just set
the buffer on your sockets high enough to allow the server to dump the
page and move on. This has been discussed here before, notably in this
post:
[EMAIL
Carl Lipo wrote:
Does anyone know what causes these kinds of errors? The 'subroutine' that
the output is referring to is the name of the page (in this case
search.htm) that is being loaded and that sits in the content directory --
there are no real missing subroutines...Maddeningly, if I
On Tue, 31 Oct 2000, Ask Bjoern Hansen wrote:
On Mon, 30 Oct 2000, Perrin Harkins wrote:
[...]
- Don't use a proxy server for doling out bytes to slow clients; just set
the buffer on your sockets high enough to allow the server to dump the
page and move on. This has been discussed
On Sat, 28 Oct 2000, Fred Lovine wrote:
Hi,
Though I'm no Apache pro (yet) it seems that there is a problem with the
mod_perl for Win32 ActiveState Perl. I'm using Apache 1.3.14 and am getting
server errors when running the sample code for Apache::ASP.
The problem seems to be when a
On Tue, 31 Oct 2000, Perrin Harkins wrote:
[...]
[EMAIL PROTECTED]">http://forum.swarthmore.edu/epigone/modperl/grerdbrerdwul/[EMAIL PROTECTED]
Mr. Llima must do something I don't, because with real world
requests I see a 15-20 to 1 ratio of mod_proxy/mod_perl processes at
"my"
- Original Message -
From: "Perrin Harkins" [EMAIL PROTECTED]
To: "Ask Bjoern Hansen" [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Tuesday, October 31, 2000 8:47 PM
Subject: Re: ApacheCon report
Mr. Llima must do something I don't, because with real world
requests I see a 15-20
On Tue, 31 Oct 2000, G.W. Haywood wrote:
Hi there,
On Tue, 31 Oct 2000, Antti Linno wrote:
SuSE Linux 6.4 (i386), Kernel 2.2.14 (i686)
The Apache WWW Server Apache/1.3.12 (Unix) (SuSE/Linux)
mod_perl/1.21, PHP/4.0b4pl1, mod_ssl/2.6.2, OpenSSL/0.9.5, SuExec option
Ok cgi now
Hi, I am using Apache 1.3.14, mod_perl 1.24_01, perl 5.6 and
Apache::SSI 2.13
in my httpd.conf i have the following:
PerlRequire /usr/local/web/perllib/Apache/tSSI.pm
Files ~ "\.bozo$"
SetHandler perl-script
PerlHandler Apache::tSSI
/Files
On Tue, Oct 31, 2000 at 02:54:39PM -0500, John Soto wrote:
Having problem reading POSTed content Am trying to write handler which will
pass content onto MQ. Currently, I have the content as text\plain and not
url-encoded.
Here's my POSTing snippet...
#! /usr/bin/perl -w
use
I tried using Apache::RegistryLoader with my
Apache 1.3.14/mod_perl 1.24_2 installation.
I put this in a file that I PerlRequire:
use Apache::RegistryLoader ();
my $perl_dir = Apache-server_root_relative."docs";
my $cmd = qq{find $perl_dir -follow \\( -name "*.pl" -o -name "*.cgi" \\)
-print};
Paonia Ezrine [EMAIL PROTECTED] writes:
I have a number of scripts in places other then /perl that I want to use
mod_perl for. However, I can't turn it on for all scripts in a specific
directory or even a certain extension. Is there any way to do this or am
I going to need to do a redirect
I have no idea, but if it helps, here is a snip from my startup.pl
it works just fine on:
1.3.14/perl5.6 (-Dusethreads)/linux(RH6.2)/modperl cvs (1.24_02)
1.3.14/perl5.00503/Solaris/modperl 1.24_01
my $rl = Apache::RegistryLoader-new;
my $dh = DirHandle-new("/usr/local/apache/perl-bin") ||
49 matches
Mail list logo