]> granicus.if.org Git - apache/log
apache
12 years agoCorrects another typo.
Rich Bowen [Mon, 10 Oct 2011 14:12:45 +0000 (14:12 +0000)]
Corrects another typo.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1180985 13f79535-47bb-0310-9956-ffa450edef68

12 years agoRebuild HTML transform.
Rich Bowen [Mon, 10 Oct 2011 13:50:50 +0000 (13:50 +0000)]
Rebuild HTML transform.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1180966 13f79535-47bb-0310-9956-ffa450edef68

12 years agoFixes numerous typos.
Rich Bowen [Mon, 10 Oct 2011 13:49:33 +0000 (13:49 +0000)]
Fixes numerous typos.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1180964 13f79535-47bb-0310-9956-ffa450edef68

12 years agoAdds a recommendation that rewrite logging be consulted for more details
Rich Bowen [Mon, 10 Oct 2011 13:06:56 +0000 (13:06 +0000)]
Adds a recommendation that rewrite logging be consulted for more details
on how rewrite is looking at URIs. refs https://issues.apache.org/bugzilla/show_bug.cgi?id=30021

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1180935 13f79535-47bb-0310-9956-ffa450edef68

12 years agoRebuilds varions transformation.
Rich Bowen [Mon, 10 Oct 2011 12:54:12 +0000 (12:54 +0000)]
Rebuilds varions transformation.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1180930 13f79535-47bb-0310-9956-ffa450edef68

12 years agoRewrites the 'API Phases' section to give a brief intro to what an API
Rich Bowen [Mon, 10 Oct 2011 12:46:21 +0000 (12:46 +0000)]
Rewrites the 'API Phases' section to give a brief intro to what an API
Phase is, and how mod_rewrite handles rewrite rules in two different
phases. Removes some of the condescending tone. References
https://issues.apache.org/bugzilla/show_bug.cgi?id=30021

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1180925 13f79535-47bb-0310-9956-ffa450edef68

12 years agoNot sure what this note was referring to. The xslt assembles the
Rich Bowen [Mon, 10 Oct 2011 12:12:59 +0000 (12:12 +0000)]
Not sure what this note was referring to. The xslt assembles the
directives in alpha order, regardless of how they are in the xml source.
I can't find a single example of a module doc being out of alpha order.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1180909 13f79535-47bb-0310-9956-ffa450edef68

12 years agoFurther clarifications of the rewrite process, as per ticket #52000
Rich Bowen [Mon, 10 Oct 2011 11:32:53 +0000 (11:32 +0000)]
Further clarifications of the rewrite process, as per ticket #52000

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1180879 13f79535-47bb-0310-9956-ffa450edef68

12 years agoRemove OID match which was never in a GA releas and is obsoleted by
Stefan Fritsch [Mon, 10 Oct 2011 08:42:30 +0000 (08:42 +0000)]
Remove OID match which was never in a GA releas and is obsoleted by
SetEnvIfExpr with PeerExtList()

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1180828 13f79535-47bb-0310-9956-ffa450edef68

12 years agoIf a child is created just before graceful restart and then exits because
Stefan Fritsch [Sun, 9 Oct 2011 23:10:12 +0000 (23:10 +0000)]
If a child is created just before graceful restart and then exits because
of a missing lock file, don't shutdown the whole server.

PR: 39311
Submitted by: Shawn Michael <smichael rightnow com>

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1180742 13f79535-47bb-0310-9956-ffa450edef68

12 years agoCheck the return value from ap_run_create_connection in mpm_event.
Stefan Fritsch [Sun, 9 Oct 2011 22:41:54 +0000 (22:41 +0000)]
Check the return value from ap_run_create_connection in mpm_event.
Add a todo in mpm_simple

PR: 41194
Submitted by: Davi Arnaut

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1180737 13f79535-47bb-0310-9956-ffa450edef68

12 years agoClarify behavior of multiple rewrite rules in the same scope. refs https://issues...
Rich Bowen [Sun, 9 Oct 2011 22:29:41 +0000 (22:29 +0000)]
Clarify behavior of multiple rewrite rules in the same scope. refs https://issues.apache.org/bugzilla/show_bug.cgi?id=51968

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1180734 13f79535-47bb-0310-9956-ffa450edef68

