]> granicus.if.org Git - apache/log
apache
12 years agoSome NetWare build tweaks: removed obsolete include paths.
Guenter Knauf [Sat, 29 Oct 2011 14:27:14 +0000 (14:27 +0000)]
Some NetWare build tweaks: removed obsolete include paths.

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

12 years agoAdded proxy_html and xml2enc to NetWare build.
Guenter Knauf [Sat, 29 Oct 2011 13:16:45 +0000 (13:16 +0000)]
Added proxy_html and xml2enc to NetWare build.

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

12 years agoUpdate transformations.
Graham Leggett [Sat, 29 Oct 2011 11:21:58 +0000 (11:21 +0000)]
Update transformations.

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

12 years agomod_include: Add support for application/x-www-form-urlencoded encoding
Graham Leggett [Sat, 29 Oct 2011 11:13:37 +0000 (11:13 +0000)]
mod_include: Add support for application/x-www-form-urlencoded encoding
and decoding.

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

12 years agoImprove handling of maxlen = APR_SIZE_MAX, noticed by Jim.
Stefan Fritsch [Thu, 27 Oct 2011 20:15:36 +0000 (20:15 +0000)]
Improve handling of maxlen = APR_SIZE_MAX, noticed by Jim.
Use apr_pregsub_ex() and maxlen = 0 for unlimited in mod_substitute.

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

12 years agoXSLT transformation
Rich Bowen [Thu, 27 Oct 2011 13:21:20 +0000 (13:21 +0000)]
XSLT transformation

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

12 years agoApplies patch from Tomas Pospisek <tpo2 sourcepole ch> improving SSL FAQ on the topic...
Rich Bowen [Thu, 27 Oct 2011 13:17:00 +0000 (13:17 +0000)]
Applies patch from Tomas Pospisek <tpo2 sourcepole ch> improving SSL FAQ on the topic of intermediate certs.

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

12 years agoAdd new modules to CHANGES
Nick Kew [Thu, 27 Oct 2011 00:16:24 +0000 (00:16 +0000)]
Add new modules to CHANGES

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

12 years agomod_proxy_html and mod_xml2enc: part 4
Nick Kew [Thu, 27 Oct 2011 00:11:49 +0000 (00:11 +0000)]
mod_proxy_html and mod_xml2enc: part 4
References in non-auto-generated general docs

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

12 years agomod_xml2enc/mod_proxy_html drop
Nick Kew [Wed, 26 Oct 2011 23:47:18 +0000 (23:47 +0000)]
mod_xml2enc/mod_proxy_html drop
Part 3: Introduce them to autoconf
I expect this'll want further attention, but not tonight

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

12 years ago* support/rotatelogs.c (usage, main): Add support for -c option.
Joe Orton [Wed, 26 Oct 2011 13:54:42 +0000 (13:54 +0000)]
* support/rotatelogs.c (usage, main): Add support for -c option.

Submitted by: Jan Kaluža <jkaluza redhat.com>

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

12 years agoAdd comment why the code is disabled
Stefan Fritsch [Tue, 25 Oct 2011 22:32:22 +0000 (22:32 +0000)]
Add comment why the code is disabled

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

12 years agoLimit ap_pregsub() to 64K, add ap_pregsub_ex() for longer strings and with
Stefan Fritsch [Tue, 25 Oct 2011 22:29:13 +0000 (22:29 +0000)]
Limit ap_pregsub() to 64K, add ap_pregsub_ex() for longer strings and with
better error reporting. Modify ap_varbuf_regsub() to be similar to
ap_pregsub_ex().

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

12 years agoRemove spurious parsing of the cipher parameter.
Graham Leggett [Tue, 25 Oct 2011 22:10:04 +0000 (22:10 +0000)]
Remove spurious parsing of the cipher parameter.

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

12 years agoUpdate transformations.
Graham Leggett [Tue, 25 Oct 2011 20:49:22 +0000 (20:49 +0000)]
Update transformations.

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

12 years agomod_session_crypto: Refactor to support the new apr_crypto API.
Graham Leggett [Tue, 25 Oct 2011 20:45:40 +0000 (20:45 +0000)]
mod_session_crypto: Refactor to support the new apr_crypto API.

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

12 years ago* Correctly return a 400 (Bad request) in case of a HTTP/0.9 request like
Ruediger Pluem [Tue, 25 Oct 2011 15:56:08 +0000 (15:56 +0000)]
* Correctly return a 400 (Bad request) in case of a HTTP/0.9 request like
  GET @example.org/foo

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

12 years agoAdds border, zebra striping, to IndexStyleSheet table.
Rich Bowen [Tue, 25 Oct 2011 01:01:14 +0000 (01:01 +0000)]
Adds border, zebra striping, to IndexStyleSheet table.

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

12 years agoRebuild HTML
Rich Bowen [Tue, 25 Oct 2011 00:58:11 +0000 (00:58 +0000)]
Rebuild HTML

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

12 years agoMakes the 'canonical hostname' example a tiny bit more useful, in that it now works...
Rich Bowen [Tue, 25 Oct 2011 00:29:15 +0000 (00:29 +0000)]
Makes the 'canonical hostname' example a tiny bit more useful, in that it now works for any number of hostnames, rather than just one.

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

12 years agoupdate transformation
André Malo [Mon, 24 Oct 2011 20:16:40 +0000 (20:16 +0000)]
update transformation

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

12 years agoprops
André Malo [Mon, 24 Oct 2011 19:51:25 +0000 (19:51 +0000)]
props

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

12 years agoMention mod_reqtimeout in the DoS mitigation section
Stefan Fritsch [Mon, 24 Oct 2011 16:17:44 +0000 (16:17 +0000)]
Mention mod_reqtimeout in the DoS mitigation section

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

12 years agoAdd missing line break
Stefan Fritsch [Mon, 24 Oct 2011 11:22:48 +0000 (11:22 +0000)]
Add missing line break

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

12 years agoMake loop more efficient as pointed out by Roy
Stefan Fritsch [Mon, 24 Oct 2011 11:20:28 +0000 (11:20 +0000)]
Make loop more efficient as pointed out by Roy

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

12 years agoeol-style native for new files
Stefan Fritsch [Sun, 23 Oct 2011 22:23:59 +0000 (22:23 +0000)]
eol-style native for new files

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

12 years agoUnbreak AddOutputFilterByType for content types of the form
Stefan Fritsch [Sun, 23 Oct 2011 22:19:42 +0000 (22:19 +0000)]
Unbreak AddOutputFilterByType for content types of the form

  text/html;charset=...,

broken by r1171268. Add some trace logging

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

12 years agoLog reason for not deflating at level trace1
Stefan Fritsch [Sun, 23 Oct 2011 22:17:52 +0000 (22:17 +0000)]
Log reason for not deflating at level trace1

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

12 years agoUpdate transforms
Stefan Fritsch [Sun, 23 Oct 2011 22:14:32 +0000 (22:14 +0000)]
Update transforms

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

12 years agoClarify how ErrorDocument interprets argument
Stefan Fritsch [Sun, 23 Oct 2011 22:09:34 +0000 (22:09 +0000)]
Clarify how ErrorDocument interprets argument

PR: 42430

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

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