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 compilation

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

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

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

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

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

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

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 if he

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 apache

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

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 server is

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

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

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

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

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

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

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

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

Re: cvs commit: httpd-test/flood config.h.in flood_round_robin.c

2003-09-08 Thread Cliff Woolley
On Sun, 7 Sep 2003 [EMAIL PROTECTED] wrote: +if (apr_procattr_create(procattr, rp-pool) != APR_SUCCESS) { +apr_file_printf(local_stderr, +apr_procattr_create failed for '%s'\n, +

flood 1.1 TR

2003-09-08 Thread Jacek Prucia
I think we're *really* ready to release flood 1.1. I would like to tag the tree in a day or two. We don't have that many commits daily, so I think we can simply test HEAD, without any temporary candidate tag (like those on httpd repo). I would also like to be RM for this release, unless there's

RE: cvs commit: httpd-test/flood config.h.in flood_round_robin.c

2003-09-08 Thread Sander Striker
From: Jacek Prucia [mailto:[EMAIL PROTECTED] Sent: Monday, September 08, 2003 2:41 AM On Sun, 7 Sep 2003 20:06:09 -0400 (EDT) Cliff Woolley [EMAIL PROTECTED] wrote: On Sun, 7 Sep 2003 [EMAIL PROTECTED] wrote: +if (apr_procattr_create(procattr, rp-pool) != APR_SUCCESS) {

RE: cvs commit: httpd-test/flood config.h.in flood_round_robin.c

2003-09-08 Thread Cliff Woolley
is a safe bet. If this looks really obscure considering APR concepts, then please feel free to commit a fix. Fix commited. Please test, since I didn't. :) PS: I also fixed a buglet or two. --Cliff

Re: cvs commit: httpd-test/flood config.h.in flood_round_robin.c

2003-09-08 Thread Jacek Prucia
On Sun, 7 Sep 2003 22:22:44 -0400 (EDT) Cliff Woolley [EMAIL PROTECTED] wrote: is a safe bet. If this looks really obscure considering APR concepts, then please feel free to commit a fix. Fix commited. Thanks for the fix! Please test, since I didn't. :) Fix seems to be OK and error

Re: flood 1.1 TR

2003-09-08 Thread Jacek Prucia
On Mon, 08 Sep 2003 00:15:27 -0700 Justin Erenkrantz [EMAIL PROTECTED] wrote: [...] My only concern is that we make sure flood 1.1 compiles against APR 1.0 (which should have a 1.0 RC out this week). Try checking out the HEAD of apr and apr-util and ensuring that flood still compiles. All

RE: flood 1.1 TR

2003-09-08 Thread Sander Striker
From: Jacek Prucia [mailto:[EMAIL PROTECTED] Sent: Monday, September 08, 2003 3:28 PM Yes. This is my current release plan (please yell if it violates something): 1. tag repo with FLOOD_1_1_RC (probably later this day), 2. prepare RC tarball and announce availability here, 3. test and

example configs

2003-09-08 Thread Jacek Prucia
I have found few minor issues in current example config files. 1. round-robin-ssl.xml We have only one url working -- modssl.org SSL connection test is working again (although HTML is broken). The other URL is dead for a lng time, so we might consider removing it at all. I've found another

Patch to Apache::TestConfig for Mandrake

2003-09-08 Thread Michael A Nachbaur
I've created the following patch to help TestConfig.pm find the proper mod_perl httpd on Mandrake machines. Mandrake installs both a /usr/sbin/httpd and /usr/sbin/httpd-perl, and includes configuration for mod_perl acceleration with a standard (e.g. non-mod_perl) httpd in front of it.

Re: Patch to Apache::TestConfig for Mandrake

2003-09-08 Thread Michael A Nachbaur
Just after I sent the message, I saw the bug. Just change: $vars-{httpd} = $httpd . -perl to say instead: $httpd = $httpd . -perl On Monday 08 September 2003 02:53 pm, Michael A Nachbaur wrote: I've created the following patch to help TestConfig.pm find the proper mod_perl httpd on