12 years agomod_mime_magic: Add signatures for PNG and SWF to the example config.
Stefan Fritsch [Sun, 9 Oct 2011 21:52:42 +0000 (21:52 +0000)]
mod_mime_magic: Add signatures for PNG and SWF to the example config.

PR: 48352
Submitted by: Jeremy Wagner-Kaiser <jwagner-kaiser adknowledge com>

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1180725 13f79535-47bb-0310-9956-ffa450edef68

12 years agoOnly dump User/Group if DUMP_RUN_CFG is defined
Stefan Fritsch [Sun, 9 Oct 2011 21:30:20 +0000 (21:30 +0000)]
Only dump User/Group if DUMP_RUN_CFG is defined

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1180719 13f79535-47bb-0310-9956-ffa450edef68

12 years agos/perl/Perl/
Jeff Trawick [Sun, 9 Oct 2011 19:33:13 +0000 (19:33 +0000)]
s/perl/Perl/

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1180699 13f79535-47bb-0310-9956-ffa450edef68

12 years agoForce base 10 when parsing the Content-Length. It doesn't matter in this
Stefan Fritsch [Sun, 9 Oct 2011 19:00:51 +0000 (19:00 +0000)]
Force base 10 when parsing the Content-Length. It doesn't matter in this
case, but in general using strto*(..., 0) for parsing HTTP headers is a bug.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1180689 13f79535-47bb-0310-9956-ffa450edef68

12 years agoConsistently use base 10 for numbers when parsing config options. It may be
Stefan Fritsch [Sun, 9 Oct 2011 18:58:21 +0000 (18:58 +0000)]
Consistently use base 10 for numbers when parsing config options. It may be
confusing to the user if some directives treat a number with leading zero as
octal while most don't.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1180687 13f79535-47bb-0310-9956-ffa450edef68

12 years agoAdd -D DUMP_RUN_CFG option to dump some configuration items
Stefan Fritsch [Sun, 9 Oct 2011 18:35:23 +0000 (18:35 +0000)]
Add -D DUMP_RUN_CFG option to dump some configuration items
from the parsed (or default) config. This is useful for init scripts that
need to setup temporary directories and permissions, for example if those
temporary directories are located on a ram disk.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1180681 13f79535-47bb-0310-9956-ffa450edef68

12 years agoConsistenly use apr_file_* API instead of libc when dumping config because
Stefan Fritsch [Sun, 9 Oct 2011 17:55:06 +0000 (17:55 +0000)]
Consistenly use apr_file_* API instead of libc when dumping config because
mixing the two can give strange results due to buffering.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1180671 13f79535-47bb-0310-9956-ffa450edef68

12 years agoRemove ap_proxy_removestr(). It has been unused for a decade and has quadratic
Stefan Fritsch [Sun, 9 Oct 2011 17:07:17 +0000 (17:07 +0000)]
Remove ap_proxy_removestr(). It has been unused for a decade and has quadratic
memory usage.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1180654 13f79535-47bb-0310-9956-ffa450edef68

12 years agoRebuild various xdocs
Rich Bowen [Sat, 8 Oct 2011 22:56:03 +0000 (22:56 +0000)]
Rebuild various xdocs

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1180504 13f79535-47bb-0310-9956-ffa450edef68

12 years agoRebuild various xdocs
Rich Bowen [Sat, 8 Oct 2011 22:28:41 +0000 (22:28 +0000)]
Rebuild various xdocs

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1180503 13f79535-47bb-0310-9956-ffa450edef68

12 years agoNote that hostname lookups will be performed for 'require from hostname'
Rich Bowen [Sat, 8 Oct 2011 22:26:16 +0000 (22:26 +0000)]
Note that hostname lookups will be performed for 'require from hostname'
directives, regardless of the setting of HostnameLookups. refs
https://issues.apache.org/bugzilla/show_bug.cgi?id=51967

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1180502 13f79535-47bb-0310-9956-ffa450edef68

12 years agorefs https://issues.apache.org/bugzilla/show_bug.cgi?id=51967 Mention
Rich Bowen [Sat, 8 Oct 2011 22:21:18 +0000 (22:21 +0000)]
refs https://issues.apache.org/bugzilla/show_bug.cgi?id=51967 Mention
that %h will sometimes log the IP address, and sometimes the hostname,
depending on HostNameLookup setting and the use of hostname-based
authorization directives.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1180500 13f79535-47bb-0310-9956-ffa450edef68

