Antw: Re: Best place to log error 500 errors

2003-11-19 Thread Andre Schild
Hello, >use piped log and tell your users to put the status in a certain location >write a custom module that implements the log-transaction hook, and do whatever >you want for status==500 Yep, is just what I did. (Using mod_examples as a starting point. >> I think of something like a (transpar

bug between mem_cache and the max heap?

2003-11-19 Thread Jean-Jacques Clar
The heap in cache_pqueue is a max head, it always keep the object with the highest priority in its root position. The object with the highest priority is the one that is ejected when a new element has to be inserted when the cache is full (max nb of entities or size reached).   The return value

Re: Patch management

2003-11-19 Thread Jeff Trawick
Jeff Trawick wrote: I'd like to write up some notes tomorrow as a draft of a new "how to submit a patch", pointing to existing info on httpd patches and describing the current bugzilla capability. With the help of Glenn (gs-apache-dev at gluelogic.com, there is a first draft at http://jakarta.a

Re: bug between mem_cache and the max heap?

2003-11-19 Thread Cliff Woolley
On Wed, 19 Nov 2003, Jean-Jacques Clar wrote: > The heap in cache_pqueue is a max head, it always keep the object with > the highest priority in its root position. The object with the highest > priority is the one that is ejected when a new element has to be > inserted when the cache is full (max

Re: Patch management

2003-11-19 Thread Paul J. Reder
The final sentence seems a bit long and confusing. Perhaps instead of: "An important benefit of Apache httpd is that you can modify the source as you require, and while we understand that it is preferable to avoid re-applying patches when a new Apache httpd is released, the ability to do so, along

Re: Patch management

2003-11-19 Thread Jeff Trawick
Paul J. Reder wrote: You could have something like: "An important benefit of Apache httpd is that you can modify the source as you require. While we do understand the desire to avoid re-applying patches to each new Apache httpd release, that ability allows users with unique requirements to tailor

Re: bug between mem_cache and the max heap?

2003-11-19 Thread Paul J. Reder
I just finished looking at the code and came to the same conclusion Cliff. The patch looks like it would work correctly, but the extra multiplication by -1 was bothering me. The optimizer may remove it as a performance issue, but it is still confusing when looking at the code. I'd vote for your ver

Re: bug between mem_cache and the max heap?

2003-11-19 Thread Jean-Jacques Clar
Thanks Cliff, I definitely like it better your way. I am still following the "why make it simple if it could be complicated" way of doing things.   +1   Jean-Jacques>>> [EMAIL PROTECTED] 11/19/2003 1:24:02 PM >>> I just finished looking at the code and came to the same conclusion Cliff.The patch

Re: [patch] adding mpm info to httpd -V

2003-11-19 Thread Geoffrey Young
Jeff Trawick wrote: Geoffrey Young wrote: wow, I didn't expect to see this followed up upon. thanks. Server version: Apache/2.1.0-dev Server built: Aug 12 2003 02:25:22 Server's Module Magic Number: 20030213:1 Architecture: 32-bit Server MPM: Prefork too bad ap_show_mpm doesn't list

Re: [patch] adding mpm info to httpd -V

2003-11-19 Thread Jeff Trawick
Geoffrey Young wrote: Jeff Trawick wrote: Geoffrey Young wrote: wow, I didn't expect to see this followed up upon. thanks. maybe httpd developers should be stranded in airports more often... also, several weeks ago somebody was complaining to me about various things they didn't like about Apa

patch to add style sheet support to mod_autoindex

2003-11-19 Thread Tyler Riddle
I made a simple modification to mod_autoindex that allows one to specify a style sheet to be used for the generated page in the server config file. This was done with a new configuration item IndexStyleSheet. This item specifies a string that is used to reference an external style sheet. The patch

Re: patch to add style sheet support to mod_autoindex

2003-11-19 Thread Aaron Bannert
On Wed, Nov 19, 2003 at 04:09:12PM -0800, Tyler Riddle wrote: > I made a simple modification to mod_autoindex that > allows one to specify a style sheet to be used for the > generated page in the server config file. This was > done with a new configuration item IndexStyleSheet. > This item specifie

[PATCH] Add IndexStyleSheet to 2.0/2.1

2003-11-19 Thread Paul Querna
Based on the Patch by Tyler Riddle for 1.3, these patches add an IndexStyleSheet for mod_autoindex in 2.0 and 2.1. The version for 2.1 also handles XHTML. -Paul Querna also online: http://force-elite.com/~chip/patches/httpd/mod_autoindex/ 2.0-mod_autoindex.c.patch Description: Binary data 2

[Fwd: cvs commit: httpd-test/specweb99/specweb99-2.0 mod_specweb99.c]

2003-11-19 Thread Ian Holsman
this commit reminds me.. weren't we going to do something similiar to this in 2.1 for the default file handler? (replace the 'stat' with a 'fstat') Will .. do you remember the whole details? it was something about putting the handle into the request_rec or something Original Message --

Re: patch to add style sheet support to mod_autoindex

2003-11-19 Thread Andrew Rodland
Tyler Riddle wrote: > I made a simple modification to mod_autoindex that > allows one to specify a style sheet to be used for the > generated page in the server config file. This was > done with a new configuration item IndexStyleSheet. > This item specifies a string that is used to reference > an

Re: [PATCH] Add IndexStyleSheet to 2.0/2.1

2003-11-19 Thread Ian Holsman
Commited to the 2.1 branch. Thanks guys! Paul Querna wrote: Based on the Patch by Tyler Riddle for 1.3, these patches add an IndexStyleSheet for mod_autoindex in 2.0 and 2.1. The version for 2.1 also handles XHTML. -Paul Querna also online: http://force-elite.com/~chip/patches/httpd/mod_autoin

accessing userdir mapping info

2003-11-19 Thread Glenn
There are numerous modules that provide "userdir" mappings in Apache. mod_userdir (a standard module), mod_ldap_userdir, mod_dynvhost, ... I'm sure there are others. But there is no generic way that I am aware of for other modules to access this information. Apache2 mod_userdir sets "mod_userdir_

Re: cvs commit: httpd-2.0/modules/generators mod_autoindex.c

2003-11-19 Thread Jeff Trawick
[EMAIL PROTECTED] wrote: ianh2003/11/19 19:45:23 Modified:.CHANGES docs/manual/mod mod_autoindex.xml modules/generators mod_autoindex.c which prompts me to add a section on special documentation issues to my submitting-your-patch changes, since

[STATUS] (apache-1.3) Wed Nov 19 23:45:08 EST 2003

2003-11-19 Thread Rodent of Unusual Size
APACHE 1.3 STATUS: -*-text-*- Last modified at [$Date: 2003/11/07 04:12:55 $] Release: 1.3.30-dev: In development 1.3.29: Tagged October 24, 2003. Announced Oct 29, 2003. 1.3.28: Tagged July 16, 2003. Announced ?? 1.3.27: Tagged September

[STATUS] (httpd-2.0) Wed Nov 19 23:45:14 EST 2003

2003-11-19 Thread Rodent of Unusual Size
APACHE 2.0 STATUS: -*-text-*- Last modified at [$Date: 2003/11/19 12:57:09 $] Release: 2.0.49 : in development 2.0.48 : released October 29, 2003 as GA. 2.0.47 : released July 09, 2003 as GA. 2.0.46 : released May 28, 2003 as GA.

[STATUS] (httpd-2.1) Wed Nov 19 23:45:18 EST 2003

2003-11-19 Thread Rodent of Unusual Size
APACHE 2.1 STATUS: -*-text-*- Last modified at [$Date: 2003/10/11 21:12:39 $] Release [NOTE that only Alpha/Beta releases occur in 2.1 development]: 2.1.0 : in development Please consult the following STATUS files for information on related proj

Re: cvs commit: httpd-2.0/modules/generators mod_autoindex.c

2003-11-19 Thread André Malo
* [EMAIL PROTECTED] wrote: > mod_autoindex: new directive IndexStyleSheet Hmm, why not new IndexOption? Isn't that what Indexoptions are for? nd

Re: cvs commit: httpd-2.0/modules/generators mod_autoindex.c

2003-11-19 Thread Paul Querna
On Thu, 20 Nov 2003 07:18:55 +0100, André Malo wrote > * [EMAIL PROTECTED] wrote: > > > mod_autoindex: new directive IndexStyleSheet > > Hmm, why not new IndexOption? Isn't that what Indexoptions are for? > You mean somthing like: IndexOpion StyleSheet:/style/mystyle.css ?