mod_perl 2.x/perl 5.6.x ?

2000-04-21 Thread Michael hall
I'm more of a perl end user and plead ignorance in actually understanding what goes on behind the scenes. In the process of considering upgrading to perl 5.6 and according to a recent message I see its going to be required for mod_perl 2.x anyways so I guess its a good time to start migrating in t

Re: [OT] Proxy Nice Failure

2000-04-21 Thread Jim Winstead
On Apr 21, Michael hall wrote: > I'm on the new-httpd list (as a lurker, not a developer :-). Any ideas, > patches, help porting, etc. would be more than welcome on the list. > Mod-Proxy is actually kind of in limbo, there are some in favor of > dropping it and others who want it. I guess the code

Re: [OT] Proxy Nice Failure

2000-04-21 Thread Michael hall
On Sat, Apr 22, 2000 at 12:28:41AM +0300, Stas Bekman wrote: > > > I like the mod_proxy module in reverse httpd accel mode, but > > > am interested in having some nicer failure capabilities. I have > > > hacked in this kind of stuff before but was wondering if anyone > > > had any official pa

Re: modperl interfering with php

2000-04-21 Thread darius archer
D'oh! ...so PerlHandler is the only hook that requires an apache SetHandler directive (in which case you run into the no-stacked-handlers problem), and all the others only need the appropriate Perl*Handler directive? maybe I didn't RTFM as well as I thought... thanks! darius On 4/20/00 at

Deep recursion on subroutine "Apache::Constants::AUTOLOAD"

2000-04-21 Thread Martin Lichtin
Anyone understand why perl -we 'use Apache::Constants; Apache::Constants::OK();' causes this problem?

Re: [OT] Proxy Nice Failure

2000-04-21 Thread Stas Bekman
On Fri, 21 Apr 2000, Leslie Mikesell wrote: > According to Joshua Chamas: > > > I like the mod_proxy module in reverse httpd accel mode, but > > am interested in having some nicer failure capabilities. I have > > hacked in this kind of stuff before but was wondering if anyone > > had any off

do "file" -- does NOTHING

2000-04-21 Thread w trillich
if you can find the problem, LET ME KNOW. i'm on the verge of a breakdown. at the end of my http.conf i've got: PerlRequire "startup.pl" the entire listing for startup.pl is: package Apache::ReadConfig; Apache->httpd_conf("Clavis"); Apache->httpd_conf("");

Re: [OT] Proxy Nice Failure

2000-04-21 Thread Leslie Mikesell
According to Joshua Chamas: > I like the mod_proxy module in reverse httpd accel mode, but > am interested in having some nicer failure capabilities. I have > hacked in this kind of stuff before but was wondering if anyone > had any official patch for this kind of stuff. > > The nicety und

[OT] Proxy Nice Failure

2000-04-21 Thread Joshua Chamas
Hey, I like the mod_proxy module in reverse httpd accel mode, but am interested in having some nicer failure capabilities. I have hacked in this kind of stuff before but was wondering if anyone had any official patch for this kind of stuff. The nicety under consideration is having the mod_

Re: DSN/ASP problems on Appache/RH 61

2000-04-21 Thread Joshua Chamas
Michael Skees wrote: > > Hi Everyone, > > How do you set up a system DSN (Data Source Name) on a linux box so that ASP > (active server pages) will "talk" to it? > > I have followed all of the Apache::ASP instructions as closely as possible. > I can get most http pages with .asp to work, but se

Re: Memory usage on reload and graceful -- still broken?

2000-04-21 Thread Doug MacEachern
> You got me! I have sections ... but I didn't know > it was such a crime. Pretty bizarre behavior if you ask me. it's not a crime, but if you're running Perl code during restart there's a strong chance you'll be growing the server size. i agree 1M is bizarre though.

RE: Won't override ENV variable

