Re: using "-|" construct

2003-08-29 Thread Brian Reichert
On Thu, Aug 28, 2003 at 06:43:42PM -0700, Stas Bekman wrote: > Michael wrote: > >I have a web service that need to get "stuff" from the system and is > >using the following subroutine to retrieve info. > > > > > >sub systeminfo { > > if (open(FROMADMIN,"-|")) { # parent > [...] > >This works f

Re: IPC::Run

2003-07-19 Thread Brian Reichert
On Fri, Jul 18, 2003 at 02:33:11PM -0400, Barrie Slaymaker wrote: > On Fri, Jul 18, 2003 at 01:18:12PM -0500, Cameron B. Prince wrote: > > Hi Barrie, > > > > I dug out an old note from you and started trying IPC::Run. Here's what I > > have so far: > > [...] > I'd do a > >use BFD; [EMAIL P

Re: Convert Cookies-->HTTP Request Headers?

2003-04-04 Thread Brian Reichert
On Fri, Apr 04, 2003 at 04:10:03PM -0500, Kruse, Matt wrote: > I have a unique need purely for testing purposes. I'm not very familiar > (yet) with mod_perl handlers in Apache, so I've had a rough time getting > anything going. > Here is my goal: > > For every request to Apache: > 1. Parse the c

Re: MaxRequestsPerChild; which request am I?

2003-04-04 Thread Brian Reichert
On Fri, Apr 04, 2003 at 08:38:53AM -0800, Bill Moseley wrote: > On Fri, 4 Apr 2003, Brian Reichert wrote: > > Eh? I'm confused. What is '$request' in that example? If you > > mean it's the request object, then that doesn't do what I expect. > > No

Re: MaxRequestsPerChild; which request am I?

2003-04-04 Thread Brian Reichert
On Thu, Apr 03, 2003 at 11:10:58PM -0800, Bill Moseley wrote: > On Fri, 4 Apr 2003, Brian Reichert wrote: > > > Dunno if someone has a good answer, or a suggestion of a better > > forum for this: > > > > Apache has a configuration directive: MaxReq

MaxRequestsPerChild; which request am I?

2003-04-03 Thread Brian Reichert
Dunno if someone has a good answer, or a suggestion of a better forum for this: Apache has a configuration directive: MaxRequestsPerChild In messing with Apache 1.x, is there a way, via mod-perl, of a request knowing how many req

Re: [OT] - Mailing List Servers/mods .. etc

2002-09-26 Thread Brian Reichert
On Thu, Sep 26, 2002 at 02:44:12PM +0100, Jim Morrison [Mailinglists] wrote: > Sorry.. > This is completely off topic.. but I have a question you guys might help > me with.. > > > I'm writing then next part of a big modperl project I'm doing.. This bit > could be loosely called a mailing-list-s

Re: PerlSetVar WhatEverSecure

2002-06-14 Thread Brian Reichert
On Thu, Jun 13, 2002 at 09:42:41PM -0700, Jim Helm wrote: > It's not the prettiest in the world, but try this (see attached file). Thanks for the pointers; I'll give it a look-over... -- Brian 'you Bastard' Reichert<[EMAIL PROTECTED]> 37 Crystal Ave. #303Daytime

Re: PerlSetVar WhatEverSecure

2002-06-13 Thread Brian Reichert
On Thu, Jun 13, 2002 at 10:40:18AM -0500, Michael Schout wrote: > Brian Reichert wrote: > > > > > > > PerlSetVar FormScriptSecure 1 > > AuthType Apache::AuthTicket > > ... > > > > > > But, in each case, my login

Re: .htaccess errors

2002-06-12 Thread Brian Reichert
On Thu, Jun 13, 2002 at 10:39:28AM +1000, Darren Ward wrote: > This has got me stumped as I never put a .htaccess file in there but for the > sake of trying to fix it I did place one there but it's still complaining > that one doesn't exist even though it's set readable etc etc > > Any help or th

PerlSetVar WhatEverSecure

2002-06-07 Thread Brian Reichert
I seem to be unable to follow instructions. I'm trying to make use of the 'Secure' mode as offered by Apache::AuthCookie and Apache::AuthTicket. I have a authtype 'FormScript'. I have the expected snarl of protect and unprotected files, and a login.pl that successfully intercepts my efforts to

question: login_screen method for Apache::AuthTicket?

2002-05-24 Thread Brian Reichert
I'm exploring Apache::AuthTicket, with fair success, but there is an element of it that I don't understand: How is the login_screen method distinct from the login method? In the build tree for Apache-AuthTicket-0.31, there is a sample httpd.conf that contains (among other things): PerlSetVar

Re: login.pl not sending cookies via POST?

2002-05-23 Thread Brian Reichert
On Thu, May 23, 2002 at 11:21:31AM -0400, Fran Fabrizio wrote: > > > > > >(I haven't re-tested Apache::AuthCookieDBI.) > > > >I have no idea why POST _doesn't_ work, mind you... > > > > For what it's worth, my setup with AuthCookieDBI works just fine with POST. I agree that is _should_; I've wri

login.pl not sending cookies via POST?

2002-05-22 Thread Brian Reichert
I have tried two different Apache::AuthCookie subclasses: Apache::AuthTicket 0.31 Apache::AuthCookieDBI 1.18 Apache::AuthCookie comes with an example login.pl, as well as does Apache::AuthCookieDBI. The symptom I was seeing: my browser would submit the form generated by login.pl: [Wed Ma

Apache::AuthCookieDBI not sending cookies?

2002-05-21 Thread Brian Reichert
I've pawed though the archives, to no avail... I've almost, but not quite, have Apache::AuthCookieDBI working for me. The symptom I'm seeing (to my eye) is that my browser is never getting cookies sent back to it, even if I hand login.pl a valid user/password. (So I infer from the final error m

Re: Breaks in mod_perl, works in Perl

2002-03-06 Thread Brian Reichert
On Wed, Mar 06, 2002 at 11:02:51AM -0700, Mark Hazen wrote: > IO::Scalar can redirect STDOUT for the mod_perl script itself, but not any > external processes like DBI. I am still left without a solution. It amazes > me. But using DBI isn't an 'external process', is it? It's a part of your proc

Re: [OT] Apache Config Problem

2002-02-19 Thread Brian Reichert
On Tue, Feb 19, 2002 at 01:41:44PM -0500, Robert Landrum wrote: > I'm trying to do something really simple and trying to avoid writing > an Modperl handler to do it. > > We have a website behind a bigip running on port 8080. When someone > requests a URL that doesn't end with a slash, it's red

Re: [OT] log analyzing programs

2001-12-02 Thread Brian Reichert
On Sat, Dec 01, 2001 at 11:49:23PM -0800, Bill Moseley wrote: > Any suggestions for favorite ones? wusage seems to require a lot of > resources -- maybe that's not unusual? It runs once a week. Here's a > about six days worth of requests. Doesn't see like that many. I roll my own. It depends

Re: Running a shell command inside a cgi/perl script

2001-11-30 Thread Brian Reichert
Just to toot my own horn, I'd like to mention that I wrote the System2 module, with an eye toward running commands, and getting isolated STDOUT/STDERR as well as exit values. Well, it makes me happy. On Fri, Nov 30, 2001 at 03:45:23PM -0500, J. J. Horner wrote: > * Kairam, Raj ([EMAIL PROTECTED]

Re: backticks in mod_perl

2001-10-05 Thread Brian Reichert
On Fri, Oct 05, 2001 at 10:51:49PM +0200, EXP wrote: > Hi > > Simple question, it seems that the backticks won't work as expected in > mod_perl scripts. 'As expected'? What does that mean? > Is there some module like Apache::SubProcess to read the output of a > command into an array? What's

Re: Perl Scripting help

2001-09-26 Thread Brian Reichert
On Thu, Sep 27, 2001 at 09:22:41AM +1000, Matthew Blacklow wrote: > I am writing a script at the moment which among others things creates > another process using the system call. > What I need to do is capture the screen output of this process into a string > variable so that it can latter be mani

Re: looking for a few good stats

2001-06-26 Thread Brian Reichert
On Tue, Jun 26, 2001 at 08:22:25AM -0700, Islandman wrote: > I'm looking for a good stats package for presenting basic stats, normal > distributions, percentiles, and similar off of database queries. Not > seeing much on CPAN. Statistics::Descriptive does me just fine. What kind of stuff are yo

looking for cited document WRT web testers

2001-06-05 Thread Brian Reichert
I hope I'm not barking up the wrong tree, but I could not find this in the archive. I could have _sworn_ that within the last several weeks, someone had posted here a URL to a document that described, in a handy way, information for web testers WRT the sorts of details they really need to supply

Re: Concepts of Unique Tracking

2001-05-27 Thread Brian Reichert
On Fri, May 25, 2001 at 10:03:04AM -0700, Jonathan Hilgeman wrote: > Now, I'm assuming that Apache has full access to these incoming packets. > Therefore, they must also have access to this invisible identifier. Is it > possible to extract that identifier somehow by tinkering with Apache? Most NA

Re: perlhandler -> CGI.pm -> no request object?

2000-01-31 Thread Brian Reichert
On Fri, Jan 28, 2000 at 06:46:27PM -0500, Brian Reichert wrote: > Sorry about the confusing subject line. > > I'm witnessing a symptom: > > Using apache_1.3.9 and mod_perl-1.21 and CGI.pm-2.56 under 3.2-STABLE. I have an update: under the above software versions, when I

perlhandler -> CGI.pm -> no request object?

2000-01-28 Thread Brian Reichert
Sorry about the confusing subject line. I'm witnessing a symptom: Using apache_1.3.9 and mod_perl-1.21 and CGI.pm-2.56 under 3.2-STABLE. I'm writing a cookie-based access handler. (Based very directly on the Apache::TicketMaster example in the Eagle book.) My perl handler uses: use CGI qw(

[reichert@numachi.com: Re: cosmetic flaw in CGI.pm-2.56]

1999-12-06 Thread Brian Reichert
I've been pestering the author of CGI.pm about a symptom I've been seeing in my error logs. I've been doing PerlAuthenHandler development with: CGI.pm-2.56 perl 5.005_03 apache_1.3.9 mod_perl-1.21 under FreeBSD 3.2-STABLE. My test code only makes use of CGI::Cookie, not CGI.pm direct