12 years agomod_authn_socache: fix it to enable initialisation to work if configured
Nick Kew [Sat, 8 Oct 2011 14:51:35 +0000 (14:51 +0000)]
mod_authn_socache: fix it to enable initialisation to work if configured
only in .htaccess context, and provide a toggle for that.
PR 51991

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1180384 13f79535-47bb-0310-9956-ffa450edef68

12 years agoUpdates.
Lucien Gentis [Sat, 8 Oct 2011 14:16:26 +0000 (14:16 +0000)]
Updates.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1180379 13f79535-47bb-0310-9956-ffa450edef68

12 years agoShut up gcc/glibc warning about ignoring write()'s return value.
Stefan Fritsch [Sat, 8 Oct 2011 07:54:31 +0000 (07:54 +0000)]
Shut up gcc/glibc warning about ignoring write()'s return value.

This may actually fix a real bug in case the error log is directed to a FIFO.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1180334 13f79535-47bb-0310-9956-ffa450edef68

12 years agoFix format string bugs in mod_lua. Found by gcc and pointed out by Igor Galic.
Stefan Fritsch [Sat, 8 Oct 2011 07:50:06 +0000 (07:50 +0000)]
Fix format string bugs in mod_lua. Found by gcc and pointed out by Igor Galic.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1180332 13f79535-47bb-0310-9956-ffa450edef68

12 years agoAdd some CFLAGS in maintainer mode if supported by gcc:
Stefan Fritsch [Sat, 8 Oct 2011 07:48:01 +0000 (07:48 +0000)]
Add some CFLAGS in maintainer mode if supported by gcc:

-Wformat
-Wformat-security
-Werror=format-security
-Werror=declaration-after-statement

Add new macro APACHE_ADD_GCC_CFLAGS to do the compatibility check.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1180331 13f79535-47bb-0310-9956-ffa450edef68

12 years agoAdd another AP_DEBUG_ASSERT to document some assumptions in the code,
Stefan Fritsch [Sat, 8 Oct 2011 07:44:10 +0000 (07:44 +0000)]
Add another AP_DEBUG_ASSERT to document some assumptions in the code,
for the benefit of code analyzers.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1180330 13f79535-47bb-0310-9956-ffa450edef68

12 years agoFix a potential NULL pointer dereference found by clang.
Stefan Fritsch [Sat, 8 Oct 2011 07:41:50 +0000 (07:41 +0000)]
Fix a potential NULL pointer dereference found by clang.
Add a AP_DEBUG_ASSERT to quiet a clang false positive.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1180329 13f79535-47bb-0310-9956-ffa450edef68

12 years agoDowngrade error log messages which accompany a 404 request status from loglevel
Stefan Fritsch [Sat, 8 Oct 2011 07:36:56 +0000 (07:36 +0000)]
Downgrade error log messages which accompany a 404 request status from loglevel
error to info.

List thread at
http://mail-archives.apache.org/mod_mbox/httpd-dev/201110.mbox/%3Calpine.DEB.2.00.1110041948280.664@eru.sfritsch.de%3E

PR: 35768

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1180328 13f79535-47bb-0310-9956-ffa450edef68

12 years agoSort hooks twice, once before pre_config, once after ap_process_config_tree.
Stefan Fritsch [Sat, 8 Oct 2011 07:15:58 +0000 (07:15 +0000)]
Sort hooks twice, once before pre_config, once after ap_process_config_tree.
This fixes a regression with perl modules introduced by r1032002

PR: 45076
Submitted by: Torsten Foertsch <torsten foertsch gmx net>

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1180325 13f79535-47bb-0310-9956-ffa450edef68

12 years agoRebuild doc transformations.
Rich Bowen [Fri, 7 Oct 2011 01:09:18 +0000 (01:09 +0000)]
Rebuild doc transformations.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1179914 13f79535-47bb-0310-9956-ffa450edef68

12 years agoRefs https://issues.apache.org/bugzilla/show_bug.cgi?id=51967 Clarify
Rich Bowen [Fri, 7 Oct 2011 01:06:33 +0000 (01:06 +0000)]
Refs https://issues.apache.org/bugzilla/show_bug.cgi?id=51967 Clarify
that %h logs the IP address when HostnameLookup is set Off.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1179913 13f79535-47bb-0310-9956-ffa450edef68

