Re: Patch to Apache::TestConfig for Mandrake

2003-09-09 Thread Stas Bekman
Michael A Nachbaur wrote: I've created the following patch to help TestConfig.pm find the proper mod_perl httpd on Mandrake machines. Mandrake installs both a /usr/sbin/httpd and /usr/sbin/httpd-perl, and includes configuration for mod_perl acceleration with a standard (e.g. non-mod_perl)

question

2003-09-09 Thread Jacek Prucia
Looking at httpd release procedure, it apears that when tagging httpd-2.0, both apr and apr-util are also tagged. I've checked some apr files and they don't have FLOOD_1_0 tag, so I assume this doesn't apply to flood, am I right? If so, we can't figure out what apr/apr-util libs are needed to

Re: question

2003-09-09 Thread Geoffrey Young
Jacek Prucia wrote: Looking at httpd release procedure, it apears that when tagging httpd-2.0, both apr and apr-util are also tagged. I've checked some apr files and they don't have FLOOD_1_0 tag, so I assume this doesn't apply to flood, am I right? If so, we can't figure out what apr/apr-util

RE: question

2003-09-09 Thread Sander Striker
From: Jacek Prucia [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 09, 2003 5:24 PM Looking at httpd release procedure, it apears that when tagging httpd-2.0, both apr and apr-util are also tagged. I've checked some apr files and they don't have FLOOD_1_0 tag, so I assume this doesn't

Re: question

2003-09-09 Thread Jacek Prucia
On Tue, 09 Sep 2003 11:49:07 -0400 Geoffrey Young [EMAIL PROTECTED] wrote: [...] the perl-framework just had this problem. I ended up changing the code to use the non-deprecated functions that exist in both branches of apr. the thought on the list was that everything should compile with

Re: ap_sub_req_method_uri and POST

2003-09-09 Thread André Malo
Aryeh Katz wrote: Is it possible to change a GET to a POST, and add post data to the POST request by using get_brigade and pass_brigade and ap_sub_req_method_uri? Theoretically yes. You would have to define an input filter that emulates the POST body data reading. But I've never tried it.

[PATCH] Query string parsing for mod_include.c

2003-09-09 Thread friedo
Attached is a patch that impliments a new directive in mod_include.c, #parseqs, which parses the name=value pairs on the query string and places the results in the subprocess environment table, allowing you to do highly neat things with SSI scripts. I found this feature to be quite useful.

Re: [PATCH] Query string parsing for mod_include.c

2003-09-09 Thread André Malo
[EMAIL PROTECTED] wrote: Attached is a patch that impliments a new directive in mod_include.c, #parseqs, which parses the name=value pairs on the query string and places the results in the subprocess environment table, allowing you to do highly neat things with SSI scripts. I found this feature

Re: ap_sub_req_method_uri and POST

2003-09-09 Thread Aryeh Katz
Aryeh Katz wrote: Is it possible to change a GET to a POST, and add post data to the POST request by using get_brigade and pass_brigade and ap_sub_req_method_uri? Theoretically yes. You would have to define an input filter that emulates the POST body data reading. But I've never

resolver confusion (was Re: Tagged the trees)

2003-09-09 Thread Jeff Trawick
Jeff Trawick wrote: Sander Striker wrote: I tagged the trees today, as STRIKER_2_0_48_PRE1 and STRIKER_2_1_0_PRE1 respectively. I'll try and get some tarballs up for testing, but for now, please test the tag. with recent apr resolver changes, Apache on AIX has picked up the old assert failure

Re: [PATCH] Query string parsing for mod_include.c

2003-09-09 Thread Brian Akins
On Tue, 2003-09-09 at 03:00, [EMAIL PROTECTED] wrote: Attached is a patch that impliments a new directive in mod_include.c, #parseqs, Couldn't this be better implemented using APR_OPTIONAL_FN_TYPE(ap_register_include_handler) type things in a separate module. This seems to be a much better

Re: [PATCH] Query string parsing for mod_include.c

2003-09-09 Thread friedo
Hi, Andre. Thanks for your feedback. I will definately port this to the 2.1 branch and submit a new patch. - one should recognize ; as delimiter as well (ok, trivial) Easy enough. - to circumvent the security flaw, I'd suggest to extend the #set handler instead, for example: !--#set

ErrorDocument and ProxyPass rules

2003-09-09 Thread Juan Rivera
Title: ErrorDocument and ProxyPass rules I'm trying to figure out how you can configure ErrorDocument when using ProxyPass / http://webserver/ The problem is that if I use a URL like ErrorDocument 502 /error/502.html it will be proxied instead of picking the file locally. Any suggestions

Re: ErrorDocument and ProxyPass rules

2003-09-09 Thread Graham Leggett
Juan Rivera wrote: I'm trying to figure out how you can configure ErrorDocument when using ProxyPass / http://webserver/ The problem is that if I use a URL like ErrorDocument 502 /error/502.html it will be proxied instead of picking the file locally. You haven't said which Apache you are

Re: ErrorDocument and ProxyPass rules

2003-09-09 Thread Joshua Slive
On Tue, 9 Sep 2003, Juan Rivera wrote: I'm trying to figure out how you can configure ErrorDocument when using ProxyPass / http://webserver/ The problem is that if I use a URL like ErrorDocument 502 /error/502.html it will be proxied instead of picking the file locally. Any suggestions on

Re: ScriptLog

2003-09-09 Thread Mads Toftum
On Sat, Sep 06, 2003 at 08:19:39AM -0700, Ian Holsman wrote: I guess the other one I'd like to see is rewritelogging/loglevel from inside a .htaccess file. It's a real bitch trying to debug rewrite rules inside this (and in rules inside of directory/location blocks) The worst thing about

Re: cvs commit: httpd-2.0/modules/filters mod_include.c

2003-09-09 Thread André Malo
* [EMAIL PROTECTED] wrote: Modified:modules/filters mod_include.c Log: void * can't be used as a function pointer without casting doh, really? Good to know ;-) Thanks, nd

Re: Tagged the trees

2003-09-09 Thread Jeff Trawick
Sander Striker wrote: I tagged the trees today, as STRIKER_2_0_48_PRE1 and STRIKER_2_1_0_PRE1 respectively. I'll try and get some tarballs up for testing, but for now, please test the tag. 2.0.48: needs apr/network_io/unix/sockaddr.c r1.43.2.1 to fix an init failure on AIX it would be nice

Re: cvs commit: httpd-2.0/modules/filters mod_include.c

2003-09-09 Thread Jeff Trawick
André Malo wrote: * [EMAIL PROTECTED] wrote: Modified:modules/filters mod_include.c Log: void * can't be used as a function pointer without casting doh, really? Good to know ;-) unfortunately this is one of a few common issues we hit from time to time that gcc doesn't catch, at least

Re: [PROPOSAL] Remove ap_*_client_block in 2.1 series

2003-09-09 Thread Greg Stein
On Sun, Aug 31, 2003 at 09:39:39AM -0700, Justin Erenkrantz wrote: I'd like to axe ap_{setup|should|get}_block in future releases (i.e. 2.1+). +1 ... absolutely zero pushback from this camp :-) Cheers, -g -- Greg Stein, http://www.lyra.org/

pool interface for shared memory?

2003-09-09 Thread Chris Knight
I would like to be able to use the existing apr_hash_t type with shared memory. To do so, I'd need to wrap a block of shared memory with an apr_pool_t type. It seems to me that this should be possible but reviewing the pool code, it appears it would not be possible without modifying pools

Re: [PROPOSAL] Remove ap_*_client_block in 2.1 series

2003-09-09 Thread Greg Stein
On Mon, Sep 01, 2003 at 07:35:26PM -0700, Justin Erenkrantz wrote: ... What about that other inconsistency: the difference between ap_rputs/family in Handlers and ap_fputs/etc in Filters? The subtle difference to the arguments to these is - erm - annoying! ISTR there was a vote before my