Author: poeml Date: Mon Sep 28 17:20:25 2009 New Revision: 7800 URL: http://svn.mirrorbrain.org/viewvc/mirrorbrain?rev=7800&view=rev Log: docs/install: - when installing from source, take note of the patch that makes mod_autoindex work again for directories where mod_form/FormGET is enabled. Modified: trunk/docs/installation/source.rst Modified: trunk/docs/installation/source.rst URL: http://svn.mirrorbrain.org/viewvc/mirrorbrain/trunk/docs/installation/source.rst?rev=7800&r1=7799&r2=7800&view=diff ============================================================================== --- trunk/docs/installation/source.rst (original) +++ trunk/docs/installation/source.rst Mon Sep 28 17:20:25 2009 _at_@ -42,6 +42,36 @@ * http://apache.webthing.com/svn/apache/forms/mod_form.c * http://apache.webthing.com/svn/apache/forms/mod_form.h + + It is useful to apply the following patch to mod_form.c:: + + Tue Mar 13 15:16:30 CET 2007 - poeml_at_suse.de + + preserve r->args (apr_strtok is destructive in this regard). Makes + mod_autoindex work again in conjunction with directories where FormGET is + enabled. + + --- mod_form.c.old 2007-03-13 15:05:13.872945000 +0100 + +++ mod_form.c 2007-03-13 15:06:26.378367000 +0100 + _at_@ -61,6 +61,7 @@ + char* pair ; + char* last = NULL ; + char* eq ; + + char* a ; + if ( ! ctx ) { + ctx = apr_pcalloc(r->pool, sizeof(form_ctx)) ; + ctx->delim = delim[0]; + _at_@ -69,7 +70,8 @@ + if ( ! ctx->vars ) { + ctx->vars = apr_table_make(r->pool, 10) ; + } + - for ( pair = apr_strtok(args, delim, &last) ; pair ; + + a = apr_pstrdup(r->pool, args); + + for ( pair = apr_strtok(a, delim, &last) ; pair ; + pair = apr_strtok(NULL, delim, &last) ) { + for (eq = pair ; *eq ; ++eq) + if ( *eq == '+' ) + - install the following Python modules: _______________________________________________ mirrorbrain-commits mailing list Archive: http://mirrorbrain.org/archive/mirrorbrain-commits/ Note: To remove yourself from this list, send a mail with the content unsubscribe to the address mirrorbrain-commits-request_at_mirrorbrain.orgReceived on Mon Sep 28 2009 - 15:20:26 GMT
This archive was generated by hypermail 2.3.0 : Mon Feb 20 2012 - 23:47:04 GMT