[STATUS] (perl-framework) Wed May 22 23:45:47 EDT 2002

2002-05-23 Thread Rodent of Unusual Size
httpd-test/perl-framework STATUS: -*-text-*- Last modified at [$Date: 2002/03/09 05:22:48 $] Stuff to do: * finish the t/TEST exit code issue (ORed with 0x2C if framework failed) * change existing tests that frob the DocumentRoot (e.g.,

httpd-2.0.36 - mod_cache problems

2002-05-23 Thread Tacio A.G. Santos
Hi, I'm trying to configure mod_cache+mod_proxy, but mod_cache is not working properly. One thing i found strange is that if you look in the cache directory we have the following strange file permissions: -rw---1 webu webg 2326 May 22 16:41 wkL1JcPol1pQ.data --

Re: httpd-2.0.36 - mod_cache problems

2002-05-23 Thread Jeff Trawick
Tacio A.G. Santos [EMAIL PROTECTED] writes: Hi, I'm trying to configure mod_cache+mod_proxy, but mod_cache is not working properly. One thing i found strange is that if you look in the cache directory we have the following strange file permissions: -rw---1 webu webg

Re: Is Apache Proxy Half-Duplex?

2002-05-23 Thread Graham Leggett
Zvi Har'El wrote: Experimenting with an Apache Proxy, I noticed that in version 1.3 (the latest cvs snapshot) it behaves in a half-duplex fashion. That is, it doesn't read the backend server response until it have finished transmitting the client's request body. HTTP v1.1 is a half duplex

Re: Is Apache Proxy Half-Duplex?

2002-05-23 Thread Bill Stoddard
Zvi Har'El wrote: Experimenting with an Apache Proxy, I noticed that in version 1.3 (the latest cvs snapshot) it behaves in a half-duplex fashion. That is, it doesn't read the backend server response until it have finished transmitting the client's request body. HTTP v1.1 is a

Re: Is Apache Proxy Half-Duplex?

2002-05-23 Thread Graham Leggett
Bill Stoddard wrote: HTTP v1.1 is a half duplex protocol - this is 100% correct behavior. Where in the spac does it say that? Half duplex in the sense that a reply follows a request. ie a reply does not get sent during a request. (The 100-continue handling I understand is an exception to

Re: Is Apache Proxy Half-Duplex?

2002-05-23 Thread William A. Rowe, Jr.
At 09:00 AM 5/23/2002, Graham Leggett wrote: Bill Stoddard wrote: HTTP v1.1 is a half duplex protocol - this is 100% correct behavior. Where in the spac does it say that? Half duplex in the sense that a reply follows a request. ie a reply does not get sent during a request. Cannot,

Re: Is Apache Proxy Half-Duplex?

2002-05-23 Thread Graham Leggett
William A. Rowe, Jr. wrote: Half duplex in the sense that a reply follows a request. ie a reply does not get sent during a request. Cannot, Should not, or generally Does not? POST accept modules might certainly echo... Headers:... Banners of the the next page Accepting Input ...

Re: httpd-2.0.36 - mod_cache problems

2002-05-23 Thread Tacio A.G. Santos
Thanks , It solved the problem with file permission, but there's still a problem with the content type. For example getting a index.html file i get in the first request: 2 Date: Thu, 23 May 2002 14:14:46 GMT 3 Server: Apache/1.3.23 (Unix) mod_perl/1.26 4 Content-Location: index.html.en 5

Re: httpd-2.0.36 - mod_cache problems

2002-05-23 Thread Jeff Trawick
Tacio A.G. Santos [EMAIL PROTECTED] writes: Thanks , It solved the problem with file permission, but there's still a problem with the content type. Thanks for the quick feedback on my simple fix. Hopefully the smart people can help you with the content type problem. -- Jeff Trawick |

Re: Is Apache Proxy Half-Duplex?

2002-05-23 Thread Bill Stoddard
William A. Rowe, Jr. wrote: Half duplex in the sense that a reply follows a request. ie a reply does not get sent during a request. Cannot, Should not, or generally Does not? POST accept modules might certainly echo... Headers:... Banners of the the next page Accepting

Re: httpd-2.0.36 - mod_cache problems

2002-05-23 Thread Tacio A.G. Santos
Hi, Why do we need to set the content type at cache_storage.c at line 240, i just commented it out and it seems to be working. Sorry about my ignorance, but may it cause a side effect? Thanks, Tacio PS: diff -u cache_storage.c-orig cache_storage.c --- cache_storage.c-origThu May

Re: dist/httpd/

2002-05-23 Thread Joshua Slive
On Wed, 22 May 2002, William A. Rowe, Jr. wrote: And Josh and I are suggesting we add -src to the end of every package name in the source distro directory. Yes, src would be an improvement. Note that build seems very ambiguous to me. That could mean stuff you need in order to build, but it

Re: dist/httpd/

2002-05-23 Thread William A. Rowe, Jr.
At 10:46 AM 5/23/2002, Joshua Slive wrote: On Wed, 22 May 2002, William A. Rowe, Jr. wrote: And Josh and I are suggesting we add -src to the end of every package name in the source distro directory. Yes, src would be an improvement. Note that build seems very ambiguous to me. That could

RE: dist/httpd/

2002-05-23 Thread Sander Striker
From: William A. Rowe, Jr. [mailto:[EMAIL PROTECTED]] Sent: 23 May 2002 17:58 At 10:46 AM 5/23/2002, Joshua Slive wrote: On Wed, 22 May 2002, William A. Rowe, Jr. wrote: And Josh and I are suggesting we add -src to the end of every package name in the source distro directory. Yes,

Re: dist/httpd/

2002-05-23 Thread Aaron Bannert
On Thu, May 23, 2002 at 10:58:18AM -0500, William A. Rowe, Jr. wrote: So -win32-build-src isn't terribly ambigious, or should we name it -win32-make-src, or simply -win32-src? -0 for *-build-src and *-make-src +0 for -win32-src only +1 for httpd-x.y.z-win32-src.zip and httpd-x.y.z-src.tar.gz

Re: dist/httpd/

2002-05-23 Thread Paul J. Reder
-build- and -make- (i.e. including the verb) implies action (as in contains the results of). I'd suggest sticking to some flavor of src to avoid ambiguity. What they do with it is their business. William A. Rowe, Jr. wrote: At 10:46 AM 5/23/2002, Joshua Slive wrote: On Wed, 22 May 2002,

libhttpd.dsp use of xcopy /y breaks compile on NT 4.0

2002-05-23 Thread Bill Stoddard
Heads-up. I am backing out this patch to get compiles on NT 4.0 working again. Bill === RCS file: /home/cvspublic/httpd-2.0/libhttpd.dsp,v retrieving revision 1.37 retrieving revision 1.38 diff -u -r1.37 -r1.38 ---

RE: win32 changes from 1.3

2002-05-23 Thread Allan Edwards
I suggest we cwd to the server root on startup. We can do this in the winnt_mpm, or for all platforms in main(). Opinions? +1 - at least for Windows And +1 for the rest, or was that simply +0 to do so in main()? why would we want to chdir() for the other platforms? maybe

Re: libhttpd.dsp use of xcopy /y breaks compile on NT 4.0

2002-05-23 Thread Jerry Baker
Bill Stoddard wrote: Heads-up. I am backing out this patch to get compiles on NT 4.0 working again. Is there some reason why xcopy is preferred over copy on Win32? If so, you can set COPYCMD=/Y. Windows NT should ignore this, but xcopy on platforms that support the /Y switch will pick it up.

QNX 6.1a mod/peer review

2002-05-23 Thread Davide Berti
Hello all httpd-2.0.36, QNX 6.1 RTOS I have made a modification to apache to get it to run on qnx. It kept hanging. I traced it down and made some changes to get it to run. I wanted to proof these changes with the apache community and get some feedback as to the longterm consequences/ side

Re: libhttpd.dsp use of xcopy /y breaks compile on NT 4.0

2002-05-23 Thread Bill Stoddard
Bill Stoddard wrote: Here is the commit message for using xcopy: Tired of 'foo.h not found' messages in the build. Checked ms's docs, seems xcopy's /y arg goes all the way back to Win95. This shouldn't introduce any hassles. I can live with the messages, but not the build

Re: cvs commit: httpd-2.0/server/mpm/worker mpm.h worker.c

2002-05-23 Thread Brian Pane
[EMAIL PROTECTED] wrote: trawick 02/05/23 05:58:38 Modified:.CHANGES include http_main.h mpm_common.h server main.c mpm_common.c server/mpm/prefork mpm.h prefork.c server/mpm/worker mpm.h worker.c Log: Add -k

[PATCH] Re: libhttpd.dsp use of xcopy /y breaks compile on NT 4.0

2002-05-23 Thread Bill Stoddard
This patch seems to work ok on both NT 4.0 and 2K. I don't know what's going on with the USERDEP change though... (from USERDEP__WIN32 to USERDEP_GEN_T). Index: libhttpd.dsp === RCS file: /home/cvs/httpd-2.0/libhttpd.dsp,v

Re: cvs commit: httpd-2.0/server/mpm/worker mpm.h worker.c

2002-05-23 Thread Jeff Trawick
Brian Pane [EMAIL PROTECTED] writes: [EMAIL PROTECTED] wrote: trawick 02/05/23 05:58:38 Modified:.CHANGES include http_main.h mpm_common.h server main.c mpm_common.c server/mpm/prefork mpm.h prefork.c

[PATCH] prg: type RewriteMap can now take arguments again

2002-05-23 Thread James Tait
See bugzilla id #8464 for details, but currently in 2.0.36 you cannot specify command-line arguments to an external rewrite program, thus: RewriteMap prg:/path/to/my/engine -arg1 -arg2 This was valid in 1.3.24, as it exec'd a shell with the -c /path/to/my/engine -arg1 -arg2 arguments.

Re: [PATCH] Re: libhttpd.dsp use of xcopy /y breaks compile on NT 4.0

2002-05-23 Thread Jerry Baker
Bill Stoddard wrote: This patch seems to work ok on both NT 4.0 and 2K. I don't know what's going on with the USERDEP change though... (from USERDEP__WIN32 to USERDEP_GEN_T). Does MSVC really spawn a new shell for every command? I wouldn't be surprised, but if not, the env CMDCOPY should

Re: cvs commit: httpd-dist README.html

2002-05-23 Thread Aaron Bannert
On Thu, May 23, 2002 at 06:45:03PM -, [EMAIL PROTECTED] wrote: slive 02/05/23 11:45:02 ... +pDo not download from www.apache.org. Please use a mirror site + to help use save apache.org bandwidth. + a href=http://www.apache.org/dyn/closer.cgi/httpd/;Go here to find

RE: [PATCH] prg: type RewriteMap can now take arguments again

2002-05-23 Thread Ryan Bloom
From: James Tait [mailto:[EMAIL PROTECTED]] See bugzilla id #8464 for details, but currently in 2.0.36 you cannot specify command-line arguments to an external rewrite program, thus: RewriteMap prg:/path/to/my/engine -arg1 -arg2 This was valid in 1.3.24, as it exec'd a shell with the

Re: cvs commit: httpd-dist README.html

2002-05-23 Thread Jerry Baker
Aaron Bannert wrote: On Thu, May 23, 2002 at 06:45:03PM -, [EMAIL PROTECTED] wrote: slive 02/05/23 11:45:02 ... +pDo not download from www.apache.org. Please use a mirror site + to help use save apache.org bandwidth. + a

Re: cvs commit: httpd-dist README.html

2002-05-23 Thread Greg Marr
On Thu, May 23, 2002 at 06:45:03PM -, [EMAIL PROTECTED] wrote: slive 02/05/23 11:45:02 ... +pDo not download from www.apache.org. Please use a mirror site + to help use save apache.org bandwidth. should that be help us save? -- Greg Marr [EMAIL PROTECTED] We thought you

Re: cvs commit: httpd-dist README.html

2002-05-23 Thread Joshua Slive
On Thu, 23 May 2002, Jerry Baker wrote: Aaron Bannert wrote: +pDo not download from www.apache.org. Please use a mirror site May I suggest that we put this notice in HEADER.html? Otherwise it shows up underneath the links that allow downloads from apache.org directly, which means

[PATCH] simplified apachectl that passes through options to httpd

2002-05-23 Thread Jeff Trawick
This apachectl can supposedly be used to pass anything through to httpd. Thus, we now have a wrapper script people can use to run httpd with the proper environment variables. Existing apachectl keywords are still supported for now (except for some alternate spellings of startssl -- whats up

Re: cvs commit: httpd-2.0 STATUS

2002-05-23 Thread Brian Pane
[EMAIL PROTECTED] wrote: +* 37 status: Cliff proposes that 2.0.37 be tagged on Saturday, May 25, + with the aim of releasing by Friday, May 31, and volunteers to RM. I don't think we're ready. The worker MPM deadlocks under load, and as far as I know there's no patch yet that

Re: cvs commit: httpd-2.0 STATUS

2002-05-23 Thread Cliff Woolley
On 23 May 2002 [EMAIL PROTECTED] wrote: +* 37 status: Cliff proposes that 2.0.37 be tagged on Saturday, May 25, + with the aim of releasing by Friday, May 31, and volunteers to RM. There are a few outstanding showstoppers listed in the STATUS file, including one outstanding veto.

Re: cvs commit: httpd-2.0 STATUS

2002-05-23 Thread Cliff Woolley
On Thu, 23 May 2002, Brian Pane wrote: I don't think we're ready. The worker MPM deadlocks under load, and as far as I know there's no patch yet that fully solves the problem. That's why there's a wide gap in there time-frame-wise. We don't *have* to tag on Saturday, but I'd like us to at

[PATCH] Allow mod_rewrite to talk to external rewrite engine overTCP/IP

2002-05-23 Thread James Tait
The 1.3.24 patch is in Bugzilla, id #8882, but I thought I'd post it here for completeness. The patch adds a new RewriteMap type: RewriteMap MapName tcp:host:port Since several child processes can connect to a multi-threaded rewrite engine at once, RewriteLock is not required, and requests

Re: cvs commit: httpd-site/docs/test index.html

2002-05-23 Thread Joshua Slive
On 23 May 2002 [EMAIL PROTECTED] wrote: I'm not sure at what point all of these links got out of date w.r.t. the stylesheet, but anyway I regenerated them all. This link seems to work better than the old one, kind of. Nope. The one with httpd should be correct. I had just forgotten

Re: cvs commit: httpd-site/xdocs/stylesheets project.xml

2002-05-23 Thread Cliff Woolley
On 23 May 2002 [EMAIL PROTECTED] wrote: slive 02/05/23 13:16:12 Modified:xdocs/stylesheets project.xml Log: My fault: I forgot to commit this when I commited the html transforms a couple hours ago. And yes, this link should work. + lia

Re: [PATCH] Allow mod_rewrite to talk to external rewrite engineover TCP/IP

2002-05-23 Thread Cliff Woolley
On Thu, 23 May 2002, James Tait wrote: The 1.3.24 patch is in Bugzilla, id #8882, but I thought I'd post it here for completeness. The patch adds a new RewriteMap type: RewriteMap MapName tcp:host:port -0 for 1.3. --Cliff

Re: [PATCH] simplified apachectl that passes through options tohttpd

2002-05-23 Thread Cliff Woolley
On 23 May 2002, Jeff Trawick wrote: Existing apachectl keywords are still supported for now (except for some alternate spellings of startssl -- whats up with that stuff?). I always assumed it was for Apache-SSL compatibility. Ben? --Cliff

Re: cvs commit: httpd-site/xdocs/stylesheets project.xml

2002-05-23 Thread Joshua Slive
On Thu, 23 May 2002, Cliff Woolley wrote: + lia href=http://www.apache.org/dyn/closer.cgi/httpd/;from a mirror/a/li Have you tried it? It's nonsensical. It comes up with an httpd/ link, which when you click on it expands to a httpd/dist/httpd/ link, and you click on that and get

Re: cvs commit: httpd-site/xdocs/stylesheets project.xml

2002-05-23 Thread Cliff Woolley
On Thu, 23 May 2002, Joshua Slive wrote: I'm not sure where you are getting that. There is a slight problem with the link to the full list of mirrors (and I'll fix that in a second), but if it finds mirrors in your country code, then those work fine. What country code? :)

Re: cvs commit: httpd-site/xdocs/stylesheets project.xml

2002-05-23 Thread Joshua Slive
On Thu, 23 May 2002, Cliff Woolley wrote: On Thu, 23 May 2002, Joshua Slive wrote: I'm not sure where you are getting that. There is a slight problem with the link to the full list of mirrors (and I'll fix that in a second), but if it finds mirrors in your country code, then those work