12 years agore-add "extern" accidentally removed by r1179448
Stefan Fritsch [Thu, 6 Oct 2011 17:28:41 +0000 (17:28 +0000)]
re-add "extern" accidentally removed by r1179448

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1179715 13f79535-47bb-0310-9956-ffa450edef68

12 years agoRebuild doc transform
Rich Bowen [Thu, 6 Oct 2011 13:18:04 +0000 (13:18 +0000)]
Rebuild doc transform

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1179617 13f79535-47bb-0310-9956-ffa450edef68

12 years agoPatch from Description Mathijs Schmittmann - Corrected syntax for && (vs &) expressio...
Rich Bowen [Thu, 6 Oct 2011 13:14:25 +0000 (13:14 +0000)]
Patch from Description Mathijs Schmittmann - Corrected syntax for && (vs &) expression. Refs https://issues.apache.org/bugzilla/show_bug.cgi?id=51976

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1179614 13f79535-47bb-0310-9956-ffa450edef68

12 years agoExport ap_max_mem_free, needed by r1178079, as pointed out by Gregg L. Smith
Stefan Fritsch [Wed, 5 Oct 2011 21:25:58 +0000 (21:25 +0000)]
Export ap_max_mem_free, needed by r1178079, as pointed out by Gregg L. Smith

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1179448 13f79535-47bb-0310-9956-ffa450edef68

12 years ago- `build.sh all`
Joe Orton [Wed, 5 Oct 2011 15:43:18 +0000 (15:43 +0000)]
- `build.sh all`

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1179273 13f79535-47bb-0310-9956-ffa450edef68

12 years ago- add note here in light of CVE-2011-3368
Joe Orton [Wed, 5 Oct 2011 15:40:08 +0000 (15:40 +0000)]
- add note here in light of CVE-2011-3368

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1179272 13f79535-47bb-0310-9956-ffa450edef68

12 years ago- add a security warning, and tweak the example, in light of CVE-2011-3368
Joe Orton [Wed, 5 Oct 2011 15:36:56 +0000 (15:36 +0000)]
- add a security warning, and tweak the example, in light of CVE-2011-3368

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1179266 13f79535-47bb-0310-9956-ffa450edef68

12 years agoSECURITY (CVE-2011-3368): Prevent unintended pattern expansion in some
Joe Orton [Wed, 5 Oct 2011 14:24:44 +0000 (14:24 +0000)]
SECURITY (CVE-2011-3368): Prevent unintended pattern expansion in some
reverse proxy configurations by strictly validating the request-URI:

* server/protocol.c (read_request_line): Send a 400 response if the
  request-URI does not match the grammar from RFC 2616.  This ensures
  the input string for RewriteRule et al really is an absolute path.

Reviewed by: rpluem, wrowe, covener, fielding

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1179239 13f79535-47bb-0310-9956-ffa450edef68

12 years agoRebuild html.
Rich Bowen [Wed, 5 Oct 2011 12:01:54 +0000 (12:01 +0000)]
Rebuild html.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1179184 13f79535-47bb-0310-9956-ffa450edef68

12 years agoFix link to Friedl's book. (refs https://issues.apache.org/bugzilla/show_bug.cgi...
Rich Bowen [Wed, 5 Oct 2011 11:57:00 +0000 (11:57 +0000)]
Fix link to Friedl's book. (refs https://issues.apache.org/bugzilla/show_bug.cgi?id=51959)

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1179179 13f79535-47bb-0310-9956-ffa450edef68

12 years agoAdd SSLCARevocationCheck directive to default mod_ssl config
Kaspar Brand [Tue, 4 Oct 2011 06:08:02 +0000 (06:08 +0000)]
Add SSLCARevocationCheck directive to default mod_ssl config

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1178695 13f79535-47bb-0310-9956-ffa450edef68

12 years agofix indentation
Kaspar Brand [Tue, 4 Oct 2011 06:02:42 +0000 (06:02 +0000)]
fix indentation

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1178694 13f79535-47bb-0310-9956-ffa450edef68

