Ipv6 tests with build 2.0.28.

2002-03-13 Thread Digambar Rasal
Hi all,I have installed Apache beta version 2.0.28 on Linux machine and I am ableto ping6 with the ip address of the machineping6 -I eth0 fe80::260:67ff:fe36:4b0 is working.So i can say that my linux configuration is supporting IPv6.But when i tried to access default page of apache

need to export status_init from mod_status/scoreboard

2002-03-13 Thread Stas Bekman
status_init() in mod_status initializes status_flags, server_limit and thread_limit. This is all nice for mod_status since it gets loaded before any threads are started. Under mod_perl Apache::Scoreboard (the Perl interface for scoreboard) can be loaded directly by the spawned threads.

mod_autoindex with css support, patch

2002-03-13 Thread Binary Runner
Hi, I've made a simple patch to Apache 2.x mod_autoindex. It adds a new directive specifying a css file to use for the generated index. As I'm total newbie I would know your opinions. Thanks. R.Matl __ Do You Yahoo!? Everything you'll ever

Re: [PATCH] First cut at factoring out the pools allocator

2002-03-13 Thread Justin Erenkrantz
On Tue, Mar 05, 2002 at 10:02:55AM +0100, Sander Striker wrote: Hi, Below a patch to apr and a patch to httpd to factor out the allocator from pools. It is only the first cut, so crucial details like documentation are missing. I'd like some feedback on the general idea though.

Re: [PATCH] Solaris sockets for support/ab.c (httpd-2_0_32-beta)

2002-03-13 Thread Justin Erenkrantz
On Wed, Mar 13, 2002 at 07:05:45AM -0500, Jeff Trawick wrote: Martin Ramshaw [EMAIL PROTECTED] writes: By default, Solaris (at least, Solaris 7 for sparc) restricts the number of file handles that may be used. See the comments in the attached patch file for more details. Lots of

Re: [patch server/scoreboard.c] creating ws-thread_num

2002-03-13 Thread Jeff Trawick
Stas Bekman [EMAIL PROTECTED] writes: I don't think ws-thread_num has anything to do with server_limit. Am I wrong? Index: server/scoreboard.c === RCS file: /home/cvspublic/httpd-2.0/server/scoreboard.c,v retrieving revision

Re: how to debug worker mpm httpd with gdb?

2002-03-13 Thread Jeff Trawick
My 2 cents: Keep using Linux when a fast build time is imperative or you're debugging non-threaded apps. Use AIX or Solaris with native tools when you want to debug threaded apps. It sucks :( -- Jeff Trawick | [EMAIL PROTECTED] Born in Roswell... married an alien...

Re: [patch modules/generators/mod_status.c]

2002-03-13 Thread Jeff Trawick
Stas Bekman [EMAIL PROTECTED] writes: On Mon, 11 Mar 2002, Stas Bekman wrote: this looks like a copy-n-paste porting bug. in httpd-2.0's scoreboard stop/start timestamps are in apr_time_t (==usecs only). the problem wasn't noticed before since these structures are never set in

Re: status of mod_status

2002-03-13 Thread Jeff Trawick
Stas Bekman [EMAIL PROTECTED] writes: oops, should have mentioned which code I was referring to. The ifdef HAVE_TIMES part of a code snippet seems to be irrelevant (includes my previously posted patch as well): Index: modules/generators/mod_status.c

Re: [PATCH] First cut at factoring out the pools allocator

2002-03-13 Thread Brian Pane
Justin Erenkrantz wrote: On Tue, Mar 05, 2002 at 10:02:55AM +0100, Sander Striker wrote: Hi, Below a patch to apr and a patch to httpd to factor out the allocator from pools. It is only the first cut, so crucial details like documentation are missing. I'd like some feedback on the general

RE: [PATCH] First cut at factoring out the pools allocator

2002-03-13 Thread Sander Striker
From: Brian Pane [mailto:[EMAIL PROTECTED]] Sent: 13 March 2002 15:59 Justin Erenkrantz wrote: On Tue, Mar 05, 2002 at 10:02:55AM +0100, Sander Striker wrote: Hi, Below a patch to apr and a patch to httpd to factor out the allocator from pools. It is only the first cut, so crucial

Re: [PATCH] Solaris sockets for support/ab.c (httpd-2_0_32-beta)

2002-03-13 Thread Martin Ramshaw
On Wed, 13 Mar 2002 04:18:00AM -0800, Justin Erenkrantz wrote: On Wed, Mar 13, 2002 at 07:05:45AM -0500, Jeff Trawick wrote: Martin Ramshaw [EMAIL PROTECTED] writes: By default, Solaris (at least, Solaris 7 for sparc) restricts the number of file handles that may be used. See the

