A-T: include resolution in httpd.conf

2003-11-18 Thread Stas Bekman
As mentioned before A-T doesn't handle properly absolute Include paths, consider: httpd.conf -- ... Include /home/httpd/2.0/perl/tutorial.conf % t/TEST -conf setting ulimit to allow core files ulimit -c unlimited; t/TEST -conf configuration file

Re: A-T: include resolution in httpd.conf

2003-11-18 Thread Andr Malo
* Stas Bekman [EMAIL PROTECTED] wrote: $path =~ s/^\s*[']?|[']?\s*$//g; sounds reasonable. Doing this in two regexps instead of using the alternation is more efficient, however. nd

Bug in mod_cache?

2003-11-18 Thread Brian Akins
mod_cache never caches anything ending in / (ie, www.cnn.com/) but will cache /index.html. Is this on purpose??? Snippets from config: LoadModule include_module modules/mod_include.so LoadModule cache_module modules/mod_cache.so LoadModule mem_cache_module

Re: Bug in mod_cache?

2003-11-18 Thread Matthieu Estrade
mod_cache is not caching / because of negotiate problem, if i remember well. We discuss many times to why not caching, and never find really a good reason to not cache /. Brian Akins wrote: mod_cache never caches anything ending in / (ie, www.cnn.com/) but will cache /index.html. Is this on

Re: Bug in mod_cache?

