]> granicus.if.org Git - apache/log
apache
12 years agoFix 3xx responses with local URLs as ErrorDocument
Stefan Fritsch [Sun, 23 Oct 2011 22:07:50 +0000 (22:07 +0000)]
Fix 3xx responses with local URLs as ErrorDocument

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

12 years agomod_buffer: Make sure we step down for subrequests, but not for internal
Graham Leggett [Sun, 23 Oct 2011 13:08:04 +0000 (13:08 +0000)]
mod_buffer: Make sure we step down for subrequests, but not for internal
redirects triggered by mod_rewrite.

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

12 years agomod_proxy_html/mod_xml2enc code drop
Nick Kew [Sun, 23 Oct 2011 02:05:54 +0000 (02:05 +0000)]
mod_proxy_html/mod_xml2enc code drop
Part 2: mod_proxy_html code + skeleton docs page with Apache license,
coding and documentation standards, less some rough edges.

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

12 years agomod_proxy_html/mod_xml2enc code drop
Nick Kew [Sat, 22 Oct 2011 20:05:24 +0000 (20:05 +0000)]
mod_proxy_html/mod_xml2enc code drop
Part 1: mod_xml2enc code + docs with Apache license,
coding and documentation standards, less some rough edges.

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

12 years agor.subprocess_env is available and writable
Eric Covener [Sat, 22 Oct 2011 18:55:12 +0000 (18:55 +0000)]
r.subprocess_env is available and writable

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

12 years agoquick handler in an external file is already enabled, quick handler in block
Eric Covener [Sat, 22 Oct 2011 18:50:45 +0000 (18:50 +0000)]
quick handler in an external file is already enabled, quick handler in block
form seems to work just as well.

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

12 years agoexpose ap_construct_url to lua scripts
Eric Covener [Sat, 22 Oct 2011 18:07:43 +0000 (18:07 +0000)]
expose ap_construct_url to lua scripts

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

12 years agoComment out some incomplete code that does nothing but produce a compiler
Stefan Fritsch [Wed, 19 Oct 2011 22:40:06 +0000 (22:40 +0000)]
Comment out some incomplete code that does nothing but produce a compiler
warning

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

12 years agoDon't return a pointer to a stack variable
Stefan Fritsch [Wed, 19 Oct 2011 22:38:18 +0000 (22:38 +0000)]
Don't return a pointer to a stack variable
Found by cppcheck

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

12 years agoadd missing 'static'
Stefan Fritsch [Tue, 18 Oct 2011 22:06:36 +0000 (22:06 +0000)]
add missing 'static'

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

12 years agoregex related cleanups:
Stefan Fritsch [Tue, 18 Oct 2011 22:02:26 +0000 (22:02 +0000)]
regex related cleanups:
- use AP_MAX_REG_MATCH where appropriate
- in mod_proxy_ftp, compile the "ls -s1" regex only once instead of once per request
- add some coments

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

12 years agoReplace literal constant with AP_MAX_REG_MATCH
Stefan Fritsch [Tue, 18 Oct 2011 20:51:35 +0000 (20:51 +0000)]
Replace literal constant with AP_MAX_REG_MATCH

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

12 years agoFix configuration of internal proxies
Stefan Fritsch [Tue, 18 Oct 2011 20:10:48 +0000 (20:10 +0000)]
Fix configuration of internal proxies

PR: 49272
Submitted by: Jim Riggs <jim riggs me>

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

12 years agoDowngrade some more log messages indicating client errors from level error to
Stefan Fritsch [Mon, 17 Oct 2011 21:30:40 +0000 (21:30 +0000)]
Downgrade some more log messages indicating client errors from level error to
info. Add log messages for various reasons to return HTTP_BAD_REQUEST.

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

12 years agoIncrease the max line length from 2k to 128k and allocate the buffer on the
Stefan Fritsch [Mon, 17 Oct 2011 12:16:59 +0000 (12:16 +0000)]
Increase the max line length from 2k to 128k and allocate the buffer on the
heap.

Every log line has an URL and one or more HTTP headers. Each can be 8k long.

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

12 years agothe correct property is r.filename as used elsewhere
Eric Covener [Sun, 16 Oct 2011 18:04:14 +0000 (18:04 +0000)]
the correct property is r.filename as used elsewhere

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

12 years agoUpdates.
Lucien Gentis [Sat, 15 Oct 2011 16:39:18 +0000 (16:39 +0000)]
Updates.

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

12 years agoThere is absolutely no reason to have two 4k-sized constant strmatch patterns
Stefan Fritsch [Fri, 14 Oct 2011 19:51:17 +0000 (19:51 +0000)]
There is absolutely no reason to have two 4k-sized constant strmatch patterns
in each per-dir config.

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

12 years agoflip operator in comment for r1182887 and add some whitespace
Eric Covener [Thu, 13 Oct 2011 17:41:41 +0000 (17:41 +0000)]
flip operator in comment for r1182887 and add some whitespace
to highlight the restriction on nmatch.

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

12 years agoForce the honoring of AP_MAX_REG_MATCH
Jim Jagielski [Thu, 13 Oct 2011 14:49:39 +0000 (14:49 +0000)]
Force the honoring of AP_MAX_REG_MATCH

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

12 years agoRebuild xdocs.
Rich Bowen [Wed, 12 Oct 2011 14:08:00 +0000 (14:08 +0000)]
Rebuild xdocs.

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

12 years agoMissing linebreaks in examples.
Rich Bowen [Wed, 12 Oct 2011 14:06:09 +0000 (14:06 +0000)]
Missing linebreaks in examples.

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

12 years agoxforms
Stefan Fritsch [Mon, 10 Oct 2011 21:30:31 +0000 (21:30 +0000)]
xforms

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

12 years agoGive a hint about old multi-language error documents
Stefan Fritsch [Mon, 10 Oct 2011 21:17:16 +0000 (21:17 +0000)]
Give a hint about old multi-language error documents

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

12 years agoUpdate multilang error documents to ap_expr
Stefan Fritsch [Mon, 10 Oct 2011 21:06:59 +0000 (21:06 +0000)]
Update multilang error documents to ap_expr

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

12 years agoUpdate autogenerated code. Now generated with bison 2.5 instead of 2.4.1
Stefan Fritsch [Mon, 10 Oct 2011 20:44:40 +0000 (20:44 +0000)]
Update autogenerated code. Now generated with bison 2.5 instead of 2.4.1

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

12 years agoImprove error message by removing 'unexpected T_ERROR' in one case.
Stefan Fritsch [Mon, 10 Oct 2011 20:41:26 +0000 (20:41 +0000)]
Improve error message by removing 'unexpected T_ERROR' in one case.

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

12 years agoDowngrade to DEBUG level several messages which were all redundant
William A. Rowe Jr [Mon, 10 Oct 2011 20:22:18 +0000 (20:22 +0000)]
Downgrade to DEBUG level several messages which were all redundant
to these NOTICE level messages;

Child: Starting %d worker threads
Child: All worker threads have exited

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

12 years ago Resolve server and remote IP's in the AcceptFilter 'none' path.
William A. Rowe Jr [Mon, 10 Oct 2011 19:02:09 +0000 (19:02 +0000)]
  Resolve server and remote IP's in the AcceptFilter 'none' path.

  Lower the volume on a number of debug messages (and omit errno
  where we have no errno).

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

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