Re: CVS, SSH and Windows

2002-09-10 Thread john sachs

i have the really old cvs/ssh windows binaries here:

http://zlilo.com/ssh/

works for command line cvs'ing on windows.
you just need to set HOME and CVS_RSH env variables.
-j



Re: suexec broke?

2001-10-24 Thread john sachs

On Tue, Oct 23, 2001 at 11:21:52PM -0400, Greg Ames wrote:
+ john sachs wrote:
+ > all cgis fail with:
+ > [Tue Oct 23 14:04:33 2001] [error] [client 127.0.0.1] Premature end of script 
+headers: /home/john/public_html/suexec.cgi
+ 
+ yeah, that message sucks canal water.  It's about the only thing we log
+ if a cgi blows up in 2.0.  We need to do something better.

still happening with current apache, just cvs up'd oct24 about 9:30a.

+ 1. What does ls -l show for the suexec binary?  It's probably in
+ /bin/

[john@doom:~/ap2/apache-2.0-suexec] ./bin/httpd -V
Server version: Apache/2.0.27-dev
Server built:   Oct 24 2001 09:30:53
Server's Module Magic Number: 20011002:0
Server compiled with
 -D APACHE_MPM_DIR="server/mpm/prefork"
 -D APR_FILE_BASED_SHM
 -D APR_HAS_MMAP
 -D APR_HAVE_IPV6
 -D APR_USE_FCNTL_SERIALIZE
 -D APR_USE_PTHREAD_SERIALIZE
 -D SINGLE_LISTEN_UNSERIALIZED_ACCEPT
 -D APR_HAS_OTHER_CHILD
 -D AP_HAVE_RELIABLE_PIPED_LOGS
 -D HTTPD_ROOT="/home/john/ap2/apache-2.0-suexec"
 -D SUEXEC_BIN="/home/john/ap2/apache-2.0-suexec/bin/suexec"
 -D DEFAULT_ERRORLOG="logs/error_log"
 -D SERVER_CONFIG_FILE="conf/httpd.conf"
[john@doom:~/ap2/apache-2.0-suexec] ls -l /home/john/ap2/apache-2.0-suexec/bin/suexec
-rwsr-xr-x   1 root root48557 Oct 24 09:55 
/home/john/ap2/apache-2.0-suexec/bin/suexec*
[john@doom:~/ap2/apache-2.0-suexec]


+ 
+ 2. Do "strings httpd | grep " .  You should see some suexec
+ related stuff.  Does it look right?
+ 

looks right to me.

[john@doom:~/ap2/apache-2.0-suexec] strings ./bin/httpd |grep 
/home/john/ap2/apache-2.0-suexec
/home/john/ap2/apache-2.0-suexec/lib
 -D HTTPD_ROOT="/home/john/ap2/apache-2.0-suexec"
 -D SUEXEC_BIN="/home/john/ap2/apache-2.0-suexec/bin/suexec"
/home/john/ap2/apache-2.0-suexec
/home/john/ap2/apache-2.0-suexec/htdocs
/home/john/ap2/apache-2.0-suexec/bin/suexec


+ 3. Is there anything in the suexec log?

suexec log does not exist.

-j



suexec broke?

2001-10-23 Thread john sachs

current apache with mod_suexec bails on cgis.
is this a known issue?
i didnt see anything like it in STATUS...

all cgis fail with:
[Tue Oct 23 14:04:33 2001] [error] [client 127.0.0.1] Premature end of script headers: 
/home/john/public_html/suexec.cgi

same cgis works when mod_suexec is not loaded.
-j



Re: mod_include seg faults

2001-09-21 Thread john sachs

what is the case that causes segfault?
i'd like to get a test into httpd-test to catch this.
-j



Re: [PATCH] Take 3 of mod_include patch...

2001-09-05 Thread john sachs

i applied this patch and the mod_include test fails in the same spot as it has been.
content file has:


'include file' with relative path to file not in same path as the file you are 
requesting.

causes segv.  here is stacktrace:

#0  0x80c4056 in ap_getparents (
name=0x816a840 "INTERNALLY GENERATED file-relative req") at util.c:488
#1  0x80d327f in ap_process_request_internal (r=0x82720e4) at request.c:152
#2  0x80d4bd6 in ap_sub_req_lookup_file (
new_file=0xbfffafc4 "extra/inc-extra1.shtml", r=0x8277194,
next_filter=0x8278294) at request.c:1688
#3  0x807718f in handle_include (ctx=0x826d054, bb=0xbfffd470, r=0x8277194,
f=0x827826c, head_ptr=0x8277128, inserted_head=0xbfffd40c)
at mod_include.c:1033
#4  0x807b182 in send_parsed_content (bb=0xbfffd470, r=0x8277194, f=0x827826c)
at mod_include.c:2840
#5  0x807bb32 in includes_filter (f=0x827826c, b=0x82783f4)
at mod_include.c:3081
#6  0x80c9db4 in ap_pass_brigade (next=0x827826c, bb=0x82783f4)
at util_filter.c:275
#7  0x80d1b9b in default_handler (r=0x8277194) at core.c:3068
#8  0x80bd501 in ap_run_handler (r=0x8277194) at config.c:185
#9  0x80bdbcf in ap_invoke_handler (r=0x8277194) at config.c:344
#10 0x80958b1 in ap_process_request (r=0x8277194) at http_request.c:286
#11 0x80907e8 in ap_process_http_connection (c=0x820c3ac) at http_core.c:287
#12 0x80c8015 in ap_run_process_connection (c=0x820c3ac) at connection.c:82
#13 0x80c8240 in ap_process_connection (c=0x820c3ac) at connection.c:219
#14 0x80bc03c in child_main (child_num_arg=0) at prefork.c:829
#15 0x80bc19d in make_child (s=0x8196f4c, slot=0) at prefork.c:916
#16 0x80bc223 in startup_children (number_to_start=1) at prefork.c:939
#17 0x80bc6ce in ap_mpm_run (_pconf=0x8195804, plog=0x81cd9c4, s=0x8196f4c)
at prefork.c:1155
#18 0x80c20bc in main (argc=6, argv=0xb664) at main.c:431
#19 0x40105577 in __libc_start_main () from /lib/libc.so.6