2003-11-18 Thread Brian Akins
Matthieu Estrade wrote: mod_cache is not caching / because of negotiate problem, if i remember well. We discuss many times to why not caching, and never find really a good reason to not cache /. I see this in mod_cache.c /* DECLINE urls ending in / ??? EGP: why? */ if (url[urllen-1] ==

Re: Bug in mod_cache?

2003-11-18 Thread Bill Stoddard
Brian Akins wrote: Matthieu Estrade wrote: mod_cache is not caching / because of negotiate problem, if i remember well. We discuss many times to why not caching, and never find really a good reason to not cache /. I see this in mod_cache.c /* DECLINE urls ending in / ??? EGP: why? */ if

Apache + Windows

2003-11-18 Thread Peter J. Cranstone
Bill, Here is an interesting link to a problem someone encountered running Apache on Windows. If he's right there is little hope for Apache to ever run properly on newer versions of Windows. http://grumet.net/weblog/archives/2003/11/18/questions_about_windows_apache. html Regards, Peter

Re: Apache + Windows

2003-11-18 Thread Bill Stoddard
Peter J. Cranstone wrote: Bill, Here is an interesting link to a problem someone encountered running Apache on Windows. If he's right there is little hope for Apache to ever run properly on newer versions of Windows. http://grumet.net/weblog/archives/2003/11/18/questions_about_windows_apache.

Re: Apache + Windows

2003-11-18 Thread Andrew Mann
http://www.microsoft.com/mspress/books/sampchap/5726.asp Also, because TransmitFile is geared toward server applications, it is fully functional only on server versions of Windows. On home and professional versions, there may be only two outstanding TransmitFile (or TransmitPackets) calls at

Re: Apache + Windows

2003-11-18 Thread Jess Holle
In other words, you can choose free, open-source software applications [client or server], but if you want a Microsoft server then you still have to pay for a Microsoft server OS. This makes some sense -- all the more reason for the cost sensitive (among others) to use something else. -- Jess

Sockets

2003-11-18 Thread David Herrero
I have to do a module that open a socket and modify a global variable, while the web server is runing. Is there a module that opens a socket and creates a child process ? In this way i see how do it, because i don't have any idea. Thanks

Re: Apache + Windows

2003-11-18 Thread Jeff White
From: Bill Stoddard Peter J. Cranstone wrote: Bill, Here is an interesting link to a problem someone encountered running Apache on Windows. If he's right there is little hope for Apache to ever run properly on newer versions of Windows.

Re: Apache + Windows

2003-11-18 Thread Jeff White
From: Bill Stoddard Andrew Mann wrote: http://www.microsoft.com/mspress/books/sampchap/5726.asp Also, because TransmitFile is geared toward server applications, it is fully functional only on server versions of Windows. On home and professional versions, there may be only two

Re: Sockets

2003-11-18 Thread Glenn
On Tue, Nov 18, 2003 at 10:49:55PM +0100, David Herrero wrote: I have to do a module that open a socket and modify a global variable, while the web server is runing. Is there a module that opens a socket and creates a child process ? In this way i see how do it, because i don't have any

Re: ap_get_server_state()

2003-11-18 Thread Jeff Trawick
William A. Rowe, Jr. wrote: The Enums look great, can we extend apr_query_mpm instead though? One hurdle for doing that which affects applications is that query-mpm can only return a scalar value, so either an enum with all the granular states in it is needed or multiple query calls must be

Re: Patch management

2003-11-18 Thread Jeff Trawick
André Malo wrote: * Ben Collins-Sussman [EMAIL PROTECTED] wrote: FWIW: in the Subversion project, we've assigned the hat of patch manager to a volunteer in the community. He watches patches come in. If any patch goes unanswered for a week or more, the patch manager files it in the

Re: [APACHE2] http://domain/ generating garbage output ...

2003-11-18 Thread Jeff Trawick
Marc G. Fournier wrote: I've just spent the past little while searching Google for anything that might shed some light on this, and am drawing a blank ... from what I can tell, it isn't a configuration issue (unless I'm missing a configuration setting), but I don't know how to debug it from the

Re: Best place to log error 500 errors

2003-11-18 Thread Jeff Trawick
Andre Schild wrote: what would be the best way to log all error 500 (all status 50x responses in fact) into a separate logfile ? One way could be a piped log, but depending of the format the user has configured the output can be very different. use piped log and tell your users to put the

Re: [patch] adding mpm info to httpd -V

2003-11-18 Thread Jeff Trawick
Geoffrey Young wrote: Server version: Apache/2.1.0-dev Server built: Aug 12 2003 02:25:22 Server's Module Magic Number: 20030213:1 Architecture: 32-bit Server MPM: Prefork too bad ap_show_mpm doesn't list this like other modules :( (prefork.c or worker.c)... the major source file name is

Re: HTTPD 2.1.0-rc1 tarballs up

2003-11-18 Thread Jeff Trawick
Aaron Bannert wrote: This seems to work fine on my Mac OS X (10.3 Panther) box, my linux 2.4 x86 box, and my linux x86_64 (amd64 opteron) box. Let me know if there are any problems (and fixes) so I can encorporate the fixes and reroll in a few days. My goal is to churn out updated -rc tarballs

Re: Apache + Windows

2003-11-18 Thread Andrew Mann
Jeff White wrote: From: Bill Stoddard Andrew Mann wrote: http://www.microsoft.com/mspress/books/sampchap/5726.asp Also, because TransmitFile is geared toward server applications, it is fully functional only on server versions of Windows. On home and professional versions,

Re: [PACTH] sdbm.c, silent warning messages on gcc 2.95.3 with debug

2003-11-18 Thread Jeff Trawick
ranier wrote: --- sdbm-old.c 2003-07-08 19:55:04.0 -0300 +++ sdbm.c 2003-07-08 19:57:52.0 -0300 @@ -495,7 +495,7 @@ while (dbit db-maxbno getdbit(db, dbit)) dbit = 2 * dbit + ((hash (1 hbit++)) ? 2 : 1); -debug((dbit: %d..., dbit)); +debug((dbit: %lu...,

Re: Apache + Windows

2003-11-18 Thread William A. Rowe, Jr.
At 02:34 PM 11/18/2003, Bill Stoddard wrote: Peter J. Cranstone wrote: If I am not mistaken, I seem to recall that TransmitFile() is artifically limited to serving no more than 10 TCP connections on non server editions of Windows. I've not actually tried it myself. Not TCP connections. This

Re: consider reopening 1.3

2003-11-18 Thread Jeff Trawick
Igor Kovalenko wrote: I am just lurking here really... but a while back I did try to post some patches dealing with QNX support to both Apache and PHP. In my humble opinion, there was a world of difference in attitude that I have encountered in those two projects. The attitude of PHP folks was

Re: Patch management

2003-11-18 Thread Joshua Slive
On Mon, 17 Nov 2003, Jeff Trawick wrote: What must be done to the bug tracker we have now to track the patches better? (I'm not against having something better, but I don't want to see a delay in waiting for some magic tool.) We can already assign the keyword PatchAvailable for entries and

Re: Patch management

2003-11-18 Thread Jeff Trawick
Joshua Slive wrote: On Mon, 17 Nov 2003, Jeff Trawick wrote: What must be done to the bug tracker we have now to track the patches better? (I'm not against having something better, but I don't want to see a delay in waiting for some magic tool.) We can already assign the keyword PatchAvailable