Re: mod_perl-1.2.6 for Cygwin 1.x (using apache_1.3.22, perl-5.6.1)

2001-10-19 Thread Charles Wilson
Stipe Tolj wrote: >>What is the problem with ld2? >> > > I'm using a patched version of ld which supports --auto-import. the official cygwin ld now supports --auto-import (and has since August 02.) --Chuck

@INC

2001-10-19 Thread Plows, Sean (London)
How can I set this as my cgi's can't locate my libs? > Regards, > > Sean Plows

rookie question

2001-10-19 Thread Xavier Merlin
Hello, I am completely new to the issue. My question is probably very straightforward but maybe you can help me out. I have made a monitor in perl which periodically overwrites static pages containing the output of various commands. The html pages are consisting of: multiple ascii text lin

Re: [OT] Excellent article on Apache/mod_perl at eToys

2001-10-19 Thread Jeremy Howard
> By the way, I noticed he documented still another gotcha due to a sneaky > closure. Does anyone know off-hand whether the Perl 6 folks plan to > change the closure syntax so they don't sneak into your code this way? > Closures, references, et al are being thoroughly revised, such that there wil

stacked handlers return vals

2001-10-19 Thread Mark Maunder
Hi, If I'm using stacked handlers, what should I return if I dont want the next handler in line to run because I've returned all required content to the client? (the eagle book says anything other than OK, DECLINED or DONE, but what's the appropriate return val that wont cause the client to think

Re: Problem using mod_perl-1.26 with perl 5.6.1 and XML::Parser

2001-10-19 Thread clayton cottingham
"Matthew H. Gerlach" wrote: > > Just to follow up. I took your advice on building building modperl. My actual > command was as follows: > > perl Makefile.PL \ > EVERYTHING=1 \ > USE_APACI=1 \ > APACHE_PREFIX=/lsurf/wohg \ > APACHE_SRC=../$APACHE/src \ > DO_HTTP=1 \ > AP

Re: Problem using mod_perl-1.26 with perl 5.6.1 and XML::Parser

2001-10-19 Thread Matthew H. Gerlach
Just to follow up. I took your advice on building building modperl. My actual command was as follows: perl Makefile.PL \ EVERYTHING=1 \ USE_APACI=1 \ APACHE_PREFIX=/lsurf/wohg \ APACHE_SRC=../$APACHE/src \ DO_HTTP=1 \ APACI_ARGS="--enable-rule=expat --enable-module=so

Re: Selectively writing to the access log

2001-10-19 Thread Rodney Broom
From: Mark Doyle <[EMAIL PROTECTED]> > How about adding a custom header with the format you want > and then logging that with a custom log format? I think I've found an acceptable method. I've got a log handler like this: my $req = $r->the_request; if ($r->uri =~ /$something_interesting

Re: Selectively writing to the access log

2001-10-19 Thread Mark Doyle
How about adding a custom header with the format you want and then logging that with a custom log format? Cheers, Mark On Friday, October 19, 2001, at 04:09 PM, Rodney Broom wrote: > My ultimate goal is this: > I have a silly redirector script that acts as a logging hook for folks > clicking t

Re: Selectively writing to the access log

2001-10-19 Thread Rob Nagler
> Usage: Apache::the_request(r) This means the "sub" Apache::the_request takes a single parameter, i.e. you can't modify the_request. You can modify the method and uri. You can't modify the protocol (HTTP/1.0). If you change method or uri, it doesn't change "the_request". You can change you

Re: Selectively writing to the access log

2001-10-19 Thread Rodney Broom
- Original Message - From: Mark Doyle <[EMAIL PROTECTED]> > I missed your original post, but maybe this will help. > > What about creating a new log using CustomLog and tying it to an > environment variable and only setting this in the requests you want > to log? I do this to log subsc

Re: Selectively writing to the access log

2001-10-19 Thread Rodney Broom
From: Geoffrey Young <[EMAIL PROTECTED]> > are you on an old version of mod_perl? from Changes: > $r->the_request can now be modified Good catch, yes I was using 1.19. I've moved a machine with 1.26 and r->the_request($string) no longer fails. However, with 1.26 none of changes I'm making to

RE: Selectively writing to the access log

2001-10-19 Thread Geoffrey Young
> -Original Message- > From: Rodney Broom [mailto:[EMAIL PROTECTED]] > Sent: Friday, October 19, 2001 3:14 PM > To: [EMAIL PROTECTED] > Subject: Re: Selectively writing to the access log > > > From: Rob Nagler <[EMAIL PROTECTED]> > > > I don't think you can change the access log forma

Re: Selectively writing to the access log

2001-10-19 Thread Rodney Broom
From: Rob Nagler <[EMAIL PROTECTED]> > I don't think you can change the access log format, but you can > modify the values. For example, you can set $c->user and $c->remote_ip. Thanks Rob, this is helpful and it works. The value I'm wanting to change is in r->the_request, but passing a value

Re: [OT] Re: Excellent article on Apache/mod_perl at eToys

2001-10-19 Thread Perrin Harkins
> Wasn't this "seasonal rush" at least partly caused by the so-called toywar > (www.toywar.com) between eToys.com (the online retailer) and etoy.com > (the art group)? There were a lot of DoS attacks (and some even uglier, nastier ones) in 1999 as a result of that. Most of that was dealt with th

[OT] Re: Excellent article on Apache/mod_perl at eToys

2001-10-19 Thread Thomas Klausner
Hi! On Fri, Oct 19, 2001 at 09:59:18AM -0400, Drew Taylor wrote: > What I found most interesting was the detail of the extensive caching which > was implemented to survive the seasonal rush. Wasn't this "seasonal rush" at least partly caused by the so-called toywar (www.toywar.com) between eToys

Re: Excellent article on Apache/mod_perl at eToys

2001-10-19 Thread Keith G. Murphy
Andrew Ho wrote: > > Hello, > > I checked the list archives and it didn't look like this had been posted yet. > For those of you who haven't seen it yet... a great read on perl.com about > the Apache/mod_perl setup at eToys, co-authored by our own mod_perl > regular contributer Perrin Harkins. >

Location, SetHandler and Aliases in httpd.conf

2001-10-19 Thread Peter Beardsley
Hi, sorry if this is slightly OT but I need some help getting my apache config straightened out.   I want to set up Apache so that requests to the document root are handled by mod_perl, but requests to a special images directory are not handled by mod_perl.  Currently I have it set up like s

Re: Selectively writing to the access log

2001-10-19 Thread Rob Nagler
> I only see methods for writing to the error log. I don't think you can change the access log format, but you can modify the values. For example, you can set $c->user and $c->remote_ip. Rob

Re: Excellent article on Apache/mod_perl at eToys

2001-10-19 Thread Tom Servo
If memory serves, I think we had something like 20-30 proxy servers and I think, at the end, we had w21 through w112 for app servers, so something like 92 app servers. I don't remember how many search boxes though. Thanks for the article Perrin, I didn't know half of what you, Ollie, Chris, Ada

Selectively writing to the access log

2001-10-19 Thread Rodney Broom
I'm wanting to look at the request and optionally change what gets written to the access log. However, I only see methods for writing to the error log. I think I need to do this inside the request because I'm piping things with TransferLog and don't want to interupt that. But I don't mind anoth

Re: Excellent article on Apache/mod_perl at eToys

2001-10-19 Thread Perrin Harkins
> What I'd love to see is the avg spec and numbers of machines in each > section. So how many proxy, mod_perl and search servers were required to > give the phenomenal performance you managed to achieve. Well, this was a long time ago (I wrote the article over a year ago), and I don't remember e

RE: [Templates] Re: Excellent article on Apache/mod_perl at eToys

2001-10-19 Thread Joe Breeden
I work in a predominately M$ shop. AS a matter of fact, I am one of only two Perl/mod_perl programmers in a development department with 25 other programmers. Sometimes it feels like we are working in a vacuum. This list and articles like the eToys article along with the overwhelmingly superior per

RE: Excellent article on Apache/mod_perl at eToys

2001-10-19 Thread Clinton Gormley
> > Thanks to all for the kind words. This article actually went > up a little > bit before it was supposed to, and there should be a revision > going up soon > with some grammatical fixes and a set of graphics to > illustrate parts of it. > I'll post a follow-up when that happens in case any

Re: [Templates] Re: Excellent article on Apache/mod_perl at eToys

2001-10-19 Thread Drew Taylor
What I found most interesting was the detail of the extensive caching which was implemented to survive the seasonal rush. I look forward to working on a project one day that is big enough to warrant such a system. All in all, a most excellent and informative read. Thanks again for everything y

Re: Excellent article on Apache/mod_perl at eToys

2001-10-19 Thread Perrin Harkins
Thanks to all for the kind words. This article actually went up a little bit before it was supposed to, and there should be a revision going up soon with some grammatical fixes and a set of graphics to illustrate parts of it. I'll post a follow-up when that happens in case anyone wants to go and

RE: Excellent article on Apache/mod_perl at eToys

2001-10-19 Thread Geoffrey Young
> -Original Message- > From: Gunther Birznieks [mailto:[EMAIL PROTECTED]] > Sent: Friday, October 19, 2001 6:47 AM > To: mod_perl List > Cc: Template Toolkit List > Subject: Re: Excellent article on Apache/mod_perl at eToys > > > Yeah we really enjoyed it over here. I think it's really

Re: rookie's question regarding dynamic html pages

2001-10-19 Thread Ged Haywood
EaOn 19 Oct 2001, Xavier Merlin wrote: > I would like to make those pages dynamic > > Maybe modperl can help. What do I need ? The Eagle Book: "Writing Apache Modules with Perl and C", ISBN 1-56592-567-X, by Lincoln Stein and Doug MacEachern. It is available from O'Reilley (www.oreilly

Re: Excellent article on Apache/mod_perl at eToys

2001-10-19 Thread Gunther Birznieks
Yeah we really enjoyed it over here. I think it's really excellent to get great advocacy articles about Perl and surrounding products (mod_perl, TT, etc) powering real businesses with real high powered needs out there like this one. :) At 04:40 PM 10/19/2001, Greg Cope wrote: >Andrew Ho wrote

rookie's question regarding dynamic html pages

2001-10-19 Thread Xavier Merlin
Hello, I am a rookie in this, so I am probably asking trivial things here. My current environment is: Windows NT 4.0 SP 5, Apache 1.3.9 Active state perl 522 I have written a perl monitor which writes simple static html pages having the format multiple ascii lines (output of the va

RE: Problem using mod_perl-1.26 with perl 5.6.1 and XML::Parser

2001-10-19 Thread Matt Sergeant
> -Original Message- > From: Matthew H. Gerlach [mailto:[EMAIL PROTECTED]] > > Now that I had something reproducible, I continued. I rebuilt using > Apache 1.3.22 just like above, and everything continued to work. I > upgraded to XML::Parser-2.30, and things continued to work. > It wa

Re: Excellent article on Apache/mod_perl at eToys

2001-10-19 Thread Greg Cope
Andrew Ho wrote: > > Hello, > > I checked the list archives and it didn't look like this had been posted yet. > For those of you who haven't seen it yet... a great read on perl.com about > the Apache/mod_perl setup at eToys, co-authored by our own mod_perl > regular contributer Perrin Harkins. >

Re: Apache::RequestNotes and sharing information

2001-10-19 Thread Gerald Richter
>The PerlAccessHandler sets a session_based cookie, using TIEHASH >$r->pnotes("COOKIES")->{'SESSION_ID'} = $session{_session_id}; Unless you have already stored a hash ref in pnotes with key COOKIES, you must write: $r->pnotes("COOKIES", {'SESSION_ID' => $session{_session_id}}) ; this stores a