DBILogger Error Status Codes

2000-04-21 Thread John Ingram
Hi, I was thrilled when I started using the latest version of DBILogger, especially when I found that I could set the HTTP_USER programmatically, so I can log the name of the user with each entry, even though I'm using CGI database authentication. Yippee! My only concern right now is that I

Re: Trouble with DSO/APXS.

2000-04-21 Thread Robert B. Easter
On Thu, 20 Apr 2000, Doug MacEachern wrote: On Thu, 20 Apr 2000, Robert B. Easter wrote: Will mod_perl work as a DSO using USE_APXS=1? with 1.22 it should work fine. child pid x exit signal Segmentation fault (11) any chance you're using XML::Parser? if so, configure

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

Re: perl in configs /perl

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

[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:

[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 ?xml-stylesheet? processing instruction, according to the w3c specs. We parse the "type" attribute and get: text/xsl or notxslt or

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

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

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 For example,

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

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 thumbnails)

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 all your

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: 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, the

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 guess you Matt

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

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, the

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 Perl sections? otherwise, kill -HUP with a static modperl is a noop. You got me! I have Perl

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

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 - http://www.netcetera.dk/~ask/ more than 70M impressions per day,

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 Perl sections? otherwise,

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: 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 request have

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 -Original

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 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 for newer

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

2000-04-21 Thread Doug MacEachern
You got me! I have Perl 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: 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 several

[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

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 official

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: 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

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 patch for

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 is