2000-04-21 Thread Geoffrey Young
> -Original Message- > From: Vivek Khera [mailto:[EMAIL PROTECTED]] > Sent: Friday, April 21, 2000 3:21 PM > To: [EMAIL PROTECTED] > Subject: RE: Won't override ENV variable > > > > "k" == klasker <[EMAIL PROTECTED]> writes: > > k> Is there any way to prevent mod_cgi from setting

RE: Won't override ENV variable

2000-04-21 Thread Doug MacEachern
On Fri, 21 Apr 2000 [EMAIL PROTECTED] wrote: > > This is great! My handler now works as expected. I have the O'Reilly > mod_perl book and it shows $c->user as a read-only function. It doesn't > make any mention of passing a variable to it. Thanks, Bjoern. hmm, yes the ch9 api listing does

DSN/ASP problems on Appache/RH 61

2000-04-21 Thread Michael Skees
Hi Everyone, How do you set up a system DSN (Data Source Name) on a linux box so that ASP (active server pages) will "talk" to it? I have followed all of the Apache::ASP instructions as closely as possible. I can get most http pages with .asp to work, but several which involve DB generation and

RE: Won't override ENV variable

2000-04-21 Thread Vivek Khera
> "k" == klasker <[EMAIL PROTECTED]> writes: k> This is great! My handler now works as expected. I have the O'Reilly k> mod_perl book and it shows $c->user as a read-only function. It doesn't k> make any mention of passing a variable to it. Thanks, Bjoern. Always check the man pages f

RE: Won't override ENV variable

2000-04-21 Thread Vivek Khera
> "k" == klasker <[EMAIL PROTECTED]> writes: k> Is there any way to prevent mod_cgi from setting REMOTE_USER? Don't put your CGI inside password protected space. That should do it. I believe this is part of the CGI and/or Basic Auth specs.

RE: Won't override ENV variable

2000-04-21 Thread klasker
This is great! My handler now works as expected. I have the O'Reilly mod_perl book and it shows $c->user as a read-only function. It doesn't make any mention of passing a variable to it. Thanks, Bjoern. Kory -Original Message- From: Ask Bjoern Hansen [mailto:[EMAIL PROTECTED]]

RE: Won't override ENV variable

2000-04-21 Thread Ask Bjoern Hansen
On Fri, 21 Apr 2000 [EMAIL PROTECTED] wrote: > Is there any way to prevent mod_cgi from setting REMOTE_USER? Yeah, unset connection->user, but that is probably not what you are looking for. Just set $r->connection->user and mod_cgi will pick up the right value from there. - ask > -Origi

RE: Won't override ENV variable

2000-04-21 Thread klasker
Is there any way to prevent mod_cgi from setting REMOTE_USER? Kory -Original Message- From: Ask Bjoern Hansen [mailto:[EMAIL PROTECTED]] Sent: Friday, April 21, 2000 1:36 PM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Re: Won't override ENV variable On Fri, 21 Apr 2000 [EMAI

Re: Won't override ENV variable

2000-04-21 Thread Vivek Khera
> "RB" == Rodney Broom <[EMAIL PROTECTED]> writes: RB> #-- Works for mod_perl RB> $r->subprocess_env(SOME_KEY => $some_value; RB> You can see my problem in my mail: "ENV var names rewritten to REDIRECT_*" That's expected bahavior for a sub-request; the environment from the original requ

ENV var names rewritten to REDIRECT_*

2000-04-21 Thread Rodney Broom
I've written a handler to do some auth work. It's implimented in a .htaccess with PerlAuthHandler. In the package, I set a couple of ENV keys for use by any pages/scripts in the request. Well, I have 3 different page types that can load under this auth system, CGI, mod_perl, and an internal thing

Re: Memory usage on reload and graceful -- still broken?

2000-04-21 Thread Paul Lindner
On Fri, Apr 21, 2000 at 11:28:18AM -0700, Joshua Chamas wrote: > Doug MacEachern wrote: > > > > > I have a static Solaris compilation, and have the same problems > > > where the parent seems to grow by 1M each HUP. > > > > that's strange, do you have PerlFreshRestart On or some sections? > > ot