12 years agoEnforce LimitRequestFieldSize after multiple headers with the same
Stefan Fritsch [Mon, 3 Oct 2011 20:37:49 +0000 (20:37 +0000)]
Enforce LimitRequestFieldSize after multiple headers with the same
name have been merged.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1178566 13f79535-47bb-0310-9956-ffa450edef68

12 years agoTODO note regarding the LimitInternalRecursion error message.
Rich Bowen [Mon, 3 Oct 2011 19:14:23 +0000 (19:14 +0000)]
TODO note regarding the LimitInternalRecursion error message.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1178523 13f79535-47bb-0310-9956-ffa450edef68

12 years agoupdate xforms
Stefan Fritsch [Sat, 1 Oct 2011 20:57:36 +0000 (20:57 +0000)]
update xforms

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1178089 13f79535-47bb-0310-9956-ffa450edef68

12 years agogrammar fix
Stefan Fritsch [Sat, 1 Oct 2011 20:41:30 +0000 (20:41 +0000)]
grammar fix
point to SSLRequire docs

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1178088 13f79535-47bb-0310-9956-ffa450edef68

12 years agoIf MaxMemFree is set, set SSL_MODE_RELEASE_BUFFERS in mod_ssl.
Stefan Fritsch [Sat, 1 Oct 2011 19:48:14 +0000 (19:48 +0000)]
If MaxMemFree is set, set SSL_MODE_RELEASE_BUFFERS in mod_ssl.
Always set SSL_MODE_RELEASE_BUFFERS in ab.

PR: 51618
Submitted by: Cristian Rodríguez <crrodriguez opensuse org>, Stefan Fritsch

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1178079 13f79535-47bb-0310-9956-ffa450edef68

12 years agoRemove trailing comma on last enum member for authz_status
Paul Querna [Fri, 30 Sep 2011 03:55:42 +0000 (03:55 +0000)]
Remove trailing comma on last enum member for authz_status

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1177497 13f79535-47bb-0310-9956-ffa450edef68

12 years agoClarify configuration comment.
Rainer Jung [Thu, 29 Sep 2011 08:22:13 +0000 (08:22 +0000)]
Clarify configuration comment.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1177210 13f79535-47bb-0310-9956-ffa450edef68

12 years agoIn ssl_check_public_cert(), also take dNSNames in the subjectAltName
Kaspar Brand [Wed, 28 Sep 2011 06:52:39 +0000 (06:52 +0000)]
In ssl_check_public_cert(), also take dNSNames in the subjectAltName
extension into account when checking the cert against the configured
ServerName. PR 32652, PR 47051.

Replace SSL_X509_getCN() by SSL_X509_getIDs(), which returns an array
of a cert's DNS-IDs and CN-IDs (terms as coined by RFC 6125).

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1176752 13f79535-47bb-0310-9956-ffa450edef68

12 years agoSome NetWare ssl module build tweaks.
Guenter Knauf [Wed, 28 Sep 2011 00:22:19 +0000 (00:22 +0000)]
Some NetWare ssl module build tweaks.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1176670 13f79535-47bb-0310-9956-ffa450edef68

12 years agoMake mod_substitute more efficient:
Stefan Fritsch [Mon, 26 Sep 2011 20:09:06 +0000 (20:09 +0000)]
Make mod_substitute more efficient:
- Use varbuf resizable buffer instead of constantly allocating pool
  memory and copying data around. This changes the memory requirement from
  quadratic in ((number of substitutions in line) * (length of line)) to
  linear in (length of line).
- Instead of copying buckets just to append a \0, use new ap_regexec_len()
  function

PR: 50559

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1176019 13f79535-47bb-0310-9956-ffa450edef68

12 years agoSome varbuf enhancements:
Stefan Fritsch [Mon, 26 Sep 2011 20:05:09 +0000 (20:05 +0000)]
Some varbuf enhancements:
- Introduce new ap_varbuf_pdup() and ap_varbuf_regsub() functions.
- Fix some bugs in ap_varbuf_strmemcat().
- Make ap_varbuf.buf point to an empty string if no buffer has been allocated,
  yet.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1176018 13f79535-47bb-0310-9956-ffa450edef68

12 years agoAdjust log message to reflect changed behaviour
Stefan Fritsch [Mon, 26 Sep 2011 18:50:28 +0000 (18:50 +0000)]
Adjust log message to reflect changed behaviour

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1175992 13f79535-47bb-0310-9956-ffa450edef68

