Re: Problem reading content...

2000-10-31 Thread Thomas von Elling Skifter Eibner
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 > > us

Apache::SSI problem

2000-10-31 Thread Stanislav Grozev
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 SetHandler perl-script PerlHandler Apache::tSSI AddType text/ht

Re: Apache 1.3.12,SuExec,Apache::Registry and CGI problemsi

2000-10-31 Thread Antti Linno
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 > > > >

Re: ApacheCon report

2000-10-31 Thread Les Mikesell
- 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

Re: ApacheCon report

2000-10-31 Thread Ask Bjoern Hansen
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 a

Re: Problem with Apache 1.3.14, mod_perl, ActiveState Perl on Win2000

2000-10-31 Thread Randy Kobes
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

Re: ApacheCon report

2000-10-31 Thread Perrin Harkins
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 discu

Re: Apache::ASP question: undefined subroutines

2000-10-31 Thread Joshua Chamas
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

Re: ApacheCon report

2000-10-31 Thread Ask Bjoern Hansen
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 PRO

Re: Installation error on make test ... please help if you can

2000-10-31 Thread Joshua Chamas
> 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

Re: ApacheCon report

2000-10-31 Thread Gunther Birznieks
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?

Re: mod_perl on specific scripts

2000-10-31 Thread Bill Moseley
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): > And you can use it within a to limit its reach. http://httpd.apache.org/docs/mod/core.html#files Bill Moseley mailt

Re: mod_perl on specific scripts

2000-10-31 Thread Matthew Byng-Maddick
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) http://co

Re: mod_perl on specific scripts

2000-10-31 Thread Paonia Ezrine
> 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

Re: hashes and mod_perl

2000-10-31 Thread Perrin Harkins
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 o

Can't locate object method "new" via package "Cache"

2000-10-31 Thread zeke wu
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 whi

Installation error on make test ... please help if you can

2000-10-31 Thread Shane Reid
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    Failed 3/6 tests, 50.0

RE: Apache 1.3.14 and Apache::RegistryLoader

2000-10-31 Thread Geoffrey Young
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") || d

Re: mod_perl on specific scripts

2000-10-31 Thread David Hodgkinson
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 red

Re: mod_perl on specific scripts

2000-10-31 Thread Bill Moseley
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 r

Problem reading content...

2000-10-31 Thread John Soto
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(); $ua->agen

mod_perl on specific scripts

2000-10-31 Thread Paonia Ezrine
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, Paon

Apache 1.3.14 and Apache::RegistryLoader

2000-10-31 Thread Paul G. Weiss
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};

Session data disappearing

2000-10-31 Thread cbell
I deleted the Sessions database and recreated it in Postgres and now the session data is staying!!

Re: mod_perl problems..

2000-10-31 Thread Randy Kobes
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: >

Re: ApacheCon report

2000-10-31 Thread Bill Moseley
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 dynamica

RE: Apache::Log (v1.01) doesn't function on linux

2000-10-31 Thread Geoffrey Young
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 functio

Re: Apache::Log (v1.01) doesn't function on linux

2000-10-31 Thread Mike Miller
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

Apache::Log (v1.01) doesn't function on linux

2000-10-31 Thread Pete Nelson
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 me

Re: Session data disappearing

2000-10-31 Thread Simon_Wilcox
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

Re: Problem with Apache::ASP

2000-10-31 Thread G.W. Haywood
Hi Fabio, On Tue, 31 Oct 2000, Fabio Albertin wrote: > > > > Have you seen the 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"

Re: Problem with Apache::ASP

2000-10-31 Thread Fabio Albertin
> PS: You didn't answer my question: > > > > > Have you seen the Guide? I have, but it's rather confusing. I'll search for some conlusive answers if I can find the time. Fabio Albertin

[Fwd: Session data disappearing]

2000-10-31 Thread cbell
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

Re: Session data disappearing

2000-10-31 Thread Gunther Birznieks
By the way, as an alternative suggestion, don't use postgres... use Session::File. I seem to recall that Postgres isn't the zippiest medium for storing sessions. It turns out plain files are pretty fast for small sets of blob data. At 04:35 PM 10/31/00 +, [EMAIL PROTECTED] wrote: >Hi Chri

Re: Session data disappearing

2000-10-31 Thread Simon_Wilcox
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 _see

Session data disappearing

2000-10-31 Thread cbell
Hi everyone, I'm sure this is a simple problem... Im using Session.pm to track information between httpd requests.  However, when I store 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 Co

Re: hashes and mod_perl

2000-10-31 Thread Scott Alexander
> 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

Re: Problem with Apache::ASP

2000-10-31 Thread G.W. Haywood
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 s

Re: mod_perl problems..

2000-10-31 Thread G.W. Haywood
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.

RE: Probably a really stupid question

2000-10-31 Thread Geoffrey Young
> -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 > cal

Re: hashes and mod_perl

2000-10-31 Thread G.W. Haywood
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

Re: how to really bang on a script?

2000-10-31 Thread G.W. Haywood
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.

Re: how to really bang on a script?

2000-10-31 Thread David Hodgkinson
"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

Re: how to really bang on a script?

2000-10-31 Thread Matthew Byng-Maddick
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.

Re: how to really bang on a script?

2000-10-31 Thread G.W. Haywood
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_per

Re: hashes and mod_perl

2000-10-31 Thread G.W. Haywood
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

Apache 1.3.12,SuExec,Apache::Registry and CGI problems

2000-10-31 Thread Antti Linno
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 lin

Re: Apache::ASP + Apache::Filter - how fast? (was:sending Apache::ASPoutput to a variable?)

2000-10-31 Thread Joshua Chamas
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 b

hashes and mod_perl

2000-10-31 Thread Scott Alexander
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 %ou

Re: ApacheCon report

2000-10-31 Thread Perrin Harkins
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

Re: ApacheCon report

2000-10-31 Thread Gunther Birznieks
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 proce