Re: cvs commit: httpd-site/xdocs/stylesheets project.xml

2002-05-23 Thread Cliff Woolley
On Thu, 23 May 2002, Joshua Slive wrote: Well, if you are coming from .edu, then you should be getting all the us ones. Is that not working? I can only test from .ca and .org. Nope. I get: --- !DOCTYPE HTML PUBLIC -//W3C//DTD

Re: cvs commit: httpd-site/xdocs/stylesheets project.xml

2002-05-23 Thread Joshua Slive
On Thu, 23 May 2002, Cliff Woolley wrote: On Thu, 23 May 2002, Joshua Slive wrote: Well, if you are coming from .edu, then you should be getting all the us ones. Is that not working? I can only test from .ca and .org. Nope. I get: I can't replicate that. What is the IP address of

Re: cvs commit: httpd-site/xdocs/stylesheets project.xml

2002-05-23 Thread Cliff Woolley
On Thu, 23 May 2002, Joshua Slive wrote: I can't replicate that. What is the IP address of your client? Perhaps it doesn't have reverse DNS? I'm not sure how the script would handle that. That's true, it doesn't. Well, at least not from outside our department. Friggin bureaucratic DNS

Re: cvs commit: httpd-site/xdocs/stylesheets project.xml

2002-05-23 Thread Joshua Slive
On Thu, 23 May 2002, Cliff Woolley wrote: On Thu, 23 May 2002, Joshua Slive wrote: I can't replicate that. What is the IP address of your client? Perhaps it doesn't have reverse DNS? I'm not sure how the script would handle that. That's true, it doesn't. Well, at least not from