12 years agoPut 0- on the fast-track
Jim Jagielski [Mon, 26 Sep 2011 18:12:41 +0000 (18:12 +0000)]
Put 0- on the fast-track

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1175980 13f79535-47bb-0310-9956-ffa450edef68

12 years agoNo longer do double duty...
Jim Jagielski [Mon, 26 Sep 2011 18:12:38 +0000 (18:12 +0000)]
No longer do double duty...

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1175979 13f79535-47bb-0310-9956-ffa450edef68

12 years agoFinal update to SSLProxyMachineCertificateChainFile
Daniel Ruggeri [Mon, 26 Sep 2011 16:39:00 +0000 (16:39 +0000)]
Final update to SSLProxyMachineCertificateChainFile

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1175946 13f79535-47bb-0310-9956-ffa450edef68

12 years agoreplace another occurence of X509_NAME_oneline by SSL_X509_NAME_to_string
Kaspar Brand [Mon, 26 Sep 2011 15:24:23 +0000 (15:24 +0000)]
replace another occurence of X509_NAME_oneline by SSL_X509_NAME_to_string

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1175905 13f79535-47bb-0310-9956-ffa450edef68

12 years agoenable the SNI extension for proxy connections
Kaspar Brand [Sun, 25 Sep 2011 15:55:13 +0000 (15:55 +0000)]
enable the SNI extension for proxy connections
to TLS backends (but avoid for pure SSLv2/SSLv3)

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1175416 13f79535-47bb-0310-9956-ffa450edef68

12 years agoUpdates.
Lucien Gentis [Sun, 25 Sep 2011 14:51:47 +0000 (14:51 +0000)]
Updates.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1175407 13f79535-47bb-0310-9956-ffa450edef68

12 years agoUpdate.
Lucien Gentis [Sat, 24 Sep 2011 16:31:44 +0000 (16:31 +0000)]
Update.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1175191 13f79535-47bb-0310-9956-ffa450edef68

12 years agoMore style fixes, no func changes
Stefan Fritsch [Fri, 23 Sep 2011 18:20:43 +0000 (18:20 +0000)]
More style fixes, no func changes

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1174937 13f79535-47bb-0310-9956-ffa450edef68

12 years agoMore cleanup: Expand tabs and some more indentation fixes
Stefan Fritsch [Fri, 23 Sep 2011 18:08:42 +0000 (18:08 +0000)]
More cleanup: Expand tabs and some more indentation fixes
No functional change

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1174929 13f79535-47bb-0310-9956-ffa450edef68

12 years agoCleanup effort in prep for GA push:
Jim Jagielski [Fri, 23 Sep 2011 13:39:32 +0000 (13:39 +0000)]
Cleanup effort in prep for GA push:
Trim trailing whitespace... no func change

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1174751 13f79535-47bb-0310-9956-ffa450edef68

12 years agoCleanup effort in prep for GA push:
Jim Jagielski [Fri, 23 Sep 2011 13:38:09 +0000 (13:38 +0000)]
Cleanup effort in prep for GA push:
Trim trailing whitespace... no func change

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1174748 13f79535-47bb-0310-9956-ffa450edef68

12 years agoCleanup effort in prep for GA push:
Jim Jagielski [Fri, 23 Sep 2011 13:36:39 +0000 (13:36 +0000)]
Cleanup effort in prep for GA push:
Trim trailing whitespace... no func change

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1174747 13f79535-47bb-0310-9956-ffa450edef68

12 years agodocco xforms
Jim Jagielski [Fri, 23 Sep 2011 12:59:07 +0000 (12:59 +0000)]
docco xforms

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1174720 13f79535-47bb-0310-9956-ffa450edef68

12 years agosome docco updates
Jim Jagielski [Fri, 23 Sep 2011 12:57:18 +0000 (12:57 +0000)]
some docco updates

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1174718 13f79535-47bb-0310-9956-ffa450edef68

12 years agoPulls the examples out of the paragraph text and into a table so that
Rich Bowen [Thu, 22 Sep 2011 00:25:48 +0000 (00:25 +0000)]
Pulls the examples out of the paragraph text and into a table so that
they are more visually distinct.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1173918 13f79535-47bb-0310-9956-ffa450edef68

