Re: ap_sub_req_method_uri and POST

2003-09-08 Thread André Malo
Aryeh Katz wrote: Is it possible to change a GET to a POST, and add post data to the POST request by using get_brigade and pass_brigade and ap_sub_req_method_uri? Theoretically yes. You would have to define an input filter that "emulates" the POST body data reading. But I've never tried it.

Re: Tagged the trees

2003-09-08 Thread gregames
Sander Striker wrote: Hi, I tagged the trees today, as STRIKER_2_0_48_PRE1 and STRIKER_2_1_0_PRE1 respectively. I'll try and get some tarballs up for testing, but for now, please test the tag. Looks good on RedHat 9 with worker. I didn't do anything special to change thread libraries, so I assu

Re: cvs commit: httpd-2.0/server main.c

2003-09-08 Thread André Malo
* [EMAIL PROTECTED] wrote: > martin 2003/09/08 09:39:05 > > Modified:server main.c > Log: > Documentation says -DDUMP_VHOSTS is equivalent to setting -S eww. It should say, that "-t -D DUMP_VHOSTS" is equivalent. So it would be a documentation bug. Where did you read it? nd

cleaning binary distributions

2003-09-08 Thread Joshua Slive
Unless someone has an objection, I'm going to do the following: - Remove all but the most recent (2.0/1.3) binary distributions from each directory under http://www.apache.org/dist/httpd/binaries/ - Remove all versions prior to 1.3.26/2.0.37. (I picked that one because of the chunked encoding vu

RE: Tagged the trees