[PATCH] ssl_engine_vars.c

2002-03-13 Thread MATHIHALLI,MADHUSUDAN (HP-Cupertino,ex1)
'just did a cvs update and found that SSL_SESSION_id2sz in ssl_engine_vars.c has fewer parameters than required. -Madhu Index: ssl_engine_vars.c === RCS file: /home/cvspublic/httpd-2.0/modules/ssl/ssl_engine_vars.c,v retrieving

Re: need to export status_init from mod_status/scoreboard

2002-03-13 Thread Aaron Bannert
On Wed, Mar 13, 2002 at 05:12:58PM +0800, Stas Bekman wrote: status_init() in mod_status initializes status_flags, server_limit and thread_limit. This is all nice for mod_status since it gets loaded before any threads are started. Under mod_perl Apache::Scoreboard (the Perl interface for

Re: [PATCH] ssl_engine_vars.c

2002-03-13 Thread Doug MacEachern
On Wed, 13 Mar 2002, MATHIHALLI,MADHUSUDAN (HP-Cupertino,ex1) wrote: 'just did a cvs update and found that SSL_SESSION_id2sz in ssl_engine_vars.c has fewer parameters than required. whoops, my bad. thanks, applied.

Re: [PATCH] Solaris sockets for support/ab.c (httpd-2_0_32-beta)

2002-03-13 Thread Jeff Trawick
Martin Ramshaw [EMAIL PROTECTED] writes: On Wed, 13 Mar 2002 04:18:00AM -0800, Justin Erenkrantz wrote: On Wed, Mar 13, 2002 at 07:05:45AM -0500, Jeff Trawick wrote: Martin Ramshaw [EMAIL PROTECTED] writes: By default, Solaris (at least, Solaris 7 for sparc) restricts the number

Re: need to export status_init from mod_status/scoreboard

2002-03-13 Thread Stas Bekman
Aaron Bannert wrote: On Wed, Mar 13, 2002 at 05:12:58PM +0800, Stas Bekman wrote: status_init() in mod_status initializes status_flags, server_limit and thread_limit. This is all nice for mod_status since it gets loaded before any threads are started. Under mod_perl Apache::Scoreboard (the

ap_sub_req_lookup_dirent

2002-03-13 Thread Bill Stoddard
What is the purpose of calling ap_process_request_internal() in ap_sub_req_lookup_dirent()? Bill

RE: ap_sub_req_lookup_dirent

2002-03-13 Thread Ryan Bloom
We call that function in all of the ap_sub_req_lookup functions. The purpose is to run all of the hooks that are required for creating a request successfully. Ryan What is the purpose of calling ap_process_request_internal() in ap_sub_req_lookup_dirent()? Bill

Re: need to export status_init from mod_status/scoreboard

2002-03-13 Thread Jim Jagielski
Stas Bekman wrote: where should the accessors reside: scoreboard or mod_status? Assuming that someone may want to use them without loading mod_status I think scoreboard is the right place and mod_status itself can use these. Scoreboard totally. mod_status would be just one possible user.

Re: ap_sub_req_lookup_dirent

2002-03-13 Thread Bill Stoddard
ap_process_request_internal() is called at the very end of ap_sub_req_lookup() and I don't see that it is providing any additional information that is not already available prior to the call (ie, we already have stat'ed the file and know all the finfo required by the caller). The only useful

RE: ap_sub_req_lookup_dirent

2002-03-13 Thread Ryan Bloom
ap_process_request_internal() is called at the very end of ap_sub_req_lookup() and I don't see that it is providing any additional information that is not already available prior to the call (ie, we already have stat'ed the file and know all the finfo required by the caller). The only

putting mod_scoreboard_send in core?

2002-03-13 Thread Stas Bekman
The Apache::Scoreboard distribution for 1.x includes mod_scoreboard_send.c, which allows you to collect the scoreboards from many machines for various purposes. This is a special standalone C version which doesn't require mod_perl. There is a C code which freeze()s the scoreboard and sends it

Strange autoindex behaviour

2002-03-13 Thread Bill Stoddard
I can't imagine that it is normal/desireable for autoindex to recurse through subdirectories in the directory to be indexed. For instance I am autoindexing c:/website. c:/website has a number of subdirectories. ap_process_request_internal() called out of ap_sub_req_lookup_dirent() is recursing

Re: Strange autoindex behaviour

