Perl tests and server start

2001-10-22 Thread Rodent of Unusual Size
I noticed yesterday that three servers are started even if the tests requested don't need 'em. That is, a server is started for mod_headers and mod_vhost_alias even if I ask for only a single test sequence that doesn't include those. I'm not sure how to do anything about that.. -- #kenP-)}

mod_random_chunk

2001-10-22 Thread Gary Benson
Hi, If you remove the #define HTTPD_TEST_REQUIRE_APACHE 2 from mod_random_chunk.c then it compiles and runs successfully but does not pass the tests. It seems that it is not sending any headers: should it be? | $ t/TEST --start-httpd | ... blah blah blah ... | $ telnet localhost 8529 | Trying

Expectations in apache/404.t

2001-10-22 Thread Rodent of Unusual Size
H'm. In trying to figure out why apache/404.t was failing test 1 against Apache 1.3, I discovered that it is apparently checking for the HTTP response line: my $four_oh_four = GET_STR /404/not/found/test; ok ($four_oh_four =~ /HTTP\/1\.[01] Not Found/); Well, GET_STR's result in this case

example of a t/SKIP file?

2001-10-22 Thread clayton cottingham
in Re: Winnow? Doug M said: - create a t/SKIP file with passing tests setenvif.t access.t etc.t could someone give me a short example of this SKIP file

Re: cvs commit: httpd-test/perl-framework/t/apache 404.t