Re: Won't override ENV variable

2000-04-21 Thread Rodney Broom
- Original Message - From: <[EMAIL PROTECTED]> > > a handler... REMOTE_USER needs to be changed > I used $r->subprocess_env > doesn't work. Funny, I'm just playing with something like this myself. I wrote an authentication handler that does magic stuff with the DB and other neeto decis

Re: Won't override ENV variable

2000-04-21 Thread Ask Bjoern Hansen
On Fri, 21 Apr 2000 [EMAIL PROTECTED] wrote: $r->connection->user($new_login) is what you are looking for I believe. REMOTE_USER is set from c->user by mod_cgi just before the cgi script is run. - ask -- ask bjoern hansen - more than 70M impressions per day,

Won't override ENV variable

2000-04-21 Thread klasker
I'm writing a handler wherein the REMOTE_USER string needs to be changed (after authentication) to another string so the CGI can continue on its merry way. In order to do this, I used $r->subprocess_env to set the variable. Unfortunately, this doesn't work. Something is rewriting the REMOTE

Re: Memory usage on reload and graceful -- still broken?

2000-04-21 Thread Joshua Chamas
Doug MacEachern wrote: > > > I have a static Solaris compilation, and have the same problems > > where the parent seems to grow by 1M each HUP. > > that's strange, do you have PerlFreshRestart On or some sections? > otherwise, kill -HUP with a static modperl is a noop. You got me! I have sec

Re: mod_perl-1.99_01-dev

2000-04-21 Thread Doug MacEachern
> I should have been more clear! nah, i realized right after i turned off my laptop, it was like 3am, i was dum. > I meant backward compatibility to the mod_perl API. Will I be able to take > a module that makes extensive use of Apache::* mod_perl core modules, and > expect it to work? yes, th

make test fails -- problem in t/conf/httpd.conf !! (newbie problem)

2000-04-21 Thread Rob Tanner
Hi, make test fails, generating the following error: Syntax error on line 3 of /workspace/rtanner/apache/mod_perl-1.22/t/conf/httpd.conf: Invalid command '=pod', perhaps mis-spelled or defined by a module not included in the server configuration. I presume that message is being generated by t

Re: DBILogger Error Status Codes

2000-04-21 Thread Randal L. Schwartz
> "Matt" == Matt Sergeant <[EMAIL PROTECTED]> writes: Matt> On 21 Apr 2000, (Randal L. Schwartz) wrote: >> Just in case you missed it... (but notice, no instructions!): >> >> package Stonehenge::Reload; Matt> Thanks! Matt> When perl is your day job, instructions just get in the way (I gue

Re: Implementing security in CGI

2000-04-21 Thread Gunther Birznieks
At 01:44 PM 4/20/00 -0500, Matt Carothers wrote: >On Thu, 20 Apr 2000, DeWitt Clinton wrote: > > > 5) The secure token is associated on the server side (preferably on > > another tier, such as a database) with the user identification token. > > Additionally, to support secure session timeouts, t

Re: DBILogger Error Status Codes