2002-03-13 Thread Bill Stoddard
Upon closer inspection... the code is looking for index.html and index.html.var in each subdirectory. Havent tested to see how far down the code will recurse.. This is just goofy. Bill I can't imagine that it is normal/desireable for autoindex to recurse through subdirectories in the

PR 10163, location of config_vars.mk

2002-03-13 Thread Jeff Trawick
short form: I want to move config_vars.mk from top_builddir to top_builddir/build/config_vars.mk. Okay? long form: PR 10163 deals with some hard-coded paths that broke the makefile created by apxs -g. I just committed what ordinarily would make it work, except for a basic problem: . Apache

Re: ap_sub_req_lookup_dirent

2002-03-13 Thread Bill Stoddard
ap_process_request_internal() is called at the very end of ap_sub_req_lookup() and I don't see that it is providing any additional information that is not already available prior to the call (ie, we already have stat'ed the file and know all the finfo required by the caller). The

RE: Strange autoindex behaviour

2002-03-13 Thread Ryan Bloom
Upon closer inspection... the code is looking for index.html and index.html.var in each subdirectory. Havent tested to see how far down the code will recurse.. This is just goofy. That is goofy, but the reason it is happening, is because we redirect to the index.html page from the fixups

Re: putting mod_scoreboard_send in core?

2002-03-13 Thread Doug MacEachern
a few notes on this.. the purpose of mod_scoreboard_send was to download the scoreboard image on a remote machine. the scoreboard image was then used on the client machine to generate fancy graphical images to make our boss feel like he knew what was going on. sorta like a graphical

Re: [1.3 PATCH/QUESTION] Win32 ap_os_is_filename_valid()

2002-03-13 Thread Jeff Trawick
Jeff Trawick [EMAIL PROTECTED] writes: This function is checking for several characters which, at least in ASCII, are supposedly not valid characters for filenames. But some of these same characters can appear in valid non-ASCII filenames, and the logic to check for these characters breaks

Re: putting mod_scoreboard_send in core?

2002-03-13 Thread Sander van Zoest
On Wed, 13 Mar 2002, Doug MacEachern wrote: in general, the concept is to serialize the scoreboard in such a way that it can transfered over the network via http and thawed on another machine. i'm sure there's a better way to do this than the mod_scoreboard_send thinger. I have done this

Re: [1.3 PATCH/QUESTION] Win32 ap_os_is_filename_valid()

2002-03-13 Thread Justin Erenkrantz
On Wed, Mar 13, 2002 at 02:12:18PM -0500, Jeff Trawick wrote: Jeff Trawick [EMAIL PROTECTED] writes: This function is checking for several characters which, at least in ASCII, are supposedly not valid characters for filenames. But some of these same characters can appear in valid

mod_mime_magic question

2002-03-13 Thread Alexander Tereschenko
Hi, I'm developing an application that needs functionality almost the same as Apache's mod_mime_magic module - to guess file MIME type from file. And since I'm lazy I want to use mod_mime_magic module in my application. But I have some questions: 1) licensing issues (what should I do to comply

Re: Copyright year bumping

2002-03-13 Thread Roy T. Fielding
On Sat, Mar 09, 2002 at 12:20:23PM +0800, Stas Bekman wrote: Sander Striker wrote: Hi, Should we bump the copyright year on all the files? Anyone have a script handy? find . -type f -exec perl -pi -e 's|2000-2001|2000-2002|' {} \; That would change a lot more, and a lot less, than we

Re: Strange autoindex behaviour

2002-03-13 Thread Bill Stoddard
Should we even be calling the fixup hook on a dirent subrequest? Bill Upon closer inspection... the code is looking for index.html and index.html.var in each subdirectory. Havent tested to see how far down the code will recurse.. This is just goofy. That is goofy, but the reason

Re: Content-length returned from HEAD requests?

2002-03-13 Thread Roy T. Fielding
On Tue, Mar 12, 2002 at 10:57:50AM -0800, Brian Pane wrote: Aaron Bannert wrote: Is it valid for Content-length to be returned from these types of requests? daedalus is showing it, and I'm seeing it in current CVS. -aaron I don't think so, unless it's Content-Length: 0, due to this

Re: [1.3 PATCH/QUESTION] Win32 ap_os_is_filename_valid()

2002-03-13 Thread Jeff Trawick
Justin Erenkrantz [EMAIL PROTECTED] writes: On Wed, Mar 13, 2002 at 02:12:18PM -0500, Jeff Trawick wrote: Jeff Trawick [EMAIL PROTECTED] writes: This function is checking for several characters which, at least in ASCII, are supposedly not valid characters for filenames. But some of

Re: PR 10163, location of config_vars.mk