12 years agoBring error messages for TLS stapling related options in sync
Kaspar Brand [Wed, 21 Sep 2011 17:32:20 +0000 (17:32 +0000)]
Bring error messages for TLS stapling related options in sync
with their directive names.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1173772 13f79535-47bb-0310-9956-ffa450edef68

12 years agoupdate transformations
Kaspar Brand [Wed, 21 Sep 2011 17:03:19 +0000 (17:03 +0000)]
update transformations

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1173760 13f79535-47bb-0310-9956-ffa450edef68

12 years agomod_ssl:
Kaspar Brand [Wed, 21 Sep 2011 16:54:18 +0000 (16:54 +0000)]
mod_ssl:
- document the SSLStapling* directives (code committed in
  r829619 for 2.2.3, see PR 43822)
- add SSLCARevocationCheck to the list of configuration changes
  in the 2.4 upgrade notes.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1173755 13f79535-47bb-0310-9956-ffa450edef68

12 years agoupdate xforms
Stefan Fritsch [Tue, 20 Sep 2011 21:03:41 +0000 (21:03 +0000)]
update xforms

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1173370 13f79535-47bb-0310-9956-ffa450edef68

12 years ago%L works without mod_unique_id, too
Stefan Fritsch [Tue, 20 Sep 2011 21:02:48 +0000 (21:02 +0000)]
%L works without mod_unique_id, too

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1173368 13f79535-47bb-0310-9956-ffa450edef68

12 years agoSave one call of ap_escape_html on the uri. Reflow code to be more readable.
Stefan Fritsch [Tue, 20 Sep 2011 20:12:51 +0000 (20:12 +0000)]
Save one call of ap_escape_html on the uri. Reflow code to be more readable.

Submitted by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
PR: 51697

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1173328 13f79535-47bb-0310-9956-ffa450edef68

12 years agoAdds brief introduction to the table to address initial confusion when I
Rich Bowen [Tue, 20 Sep 2011 13:41:10 +0000 (13:41 +0000)]
Adds brief introduction to the table to address initial confusion when I
showed this doc to someone unfamiliar with the directive.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1173140 13f79535-47bb-0310-9956-ffa450edef68

12 years agoRebuilds translation generated docs.
Rich Bowen [Tue, 20 Sep 2011 12:09:08 +0000 (12:09 +0000)]
Rebuilds translation generated docs.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1173102 13f79535-47bb-0310-9956-ffa450edef68

12 years agoReplace log example with one that matches 2.4 logging.
Rich Bowen [Tue, 20 Sep 2011 11:57:52 +0000 (11:57 +0000)]
Replace log example with one that matches 2.4 logging.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1173098 13f79535-47bb-0310-9956-ffa450edef68

12 years agoRebuild HTML transformations.
Rich Bowen [Tue, 20 Sep 2011 11:31:09 +0000 (11:31 +0000)]
Rebuild HTML transformations.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1173087 13f79535-47bb-0310-9956-ffa450edef68

12 years agoAdds some examples of using the ErrorLogFormat token handlers.
Rich Bowen [Tue, 20 Sep 2011 11:28:02 +0000 (11:28 +0000)]
Adds some examples of using the ErrorLogFormat token handlers.
Standardizes the spelling of behavio(u)r to be consistent throughout the file.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1173086 13f79535-47bb-0310-9956-ffa450edef68

12 years agoAdd ssl_log_xerror() and ssl_log_rxerror(), modeled after ssl_log_cxerror().
Kaspar Brand [Mon, 19 Sep 2011 20:23:27 +0000 (20:23 +0000)]
Add ssl_log_xerror() and ssl_log_rxerror(), modeled after ssl_log_cxerror().
Add SSL_X509_NAME_to_string(), which converts an X509 distinguished name
to an RFC 2253 formatted string.
Adapt ssl_log_*error() to make use of SSL_X509_NAME_to_string().

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1172797 13f79535-47bb-0310-9956-ffa450edef68

12 years agoFix issues found by PVS-Studio static analyzer:
Stefan Fritsch [Mon, 19 Sep 2011 18:04:47 +0000 (18:04 +0000)]
Fix issues found by PVS-Studio static analyzer:

mod_mime_magic:
cut'n'paste error rsl_encoding vs. rsl_separator, also simplify code a bit