Re: cvs commit: httpd-site/xdocs/stylesheets project.xml

2002-05-23 Thread Cliff Woolley
On Thu, 23 May 2002, Joshua Slive wrote: I believe you need to clear your cache (or shift-reload or whatever). We are sending an expires header which is probably causing the script with the broken links to hang around. Didn't help, sorry. I guess the only way I'm going to figure this out

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

2002-05-23 Thread Greg Stein
On Thu, May 23, 2002 at 12:19:09PM -, [EMAIL PROTECTED] wrote: ... +++ log.c 23 May 2002 12:19:09 - 1.121 ... +bytes_wanted = BUFFER_SIZE; +endptr = buf = apr_palloc(p, BUFFER_SIZE); +do { +bytes_read = bytes_wanted; +rv =

[PATCH] worker deadlock patch (simpler approach)

2002-05-23 Thread Brian Pane
This is a simpler approach to fixing what I think is the root cause of the worker deadlocks. Index: server/mpm/worker/worker.c === RCS file: /home/cvs/httpd-2.0/server/mpm/worker/worker.c,v retrieving revision 1.125 diff -u

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

2002-05-23 Thread Justin Erenkrantz
On Thu, May 23, 2002 at 02:25:48PM -0700, Greg Stein wrote: Oof... needlessly complicated. Just use apr_file_read_full(). It will return all the bytes that you ask for, unless an error condition occurs (EOF). There is no need to do any looping. You'd have to do a stat() on the file to get the

Re: libhttpd.dsp use of xcopy /y breaks compile on NT 4.0

2002-05-23 Thread William A. Rowe, Jr.
At 12:11 PM 5/23/2002, you wrote: Here is the commit message for using xcopy: Tired of 'foo.h not found' messages in the build. Checked ms's docs, seems xcopy's /y arg goes all the way back to Win95. This shouldn't introduce any hassles. I know... but Win95 was after NT 4.0's cmd

[PATCH] For SSI include if statement with regexp

2002-05-23 Thread GAWLAS,JULIUS (HP-Cupertino,ex1)
It appears that SSI if statement with regular expressions is broken: try to serve something like that: !--#set var=v value=12:34 -- !--#if expr= ${v} = /.*:.*/ -- TRUE !--#else -- FALSE !--#endif -- you get: [an error occurred while processing this directive] Maybe I am missing something

Re: QNX 6.1a mod/peer review

2002-05-23 Thread Igor Kovalenko
I had submitted patch foir QNX6 twice in the past. There was no ACK and generally it was ignored. The patch was used for about half a year on public site without any problems. -- Igor - Original Message - From: Davide Berti [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, May 23,

Re: QNX 6.1a mod/peer review

2002-05-23 Thread Justin Erenkrantz
On Thu, May 23, 2002 at 05:36:26PM -0500, Igor Kovalenko wrote: I had submitted patch foir QNX6 twice in the past. There was no ACK and generally it was ignored. The patch was used for about half a year on public site without any problems. You should keep resubmitting (once a week or so)

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

2002-05-23 Thread Greg Stein
On Thu, May 23, 2002 at 02:31:45PM -0700, Justin Erenkrantz wrote: On Thu, May 23, 2002 at 02:25:48PM -0700, Greg Stein wrote: Oof... needlessly complicated. Just use apr_file_read_full(). It will return all the bytes that you ask for, unless an error condition occurs (EOF). There is no