2002-03-13 Thread Roy T. Fielding
On Wed, Mar 13, 2002 at 01:09:27PM -0500, Jeff Trawick wrote: short form: I want to move config_vars.mk from top_builddir to top_builddir/build/config_vars.mk. Okay? +1 Roy

Re: [1.3 PATCH/QUESTION] Win32 ap_os_is_filename_valid()

2002-03-13 Thread Roy T. Fielding
On Wed, Mar 13, 2002 at 02:12:18PM -0500, Jeff Trawick wrote: Jeff Trawick [EMAIL PROTECTED] writes: This function is checking for several characters which, at least in ASCII, are supposedly not valid characters for filenames. But some of these same characters can appear in valid

[PATCH] Do not run fixups against dirent subrequests

2002-03-13 Thread Bill Stoddard
I really don't like this patch because it stinks of creeping hacks built upon hacks but it should suffice to get a discussion going. This patch fixes a bug where a directory index of c:/website causes subrequests to be generated searching for index.html and index.html.var files under subdirs in

New module for Apache 2.0?

2002-03-13 Thread Ryan Bloom
Hi guys, I have mod_hf, which adds a header or footer to every page that the server sends. It is also a pretty good example of how write a filter for 2.0. Would anybody mind if I committed that to modules/fitlers? If not, I will just maintain it myself. Ryan

Re: New module for Apache 2.0?

2002-03-13 Thread Jim Jagielski
I'm 0 for in modules/filters and +1 for modules/experimental :) Ryan Bloom wrote: Hi guys, I have mod_hf, which adds a header or footer to every page that the server sends. It is also a pretty good example of how write a filter for 2.0. Would anybody mind if I committed that to

Re: New module for Apache 2.0?

2002-03-13 Thread Aaron Bannert
On Wed, Mar 13, 2002 at 02:14:54PM -0800, Ryan Bloom wrote: I have mod_hf, which adds a header or footer to every page that the server sends. It is also a pretty good example of how write a filter for 2.0. Would anybody mind if I committed that to modules/fitlers? If not, I will just

Re: New module for Apache 2.0?

2002-03-13 Thread Brian Pane
Does it just add the header/footer at the start/end of the content, or does it parse the HTML so that it can include them inside the body.../body block? If it parses the HTML, +1 on adding it to modules/filters. If not, I'm not sure how generally useful it would be, but +1 on including it in

Re: New module for Apache 2.0?

2002-03-13 Thread Justin Erenkrantz
On Wed, Mar 13, 2002 at 02:14:54PM -0800, Ryan Bloom wrote: Hi guys, I have mod_hf, which adds a header or footer to every page that the server sends. It is also a pretty good example of how write a filter for 2.0. Would anybody mind if I committed that to modules/fitlers? If not, I

Re: [PATCH] Solaris sockets for support/ab.c (httpd-2_0_32-beta)

2002-03-13 Thread Martin Ramshaw
snip I hope this helps understand the big picture (at least as I see it). It does, and thank you for taking the time to explain this to me. My hope was to be able to foist off benchmarking onto someone else, which isn't really an option if too much configuration (i.e. scripting) is required.

RE: New module for Apache 2.0?

2002-03-13 Thread Ryan Bloom
Currently, it doesn't parse the HTML for the body.../body block, but it shouldn't be too hard to add that logic. Ryan -- Ryan Bloom [EMAIL PROTECTED] 645 Howard St. [EMAIL PROTECTED] San Francisco, CA -Original

Re: [1.3 PATCH/QUESTION] Win32 ap_os_is_filename_valid()

2002-03-13 Thread Jeff Trawick
Roy T. Fielding [EMAIL PROTECTED] writes: On Wed, Mar 13, 2002 at 02:12:18PM -0500, Jeff Trawick wrote: Jeff Trawick [EMAIL PROTECTED] writes: This function is checking for several characters which, at least in ASCII, are supposedly not valid characters for filenames. But some of

[PATCH] SSL Session Caching stuff

2002-03-13 Thread MATHIHALLI,MADHUSUDAN (HP-Cupertino,ex1)
Hi, Good Afternoon !!. Another attempt at the SSL session caching stuff.. As regards the patch, 1. enables shmht, shmcb in Apache 2.0 (complete in terms of compiling - but may not be fully complete in terms of functionality) 2. Can somebody please review and tell me what may be wrong in the

Re: [1.3 PATCH/QUESTION] Win32 ap_os_is_filename_valid()

2002-03-13 Thread Roy T. Fielding
Regarding your key comment treats all file names as raw bytes, regardless of charset... I would agree with that for Unix, but on Win32, in an attempt to match the semantics of the native filesystem (case preserving but not case significant), Apache will perform case transformations on