mod_header:
wrong string initialization (leading to segfault if format argument is missing)

util_win32: duplicate sizeof (untested; Windows people, please review)

PR: 51542
Submitted by: Andrey Karpov <karpov viva64 com>, Stefan Fritsch

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1172732 13f79535-47bb-0310-9956-ffa450edef68

12 years agoRemove from documentation STATUS things that have already been done.
Rich Bowen [Mon, 19 Sep 2011 17:19:26 +0000 (17:19 +0000)]
Remove from documentation STATUS things that have already been done.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1172715 13f79535-47bb-0310-9956-ffa450edef68

12 years agoAdd wrappers for malloc, calloc, realloc that check for out of memory
Stefan Fritsch [Mon, 19 Sep 2011 16:25:42 +0000 (16:25 +0000)]
Add wrappers for malloc, calloc, realloc that check for out of memory
situations.  Use them in most places where malloc, and friends are used.
This results in clean error messages in an out of memory situation instead of
segfaulting or silently malfunctioning. In some places, it just allows to
remove some logging code.

PR 51568, PR 51569, PR 51571.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1172686 13f79535-47bb-0310-9956-ffa450edef68

12 years agoPunctuation error.
Rich Bowen [Mon, 19 Sep 2011 13:51:13 +0000 (13:51 +0000)]
Punctuation error.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1172633 13f79535-47bb-0310-9956-ffa450edef68

12 years agoRemoves CookieLog from ja, ko, and tr documentation.
Rich Bowen [Mon, 19 Sep 2011 13:50:53 +0000 (13:50 +0000)]
Removes CookieLog from ja, ko, and tr documentation.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1172632 13f79535-47bb-0310-9956-ffa450edef68

12 years agoRebuild docs mentioning CookieLog
Rich Bowen [Mon, 19 Sep 2011 13:43:27 +0000 (13:43 +0000)]
Rebuild docs mentioning CookieLog

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1172627 13f79535-47bb-0310-9956-ffa450edef68

12 years agoRemoves the CookieLog directive, which has been documented as deprecated for more...
Rich Bowen [Mon, 19 Sep 2011 13:40:08 +0000 (13:40 +0000)]
Removes the CookieLog directive, which has been documented as deprecated for more than a decade.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1172625 13f79535-47bb-0310-9956-ffa450edef68

12 years agoRebuild HTML.
Rich Bowen [Mon, 19 Sep 2011 13:36:05 +0000 (13:36 +0000)]
Rebuild HTML.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1172622 13f79535-47bb-0310-9956-ffa450edef68

12 years agoRemoves the promise if more documentation to come. These docs are
Rich Bowen [Mon, 19 Sep 2011 13:34:12 +0000 (13:34 +0000)]
Removes the promise if more documentation to come. These docs are
probably sufficient as is.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1172618 13f79535-47bb-0310-9956-ffa450edef68

12 years agoStyle cleanup
Daniel Ruggeri [Mon, 19 Sep 2011 10:48:45 +0000 (10:48 +0000)]
Style cleanup

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1172562 13f79535-47bb-0310-9956-ffa450edef68

12 years agoGive a slightly more direct hint when no global ServerName is set. I still
Eric Covener [Mon, 19 Sep 2011 01:36:39 +0000 (01:36 +0000)]
Give a slightly more direct hint when no global ServerName is set. I still
think this buries the lead, but it's hard to rewrite to change the emphasis
yet maintain googleability.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1172410 13f79535-47bb-0310-9956-ffa450edef68

12 years agoRebuild mod_log_config grammar changes.
Rich Bowen [Mon, 19 Sep 2011 01:35:59 +0000 (01:35 +0000)]
Rebuild mod_log_config grammar changes.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1172409 13f79535-47bb-0310-9956-ffa450edef68

12 years agoAdditional grammatical nits.
Rich Bowen [Mon, 19 Sep 2011 01:34:16 +0000 (01:34 +0000)]
Additional grammatical nits.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1172408 13f79535-47bb-0310-9956-ffa450edef68

12 years agoRebuilding other new French translations.
Rich Bowen [Mon, 19 Sep 2011 00:42:45 +0000 (00:42 +0000)]
Rebuilding other new French translations.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1172402 13f79535-47bb-0310-9956-ffa450edef68