Nasty chunking bug (in MSIE?) when using ap_rwrite()/ap_rflush()

2001-06-25 Thread Bill Stoddard
I have a module that calls ap_rwrite() followed by ap_rflush(). Content length is not provided so Apache 2.0 chunks the response. Here is what happens... I call ap_rwrite() to write a x75 len byte stream. All the correct headers are built, and the content is buffered by the OLD_WRITE filter.

Re: directory_walk performance

2001-06-25 Thread William A. Rowe, Jr.
From: [EMAIL PROTECTED] Sent: Saturday, June 23, 2001 1:36 PM Just a heads up, because I know he's off-list this weekend. Will Rowe has been looking at some of this stuff recently. He has basically re-worked directory walk to take advantage of a lot of the stat() calls that have already

Flter Definitions.

2001-06-25 Thread Gonyou, Austin
Is the format of the SetOutputFilter/SetInputFilter listed in the apache 2 manual somewhere? I got PHP working finally, by adding the following. Though I don't know if it's correct. FILES *.php SetOutputFilter PHP SetInputFilter PHP /FILES Any direction on this would be helpful.

Re: directory_walk performance

2001-06-25 Thread dean gaudet
On Mon, 25 Jun 2001, William A. Rowe, Jr. wrote: One consideration, depending on module authorship, is if a module author chooses to 'do something' in the directory merge operation, relative to the request (uri, query elements, etc.) Does anyone know of such a module? the merge functions

RE: directory_walk performance

2001-06-25 Thread Gonyou, Austin
Doh...Never mind. I'm an idiot. Sorry for the spam. -- Austin Gonyou Systems Architect, CCNA Coremetrics, Inc. Phone: 512-796-9023 email: [EMAIL PROTECTED] -Original Message- From: Gonyou, Austin [mailto:[EMAIL PROTECTED]] Sent: Monday, June 25, 2001 5:03 PM To: '[EMAIL

Possible security enhancement to apache server

2001-06-25 Thread David Campbell
Hi, I would like to discuss with anybody who knows the internals of the software the viability of an Apache server change along the following lines. Verbose mode on. Apache is mostly started by system scripts at boot time, and as such, is started as root. From there, it can change uid and gid

Re: Possible security enhancement to apache server

2001-06-25 Thread dean gaudet
i did something similar ages ago... and i think manoj did some followon work to my patch. my idea was to use a wrapper much like innd uses, just to open the socket. if you look at http://arctic.org/~dean/apache/1.3/arctic_mods_v2.patch and search for pre_opened_socket, permanent_listeners, and

Re: Possible security enhancement to apache server

2001-06-25 Thread Ian Holsman
On 26 Jun 2001 10:01:14 +1000, David Campbell wrote: Hi, I would like to discuss with anybody who knows the internals of the software the viability of an Apache server change along the following lines. Verbose mode on. Apache is mostly started by system scripts at boot time, and as such,

Re: Possible security enhancement to apache server

2001-06-25 Thread David Campbell
Ian, Like I said, the apache config files need to be writable by the control-centre so they'd have to be writeable by the uid under which the control-centre runs. Then I guess that apache could be launched from sudo and then change down to a different uid that could read the config files as