2000-04-21 Thread Matt Sergeant
On 21 Apr 2000, (Randal L. Schwartz) wrote: > Just in case you missed it... (but notice, no instructions!): > > package Stonehenge::Reload; Thanks! When perl is your day job, instructions just get in the way (I guess you gathered that from XML::XPath's instructions - did my email help you

Re: DBILogger Error Status Codes

2000-04-21 Thread Randal L. Schwartz
> "Matt" == Matt Sergeant <[EMAIL PROTECTED]> writes: Matt> On 21 Apr 2000, (Randal L. Schwartz) wrote: Matt> and I'd be Matt> interested in seeing Stonehenge::Reload, but I don't fancy Matt> searching the archives of this list (which you posted it to, Matt> IIRC), and a central repository of

Re: DBILogger Error Status Codes

2000-04-21 Thread Matt Sergeant
On 21 Apr 2000, (Randal L. Schwartz) wrote: > Matt> and I'd be > Matt> interested in seeing Stonehenge::Reload, but I don't fancy > Matt> searching the archives of this list (which you posted it to, > Matt> IIRC), and a central repository of all your mod_perl stuff would > Matt> be nice. > > If

Re: DBILogger Error Status Codes

2000-04-21 Thread Randal L. Schwartz
> "Matt" == Matt Sergeant <[EMAIL PROTECTED]> writes: Matt> Speaking of Stonehenge::* modules - any chance you can put up a Matt> repository of them on your web page - I just installed Matt> Stonehenge::Pictures (which is very cool - but I'd like to Matt> extend it to automatically do the thu

Re: DBILogger Error Status Codes

2000-04-21 Thread Matt Sergeant
On 21 Apr 2000, (Randal L. Schwartz) wrote: > Yes. The Stonehenge::DBILog that I put into WebTechniques last month [snip] Speaking of Stonehenge::* modules - any chance you can put up a repository of them on your web page - I just installed Stonehenge::Pictures (which is very cool - but I'd lik

Re: DBILogger Error Status Codes

2000-04-21 Thread Randal L. Schwartz
> "John" == John Ingram <[EMAIL PROTECTED]> writes: John> The problem is that I believe Apache is doing it's own internal request John> for the static error page and displaying the contents of that page to John> the user, in response to the request that they made for some other URL. John> Fo

ANNOUNCE: Apache::Benchmark 0.1

2000-04-21 Thread Stas Bekman
Finally... This is a first alpha release of the tool. You can download it from http://stason.org/works/modules/Apache-Benchmark-0.1.tar.gz . *** What is it *** The goals of this project: Measuring the performance capabilities of the given server (note that it can be any webserver, not just mo

Re: mod_perl-1.99_01-dev

2000-04-21 Thread Matt Sergeant
On Fri, 21 Apr 2000, Doug MacEachern wrote: > > One thing you failed to mention was backward compatibility - what is your > > intention with regard to that? > > apache-2.0+ and Perl 5.6.0+ are required for mod_perl-2.0 > > if you want backward compatibility with older Apache/Perls, > just use m

Re: mod_perl-1.99_01-dev

2000-04-21 Thread Doug MacEachern
> One thing you failed to mention was backward compatibility - what is your > intention with regard to that? apache-2.0+ and Perl 5.6.0+ are required for mod_perl-2.0 if you want backward compatibility with older Apache/Perls, just use mod_perl-1.xx, which i expect to stick around for quite a wh

[RFC] XML/Apache Templating with mod_perl

2000-04-21 Thread Matt Sergeant
I've just thought of a really cool idea, that would be rather easy to implement... First of all, when someone requests an XML document, it looks for the processing instruction, according to the w3c specs. We parse the "type" attribute and get: text/xsl or notxslt or Apache::MyPageProcessor i.e

[ANNOUNCE] mod_perl-1.23 (fwd)

2000-04-21 Thread Ask Bjoern Hansen
-- Forwarded message -- Date: Fri, 21 Apr 2000 00:05:59 -0700 (PDT) From: Doug MacEachern <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Subject: [ANNOUNCE] mod_perl-1.23 The URL http://perl.apache.org/dist/mod_perl-1.23.tar.gz has entered CPAN as file: $CPAN/authors/id/DOUGM/

Re: in configs

2000-04-21 Thread w trillich
sorry i haven't been clearer about this: with a few inserted debug statements (say, printing the string to my tty directly) i can tell that the perl code gets executed. but no apache settings are affected. ZERO effect on apache. doesn't act as if its done a damn thing. apache ignores it even tho

Re: mod_perl-1.99_01-dev

2000-04-21 Thread Matt Sergeant
On Thu, 20 Apr 2000, Doug MacEachern wrote: > eric and stas already let the cat out of the bag, but i was planning to > give a summary of what's in progress for mod_perl-2.0 anyhow :) > i've included a summary of the pieces i'm currently working on, there's a > great deal left to do, but it's loo