-j



Re: [Fwd: httpd-2.0 nightly test log]

2001-08-30 Thread john sachs

this is killer.  dav tests wont work unless you have HTTP::DAV and the whole ton of 
modules it requires.  i plan to rewrite dav.t to use HTTP::Webdav which requires less 
and seems to do more.

On Thu, Aug 30, 2001 at 03:07:41PM -0700, Ian Holsman wrote:
+ Here is a sample 'from a nightly test run'
+ I just needs some work to determine what is a 'OK' result
+ it pulls the lastest CVS of the perl test suite and the httpd code (+proxy)
+ 
+ 
+ Configuring in httpd-2.0-nightly w/options --enable-so --enable-shared 
+--enable-maintainer-mode
+ --enable-auth-anon --enable-auth-dbm --enable-auth-db --enable-auth-digest 
+--enable-file-cache
+ --enable-echo --enable-cache --enable-mime-magic --enable-cern-meta --enable-expires
+ --enable-headers --enable-usertrack --enable-unique-id --enable-proxy 
+--enable-proxy-connect
+ --enable-proxy-ftp --enable-proxy-http --enable-dav --enable-info --enable-suexec 
+--enable-cgi
+ --enable-dav-fs --enable-vhost-alias --enable-rewrite 
+--prefix=/usr/local/src/nightly/httpd-2.0-install
+ 
+ 
+ 
+ 
+  Original Message 
+ 
+ 
+ --stdout log--
+ /usr/local/src/nightly/httpd-2.0-install/bin/httpd  -d 
+/var/src/nightly/httpd-2.0-test/t -f
+ /var/src/nightly/httpd-2.0-test/t/conf/httpd.conf -DAPACHE2
+ using Apache/2.0.25-dev (prefork MPM)
+ waiting for server to warm up..ok
+ server int.holsman.net:8529 started (pid=31292)
+ server int.holsman.net:8530 listening (mod_proxy)
+ server int.holsman.net:8531 listening (mod_vhost_alias)
+ apache/404..ok
+ apache/byterangeok
+ apache/getfile..ok
+ apache/post.ok
+ apache/rwrite...ok
+ apr/uri.ok
+ filter/case.skipped test on this platform
+ filter/case_in..skipped test on this platform
+ filter/input_body...ok
+ modules/access..ok
+ modules/alias...ok
+ modules/cgi.ok
+ modules/dav.skipped test on this platform
+ modules/dir.ok
+ modules/env.ok
+ modules/expires.ok
+ modules/headers.ok
+ modules/include.ok
+ modules/negotiation.ok
+ modules/rewrite.ok
+ modules/setenvifok
+ modules/vhost_alias.ok
+ ssl/all.skipped test on this platform
+ All tests successful, 4 tests skipped.
+ Files=23, Tests=1705, 52 wallclock secs (40.52 cusr +  5.13 csys = 45.65 CPU)
+ --server log--
+ [Thu Aug 30 13:50:25 2001] [info] mod_unique_id: using ip addr 65.0.239.229
+ [Thu Aug 30 13:50:26 2001] [notice] Digest: generating secret for digest 
+authentication ...
+ [Thu Aug 30 13:50:26 2001] [notice] Digest: done
+ [Thu Aug 30 13:50:26 2001] [info] mod_unique_id: using ip addr 65.0.239.229
+ [Thu Aug 30 13:50:27 2001] [info] mod_unique_id: using ip addr 65.0.239.229
+ [Thu Aug 30 13:50:27 2001] [info] mod_unique_id: using ip addr 65.0.239.229
+ [Thu Aug 30 13:50:28 2001] [crit] (88)Socket operation on non-socket: make_sock: for 
+address
+ 0.0.0.0:8529, setsockopt: (SO_REUSEADDR)
+ [Thu Aug 30 14:00:37 2001] [info] mod_unique_id: using ip addr 65.0.239.229
+ [Thu Aug 30 14:00:38 2001] [notice] Digest: generating secret for digest 
+authentication ...
+ [Thu Aug 30 14:00:38 2001] [notice] Digest: done
+ [Thu Aug 30 14:00:38 2001] [info] mod_unique_id: using ip addr 65.0.239.229
+ [Thu Aug 30 14:00:39 2001] [notice] Apache/2.0.25-dev (Unix) DAV/2 configured -- 
+resuming normal
+ operations
+ [Thu Aug 30 14:00:39 2001] [info] Server built: Aug 30 2001 13:57:26
+ [Thu Aug 30 14:00:40 2001] [error] server reached MaxClients setting, consider 
+raising the
+ MaxClients setting
+ [Thu Aug 30 14:00:43 2001] [error] [client 127.0.0.1] File does not exist:
+ /var/src/nightly/httpd-2.0-test/t/htdocs/404/not/found/test
+ ..
+