2003-09-08 Thread Sander Striker
> From: Cliff Woolley [mailto:[EMAIL PROTECTED] > Sent: Monday, September 08, 2003 8:27 PM > On Mon, 8 Sep 2003, Brian Havard wrote: > > > Both are currently broken on OS/2 from the recent max mem free stuff. Looks > > like I have to turn on AP_MPM_WANT_SET_MAX_MEM_FREE for it to compile > > with

Re: Tagged the trees

2003-09-08 Thread Cliff Woolley
On Mon, 8 Sep 2003, Brian Havard wrote: > Both are currently broken on OS/2 from the recent max mem free stuff. Looks > like I have to turn on AP_MPM_WANT_SET_MAX_MEM_FREE for it to compile > without error but I don't know exactly what it implies. Is there any reason > why I wouldn't want to do th

ap_sub_req_method_uri and POST

2003-09-08 Thread Aryeh Katz
Is it possible to change a GET to a POST, and add post data to the POST request by using get_brigade and pass_brigade and ap_sub_req_method_uri? --- Aryeh Katz Secured-Services Inc.

RE: ScriptLog

2003-09-08 Thread Dietz, Phil E.
If we ever get the cgi-stdout-stdin-stderr read deadlocking issue fixed... I did some initial work to make mod_cgi allow 3rd party modules to register StderrAndOutput filters (techically, ScriptLog is itsself a StderrAndOutput filter and is added as the default). So you could have a mod_javasc

Re: lifetime of r->user in 2.0 tree

2003-09-08 Thread Aryeh Katz
> From: André Malo <[EMAIL PROTECTED]> > The request is independent from the connection. I'd count the storage > of the request user in r->connection in 1.3 as wrongly designed. The > second is a technical reason. In 2.x connection and request are > *really* separated, so storing th

Re: lifetime of r->user in 2.0 tree

2003-09-08 Thread André Malo
Aryeh Katz wrote: There is a comment in protocol.c which states that the lifetime of r->user is per connection. Yet, the code only allocates from the request pool. Tracing this back, I see that in the 1.3 tree, the allocation is in fact from the connection. Can someone explain why the user infor

lifetime of r->user in 2.0 tree

2003-09-08 Thread Aryeh Katz
There is a comment in protocol.c which states that the lifetime of r->user is per connection. Yet, the code only allocates from the request pool. Tracing this back, I see that in the 1.3 tree, the allocation is in fact from the connection. Can someone explain why the user information's lifespan w

RE: getting MPM model of apache web server

2003-09-08 Thread Resume
unsubscribe > -Original Message- > From: Gagan Puri [mailto:[EMAIL PROTECTED] > Sent: Monday, September 08, 2003 4:05 AM > To: [EMAIL PROTECTED] > Subject: getting MPM model of apache web server > > > Hi All, > > I have an application in which I need to check whether the > apache ser

Re: Tagged the trees

2003-09-08 Thread Jeff Trawick
Sander Striker wrote: I tagged the trees today, as STRIKER_2_0_48_PRE1 and STRIKER_2_1_0_PRE1 respectively. I'll try and get some tarballs up for testing, but for now, please test the tag. with recent apr resolver changes, Apache on AIX has picked up the old assert failure that solaris-8-with-no

Re: Tagged the trees

2003-09-08 Thread Brian Havard
On Sat, 6 Sep 2003 09:49:54 +0200, Sander Striker wrote: >I tagged the trees today, as STRIKER_2_0_48_PRE1 and STRIKER_2_1_0_PRE1 >respectively. I'll try and get some tarballs up for testing, but >for now, please test the tag. Both are currently broken on OS/2 from the recent max mem free stuff.

Re: getting MPM model of apache web server

2003-09-08 Thread Jeff Trawick
Gagan Puri wrote: I have an application in which I need to check whether the apache server >is prefork based or worker MPM based. How can I get the model info from >web server in my application. Normal commad line way to check this is by >simply giving the command apachectl -V. Is there any apac

Re: cvs commit: httpd-dist KEYS

2003-09-08 Thread Ben Laurie
[EMAIL PROTECTED] wrote: > martin 2003/09/08 04:03:40 > > Modified:.KEYS > Log: > Add my 768/FDE534D1 key That's a little weak, isn't it? -- http://www.apache-ssl.org/ben.html http://www.thebunker.net/ "There is no limit to what a man can do or how far he can go i

Re: apr_global_mutex_child_init & mod_watch

2003-09-08 Thread Anthony Howe
flock is used on FreeBSD by default... flock requires that chmod be done on the lock in the child init As an aside, why is flock() used on FreeBSD? It has SysV like mutexes and POSIX ones too (at least in 4.8) - I may sound unsure cause I've only recently switched platforms from Linux to FreeBS

Re: apr_global_mutex_child_init & mod_watch

2003-09-08 Thread Anthony Howe
this is a situation where mod_rewrite wasn't a great place to look since mod_rewrite never handled this situation correctly in 2.0, and I fixed mod_rewrite in 2.1-dev by teaching unixd_set_global_mutex_perms() to be smarter... unfortunately, the change has not yet been merged into the stable t

Re: apr_global_mutex_child_init & mod_watch

2003-09-08 Thread Anthony Howe
flock is used on FreeBSD by default... flock requires that chmod be done on the lock in the child init if you look at Apache 2.1-dev, unixd_set_global_mutex_perms() has been changed to handle the chmod() for you You mean chown() right? Or do you mean both chmod() and chown()? at Apache 2.0.48

Re: getting MPM model of apache web server

2003-09-08 Thread Geoffrey Young
Gagan Puri wrote: Hi All, I have an application in which I need to check whether the apache server is prefork based or worker MPM based. How can I get the model info from web server in my application. Normal commad line way to check this is by simply giving the command apachectl -V. Is there

Re: apr_global_mutex_child_init & mod_watch

2003-09-08 Thread Jim Jagielski
Anthony Howe wrote: > > > flock is used on FreeBSD by default... flock requires that chmod be > > done on the lock in the child init > > As an aside, why is flock() used on FreeBSD? It has SysV like mutexes > and POSIX ones too (at least in 4.8) - I may sound unsure cause I've > only recently

getting MPM model of apache web server

2003-09-08 Thread Gagan Puri
Hi All, I have an application in which I need to check whether the apache server is prefork based or worker MPM based. How can I get the model info from web server in my application. Normal commad line way to check this is by simply giving the command apachectl -V. Is there any apache specific

Re: ScriptLog

2003-09-08 Thread Manoj Kasichainula
On Sun, Sep 07, 2003 at 05:38:56PM -0400, Cliff Woolley wrote: > On Sun, 7 Sep 2003, Manoj Kasichainula wrote: > > > If it's only for debugging, can't CGI writers just add a line to their > > code to rebind stderr to a file? > > Only if the error is output from the script as opposed to a compilat