2001-10-22 Thread john sachs
On Mon, Oct 22, 2001 at 05:16:09PM -, [EMAIL PROTECTED] wrote: + -ok ($four_oh_four =~ /HTTP\/1\.[01] 404 Not Found/); + +ok (($four_oh_four =~ /HTTP\/1\.[01] Not Found/) + +|| ($four_oh_four =~ /RC:\s+404.*Message:\s+Not Found/s)); +ok ($four_oh_four =~ /Content-Type:

Re: cvs commit: httpd-test/perl-framework/t/apache 404.t

2001-10-22 Thread Rodent of Unusual Size
john sachs wrote: why did you take the '404' out of /HTTP\/1\.[01] 404 Not Found/? now it fails for me. did you mean to do that? Uh, nope. I still don't quite see why GET_STR is returning different values, nor under what circumstances.. Fixing it now. -- #kenP-)} Ken Coar,

Re: New proxy hook

2001-10-22 Thread Graham Leggett
Daniel Lopez wrote: I want a chance to modify the headers going to the origin server, which are not exactly the incoming headers. If you take a look at the source code for mod_proxy it adds additional headers like X-Forwarded-For , X-Forwarded-Host, X-Forwarded-Server in the content

Re: [patch] fix for rfc1413.c

2001-10-22 Thread Jeff Trawick
Dick Streefland [EMAIL PROTECTED] writes: I noticed that the IdentityCheck feature didn't work with yesterdays snapshot (httpd-2.0_20011019161216.tar.gz), although the same setup works with apache-1.3.9. The returned userid is always nobody. Looking at the code shows that the first port

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

2001-10-22 Thread William A. Rowe, Jr.
From: Greg Stein [EMAIL PROTECTED] Sent: Monday, October 22, 2001 8:53 AM On Mon, Oct 22, 2001 at 04:36:46AM -, [EMAIL PROTECTED] wrote: wrowe 01/10/21 21:36:46 Modified:server core.c Log: Fix two typos in the last patch... compiles/tests clean... Greg,

Re: New proxy hook

2001-10-22 Thread Daniel Lopez
mod_proxy it adds additional headers like X-Forwarded-For , X-Forwarded-Host, X-Forwarded-Server in the content handling phase that I may want to modify, replace or unset. In this case a ProxyAddOutputFilter directive could be used to add the mod_headers filter, this will do this for

www.apache.org/server-status

2001-10-22 Thread Bill Stoddard
This looks seriously hosed... There are clearly more than 89 requests being handled Current Time: Monday, 22-Oct-2001 10:26:59 PDT Restart Time: Monday, 22-Oct-2001 08:20:27 PDT Parent Server Generation: 2 Server uptime: 2 hours 6 minutes 32 seconds Total accesses: 411687 - Total

[PATCH] apr_proc_wait

2001-10-22 Thread Ryan Bloom
This patch implements my idea for a new API to apr_proc_wait and apr_proc_all_wait. This includes the changes to Apache as well as the changes to APR. The basic concept is that we return the reason for exiting and the exit code. If the child was sent a signal and died because of that, the

Re: New proxy hook

2001-10-22 Thread Pier Fumagalli
Daniel Lopez at [EMAIL PROTECTED] wrote: Second, tighter integration. On WARP, for example, we're able to pass things like configuration informations, so, using a directive in httpd.conf, you can actually deploy web-applications on the servlet container without having to tweak your

Re: www.apache.org/server-status

2001-10-22 Thread Greg Ames
Bill Stoddard wrote: This looks seriously hosed... There are clearly more than 89 requests being handled Current Time: Monday, 22-Oct-2001 10:26:59 PDT Restart Time: Monday, 22-Oct-2001 08:20:27 PDT Parent Server Generation: 2 Server uptime: 2 hours 6 minutes 32 seconds

Re: New proxy hook

2001-10-22 Thread Daniel Lopez
Apache could pass this information in an HTTP request, no need for a special protocol. And dinamically reconfigure your apache web server from an HTTP request? I don't really see how... Like, if I know that /examples/*.jsp is something that need to be processed by a Servlet, and

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

2001-10-22 Thread Greg Ames
[EMAIL PROTECTED] wrote: wrowe 01/10/21 21:36:46 Modified:server core.c Log: Fix two typos in the last patch... compiles/tests clean... Greg, please run this against Apache.org until the first core and post the results. So far, so good. No more seg faults on log

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

2001-10-22 Thread William A. Rowe, Jr.
From: Greg Ames [EMAIL PROTECTED] Sent: Monday, October 22, 2001 4:12 PM [EMAIL PROTECTED] wrote: wrowe 01/10/21 21:36:46 Modified:server core.c Log: Fix two typos in the last patch... compiles/tests clean... Greg, please run this against Apache.org

Re: New proxy hook

2001-10-22 Thread Sander van Zoest
On Mon, 22 Oct 2001, Pier Fumagalli wrote: And dinamically reconfigure your apache web server from an HTTP request? I am not sure if sending everything over HTTP is really such a good idea. It would be nice if it did not have unnecessary overhead and could integrate well with already build

regarding httpd.h

2001-10-22 Thread hiten pandya
hi all, i was wondering.. that... why do we have fixed paths in httpd.h such as the one for define statements thanks, regards, hiten pandya [EMAIL PROTECTED] __ Free E-mail - Lycos UK - http://www.lycos.co.uk Get your domain for £9.90 -

regarding httpd.h

2001-10-22 Thread hiten pandya
hi all, i was wondering.. that... why do we have fixed paths in httpd.h such as the one for define statements thanks, regards, hiten pandya [EMAIL PROTECTED] __ Free E-mail - Lycos UK - http://www.lycos.co.uk Get your domain for £9.90 -

Re: regarding httpd.h

2001-10-22 Thread George Schlossnagle
The defines in httpd.h all specify defaults, for example if you don't compile with --prefix=blah On Monday, October 22, 2001, at 05:47 PM, hiten pandya wrote: hi all, i was wondering.. that... why do we have fixed paths in httpd.h such as the one for define statements thanks,

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

2001-10-22 Thread William A. Rowe, Jr.
From: William A. Rowe, Jr. [EMAIL PROTECTED] Sent: Monday, October 22, 2001 4:31 PM From: Greg Ames [EMAIL PROTECTED] Sent: Monday, October 22, 2001 4:12 PM [EMAIL PROTECTED] wrote: wrowe 01/10/21 21:36:46 Modified:server core.c Log: Fix two typos

apachectl reports 'httpd started' when httpd didn't

2001-10-22 Thread Stas Bekman
running a freshly installed from httpd-2.0 cvs httpd: % bin/apachectl start bin/apachectl start: httpd started % tail -f logs/error_log [Tue Oct 23 12:07:26 2001] [notice] Digest: generating secret for digest authentication ... [Tue Oct 23 12:07:28 2001] [notice] Digest: done [Tue Oct 23

Re: apachectl reports 'httpd started' when httpd didn't

2001-10-22 Thread Sander Temme
on 10/22/01 9:17 PM, Stas Bekman at [EMAIL PROTECTED] wrote: Either httpd returns a wrong status here (too early?): if $HTTPD ; then echo $0 $ARG: httpd started or may be an additional check for pid file should be done and report success/failure only then? Apachectl basically never