Re: Capturing a Subrequest

2004-10-08 Thread Cliff Woolley
On Fri, 8 Oct 2004, Paul Querna wrote: > So, I think something about my manually adding my output filter > to the subrequest is wrong: Ya, that doesn't look right. There a function that's called (or at least used to be called ;) "ap_add_output_filter()". That's probably what you want. --Cliff

Capturing a Subrequest

2004-10-08 Thread Paul Querna
I am trying to capture the content of a sub request that I create in my module (mod_transform) to a bucket brigade. I want to do this so libxml2 can use it as an input buffer. As an example, this would allow mod_transform to XInclude content from another Handler (PHP, mod_perl, or my own modul

Re: mod_disk_cache directives naming convention

2004-10-08 Thread Andreas Steinmetz
htcacheclean, take two: Code cleanups, more apr style coding, presumably feature complete, now built against apache 2.1 cvs. Needs further testing and especially niceness tuning. See code below. Comments welcome. -- Andreas Steinmetz SPAMmers use [EMAIL PROTECTED] /* Copyright

Re: [PATCH] WIN64: httpd API changes

2004-10-08 Thread Allan Edwards
Joe Orton wrote: The ap_r* changes are not safe: these functions return negative values on error. Each and every int->size_t conversion needs to be carefully checked for this kind of issue. Good point. I will review closely this weekend. Thanks, Allan

Re: mod_status idea

2004-10-08 Thread Brian Akins
Cliff Woolley wrote: "optional" part is that the module that /defines/ the hook (and calls it) might not actually be present itself, so modules that wish to participate in that hook should not be broken by that other module's absense. Okay. So, I would something like this in a "caller": static AP

Re: Bye bye welcome page

2004-10-08 Thread Manoj Kasichainula
On Wed, Oct 06, 2004 at 01:12:33PM -0400, Joshua Slive wrote: My opinion is that the shorter message is better because, by the fact that it gives no information at all, it is less likely to be misinterpreted to mean something that the website owner doesn't intend. +1, as long as there's no mentio

Re: mod_disk_cache directives naming convention

2004-10-08 Thread Andreas Steinmetz
Justin Erenkrantz wrote: Feel free to submit a patch that efficiently allows the constraint of the cache size. I just don't see a way to do that as mod_disk_cache does not have any indexing. IMHO, instead of making a false promise, we should remove it. If we were to add such a feature later,

Re: mod_deflate.c problems

2004-10-08 Thread Justin Erenkrantz
--On Friday, October 8, 2004 3:59 PM +0100 Joe Orton <[EMAIL PROTECTED]> wrote: zutil.h isn't really needed at all; in fact whole the gzip header could be in an immortal bucket, much less overhead than jumping through the psprintf code. Try this? I think we tried to hard-code OS_CODE to 0x03 initi

Re: Bug: Apache hangs if script invokes fork/waitpid

2004-10-08 Thread Jeff Trawick
On Thu, 07 Oct 2004 12:53:47 -0700, Paul Querna <[EMAIL PROTECTED]> wrote: > Jeff Trawick wrote: > > I think there needs to be a mod_fork which provides a more general > > purpose daemon than that used by mod_cgid, and some Apache API will > > know whether or not to send a request over there. This

Re: Apache1 and own ErrorLog-Handler?

2004-10-08 Thread Jeff Trawick
On Fri, 8 Oct 2004 12:07:45 +0200, Timo Eckert <[EMAIL PROTECTED]> wrote: > On Fri, 8 Oct 2004 05:46:29 -0400 > Jeff Trawick <[EMAIL PROTECTED]> wrote: > > > > is it possible on Apache1 to "pipe" the Error-Logs to an own > > > handler? > > > > no; unlike Apache 2, Apache 1.3 has no such capability

Re: mod_status idea

2004-10-08 Thread Cliff Woolley
On Fri, 8 Oct 2004, Eli Marmor wrote: > Please check, before adding dependencies on internal data of > mod_status, if APR_OPTIONAL_HOOK can help here; > mod_status.c defines a status_hook, and maybe it can be used to help. Actually, we would want in this case would be an optional function, not an

Re: mod_deflate.c problems

2004-10-08 Thread Joe Orton
On Fri, Oct 08, 2004 at 03:34:18PM +0200, jean-frederic clere wrote: > I have the following problem with mod_deflate: > > +++ > In file included from /usr/include/zutil.h:16, > from mod_deflate.c:50: > /usr/include/zlib.h:40: warning: `ZLIB_VERSION' redefined > /opt/SMAWPlus/includ

Re: mod_status idea

2004-10-08 Thread Eli Marmor
Nice idea. Please check, before adding dependencies on internal data of mod_status, if APR_OPTIONAL_HOOK can help here; mod_status.c defines a status_hook, and maybe it can be used to help. Brian Akins wrote: > > I think this has been proposed before, but I wanted to see if there was > interest

mod_status idea

2004-10-08 Thread Brian Akins
I think this has been proposed before, but I wanted to see if there was interest before I started coding. Currently, there is a static list of "states" that mod_status can report. What if we extended this so modules could add there own state. Perhaps use something similar to calls to "ap_get_

mod_deflate.c problems

2004-10-08 Thread jean-frederic clere
Hi, I have the following problem with mod_deflate: +++ In file included from /usr/include/zutil.h:16, from mod_deflate.c:50: /usr/include/zlib.h:40: warning: `ZLIB_VERSION' redefined /opt/SMAWPlus/include/zlib.h:40: warning: this is the location of the previous definition In file

Re: Apache1 and own ErrorLog-Handler?

2004-10-08 Thread Timo Eckert
On Fri, 8 Oct 2004 05:46:29 -0400 Jeff Trawick <[EMAIL PROTECTED]> wrote: > > is it possible on Apache1 to "pipe" the Error-Logs to an own > > handler? > > no; unlike Apache 2, Apache 1.3 has no such capability Ok, where have i to search in the source, that ErrorLog-Filenames will be parsed thr

Re: Apache1 and own ErrorLog-Handler?

2004-10-08 Thread Jeff Trawick
On Fri, 8 Oct 2004 11:30:46 +0200, Timo Eckert <[EMAIL PROTECTED]> wrote: > Hello, > > is it possible on Apache1 to "pipe" the Error-Logs to an own handler? no; unlike Apache 2, Apache 1.3 has no such capability

Apache1 and own ErrorLog-Handler?

2004-10-08 Thread Timo Eckert
Hello, is it possible on Apache1 to "pipe" the Error-Logs to an own handler? Not to an external Programm. I'm writing an one Log-Module, and I also want, if its possible, to handle the ErrorLogs. Regards, Timo.