Re: New module for Apache 2.0?

2002-03-13 Thread Greg Stein
On Wed, Mar 13, 2002 at 02:14:54PM -0800, Ryan Bloom wrote: Hi guys, I have mod_hf, which adds a header or footer to every page that the server sends. It is also a pretty good example of how write a filter for 2.0. Would anybody mind if I committed that to modules/fitlers? If not, I

Re: putting mod_scoreboard_send in core?

2002-03-13 Thread Stas Bekman
Sander van Zoest wrote: On Wed, 13 Mar 2002, Doug MacEachern wrote: in general, the concept is to serialize the scoreboard in such a way that it can transfered over the network via http and thawed on another machine. i'm sure there's a better way to do this than the mod_scoreboard_send

Re: ap_sub_req_lookup_dirent

2002-03-13 Thread William A. Rowe, Jr.
Huh? Additional information not already available ??? Try authn/authz, for one. Or, how about Do we have a handler that can handle this resource? Or, 'hmm... Files .bak are never to be served. We must run the entire process_request_internal to know that a file listed in autoindex is

Re: Strange autoindex behaviour

2002-03-13 Thread William A. Rowe, Jr.
The issue isn't mod_autoindex at all. Mod_dir is now implemented in terms of a fast_internal_redirect. This makes sense, when you consider that a subreq for /foo/ should return type text/html if that will be the results of a real request for /foo/. But in this -one- case, I see the

Re: [1.3 PATCH/QUESTION] Win32 ap_os_is_filename_valid()

2002-03-13 Thread William A. Rowe, Jr.
+1 ... feel free to profer that 2.0 introduces utf-8 convention to access any filenames and resources in a predictable and safe manner. Since APR does 99% of that magic, backporting that feature to 1.3 is not under consideration. Bill At 01:12 PM 3/13/2002, you wrote: Jeff Trawick [EMAIL

Re: [1.3 PATCH/QUESTION] Win32 ap_os_is_filename_valid()

2002-03-13 Thread William A. Rowe, Jr.
At 04:50 PM 3/13/2002, you wrote: Roy T. Fielding [EMAIL PROTECTED] writes: On Wed, Mar 13, 2002 at 02:12:18PM -0500, Jeff Trawick wrote: Jeff Trawick [EMAIL PROTECTED] writes: I think this is an accurate statement regarding the use of non-ASCII characters in filenames with Apache

Re: [1.3 PATCH/QUESTION] Win32 ap_os_is_filename_valid()

2002-03-13 Thread Jeff Trawick
Here is an update to my previous statement based on comments from Roy and Bill. (And Roy, I'm going to get my butt flamed anyway.) I'd like to stick it at the end of Using Apache With Microsoft Windows (http://httpd.apache.org/docs/windows.html), unless somebody can think of a better place.

[STATUS] (apache-1.3) Wed Mar 13 23:45:04 EST 2002

2002-03-13 Thread Rodent of Unusual Size
APACHE 1.3 STATUS: -*-text-*- Last modified at [$Date: 2002/03/01 23:35:27 $] Release: 1.3.24-dev: In development. Jim proposes to TR around Mar 04 or so because of the Solaris pthread mutex fix and other fixes.

[STATUS] (httpd-2.0) Wed Mar 13 23:45:06 EST 2002

2002-03-13 Thread Rodent of Unusual Size
APACHE 2.0 STATUS: -*-text-*- Last modified at [$Date: 2002/03/12 14:41:29 $] Release: 2.0.34 : in development 2.0.33 : tagged March 6, 2002. 2.0.32 : released Feburary 16, 2002. 2.0.31 : rolled Feburary 1, 2002. not released.

Re: [1.3 PATCH/QUESTION] Win32 ap_os_is_filename_valid()

2002-03-13 Thread Martin Ramshaw
Apache 1.3 on Win32 assumes that the names of files served are comprised solely of characters from character sets which are a superset of ASCII, such as UTF-8 or ISO-8859-1. Umm, I assume that ASCII as you refer to it is its 7-bit incarnation. Its 8-bit incarnation is referred to as US-ASCII,

Re: [1.3 PATCH/QUESTION] Win32 ap_os_is_filename_valid()

2002-03-13 Thread William A. Rowe, Jr.
At 12:29 AM 3/14/2002, you wrote: Apache 1.3 on Win32 assumes that the names of files served are comprised solely of characters from character sets which are a superset of ASCII, such as UTF-8 or ISO-8859-1. Umm, I assume that ASCII as you refer to it is its 7-bit incarnation. Note that