]> granicus.if.org Git - apache/log
apache
13 years agosimplify walking through array of returned apr_pollfd_t
Jeff Trawick [Sun, 19 Sep 2010 20:54:34 +0000 (20:54 +0000)]
simplify walking through array of returned apr_pollfd_t

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

13 years agofix one error message, eliminate another that will never
Jeff Trawick [Sun, 19 Sep 2010 20:47:38 +0000 (20:47 +0000)]
fix one error message, eliminate another that will never
be issued (since !n occurs when status != APR_SUCCESS)

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

13 years agoUpdate transformations
Stefan Fritsch [Sun, 19 Sep 2010 18:28:53 +0000 (18:28 +0000)]
Update transformations

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

13 years agoFix typos
Stefan Fritsch [Sun, 19 Sep 2010 18:27:10 +0000 (18:27 +0000)]
Fix typos

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

13 years agoFix lots of cut'n'paste errors and an xml validation error in French
Stefan Fritsch [Sun, 19 Sep 2010 18:24:03 +0000 (18:24 +0000)]
Fix lots of cut'n'paste errors and an xml validation error in French
translation. It would be nice if you could run './build.sh validate-xml'
before commiting.

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

13 years agoAdd method authz provider as potential Limit/LimitExcept replacement.
Stefan Fritsch [Sun, 19 Sep 2010 18:09:18 +0000 (18:09 +0000)]
Add method authz provider as potential Limit/LimitExcept replacement.

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

13 years agoAllow authz providers to check args while reading the config and allow
Stefan Fritsch [Sun, 19 Sep 2010 17:55:47 +0000 (17:55 +0000)]
Allow authz providers to check args while reading the config and allow
them to cache parsed args.

Use this to check that argument to 'all' provider is 'granted' or 'denied'.

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

13 years agoShorten the changes entries.
Graham Leggett [Sun, 19 Sep 2010 17:17:12 +0000 (17:17 +0000)]
Shorten the changes entries.

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

13 years agomod_include: Move the request_rec within mod_include to be
Graham Leggett [Sun, 19 Sep 2010 17:11:45 +0000 (17:11 +0000)]
mod_include: Move the request_rec within mod_include to be
exposed within include_ctx_t.

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

13 years agoUpdates.
Lucien Gentis [Sun, 19 Sep 2010 13:56:08 +0000 (13:56 +0000)]
Updates.

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

13 years agoUpdate transformations.
Graham Leggett [Sun, 19 Sep 2010 13:04:44 +0000 (13:04 +0000)]
Update transformations.

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

13 years agomod_include: Reinstate support for UTF-8 character sets by allowing a
Graham Leggett [Sun, 19 Sep 2010 13:02:54 +0000 (13:02 +0000)]
mod_include: Reinstate support for UTF-8 character sets by allowing a
variable being echoed or set to be decoded and then encoded as separate
steps. PR47686

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

13 years agoExplanation on how to prioritize mime-types on the serverside with AddType.
Igor Galić [Sat, 18 Sep 2010 21:41:04 +0000 (21:41 +0000)]
Explanation on how to prioritize mime-types on the serverside with AddType.

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

13 years agoAdding svn:ignores for rewrite
Igor Galić [Sat, 18 Sep 2010 11:06:58 +0000 (11:06 +0000)]
Adding svn:ignores for rewrite

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

13 years agoRemoving ™ from mod_privileges, because it breaks the LaTeX build, and because...
Igor Galić [Sat, 18 Sep 2010 11:06:23 +0000 (11:06 +0000)]
Removing ™ from mod_privileges, because it breaks the LaTeX build, and because nowhere else is Unix written with ™

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

13 years agoIntroduce integer comparison support in RewriteCond
William A. Rowe Jr [Thu, 16 Sep 2010 18:57:23 +0000 (18:57 +0000)]
Introduce integer comparison support in RewriteCond

The operators -gt, -ge, -eq, -le, -lt and -ne follow the bash test' semantics
for comparing the integer values of the lhs and rhs expressions, as opposed
to the string evaluations performed by > >= = <= and <.

Note that -lt and -le overlap the existing -l test, and could be confused in
expresions such as -ltestfile - to avoid this conflict use -L or -h in place
of the legacy -l file symlink test operator.

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

13 years agoReduce complexity and fix a regex.t based on observation by rpluem;
William A. Rowe Jr [Thu, 16 Sep 2010 18:14:32 +0000 (18:14 +0000)]
Reduce complexity and fix a regex.t based on observation by rpluem;

 - follow the same logic of '=' for >[=] and <[=], skipping p->type chars
   for the resulting p->pattern

 - introduce pskip logic to greatly simplify logging, track negation '!', '=',
   and new comparators ">/<[=]", backspacing only for the purpose of logging.
   It's trivial to expand this to the -X operators in the future.

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

13 years agoNo need to call the cleanup in the forked-child case.
Graham Leggett [Thu, 16 Sep 2010 10:08:18 +0000 (10:08 +0000)]
No need to call the cleanup in the forked-child case.

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

13 years agoEnsure the return value is initialised.
Graham Leggett [Thu, 16 Sep 2010 09:56:38 +0000 (09:56 +0000)]
Ensure the return value is initialised.

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

13 years agoFix to apidoc comments in ap_regex
Nick Kew [Thu, 16 Sep 2010 01:44:09 +0000 (01:44 +0000)]
Fix to apidoc comments in ap_regex

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

13 years ago*) Accept modern bash test conventions of -h or -L for testing symlinks
William A. Rowe Jr [Thu, 16 Sep 2010 00:54:58 +0000 (00:54 +0000)]
*) Accept modern bash test conventions of -h or -L for testing symlinks
   (for another patch against -l yet-to-come)

*) Introduce >= and <= syntax for greater-or-equal, or less-or-equal
   string comparisons

*) Respect [NC] conventions for >[=]/<[=] string comparison, which is
   horribly sensitive to the current charset.

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

13 years agomod_cache: Add a discrete commit_entity() provider function within the
Graham Leggett [Thu, 16 Sep 2010 00:05:14 +0000 (00:05 +0000)]
mod_cache: Add a discrete commit_entity() provider function within the
mod_cache provider interface which is called to indicate to the
provider that caching is complete, giving the provider the opportunity
to commit temporary files permanently to the cache in an atomic
fashion. Move all "rename" functionality of temporary files to permanent
files within mod_disk_cache from ad hoc locations in the code to the
commit_entity() function. Instead of reusing the same variables for
temporary file handling in mod_disk_cache, introduce separate discrete
structures for each of the three cache file types, the headers file,
vary file and data file, so that the atomic rename of all three file
types within commit_entity() becomes possible. Replace the inconsistent
use of error cleanups with a formal set of pool cleanups attached to
a subpool, which is destroyed on error.

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

13 years agoHandle the case where a brigade might have buckets following the eos
Graham Leggett [Mon, 13 Sep 2010 22:35:51 +0000 (22:35 +0000)]
Handle the case where a brigade might have buckets following the eos
bucket. In this case the cache provider passes all buckets through as
is once the cached entry is marked as done.

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

13 years agoUpdate transformations.
Graham Leggett [Sun, 12 Sep 2010 23:18:26 +0000 (23:18 +0000)]
Update transformations.

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

13 years agomod_cache: Change the signature of the store_body() provider function
Graham Leggett [Sun, 12 Sep 2010 23:16:49 +0000 (23:16 +0000)]
mod_cache: Change the signature of the store_body() provider function
within the mod_cache provider interface to support an "in" brigade
and an "out" brigade instead of just a single input brigade. This
gives a cache provider the option to consume only part of the brigade
passed to it, rather than the whole brigade as was required before.
This fixes an out of memory and a request timeout condition that would
occur when the original document was a large file. Update the
mod_disk_cache provider implementation to take into account the new API.
Introduce CacheReadSize and CacheReadTime directives to mod_disk_cache
to control the amount of data to attempt to cache before sending the
data on to the client in the "out" brigade.

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

13 years agoMinor bump for ap_cache_check_allowed().
Graham Leggett [Sun, 12 Sep 2010 13:45:16 +0000 (13:45 +0000)]
Minor bump for ap_cache_check_allowed().

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

13 years agoadd errorlog formats for request notes and env vars
Stefan Fritsch [Sun, 12 Sep 2010 12:59:10 +0000 (12:59 +0000)]
add errorlog formats for request notes and env vars

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

13 years agoadd comment about (not) using pools in error log format handlers
Stefan Fritsch [Sun, 12 Sep 2010 12:52:48 +0000 (12:52 +0000)]
add comment about (not) using pools in error log format handlers

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

13 years agoreadability fix, as suggested by Ruediger Pluem
Stefan Fritsch [Fri, 10 Sep 2010 17:00:08 +0000 (17:00 +0000)]
readability fix, as suggested by Ruediger Pluem

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

13 years agoFurther clarification of SuppressHTMLPreamble + ReadmeName behavior.
Rich Bowen [Fri, 10 Sep 2010 15:55:47 +0000 (15:55 +0000)]
Further clarification of SuppressHTMLPreamble + ReadmeName behavior.

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

13 years agoClarify that SuppressHTMLPreamble also suppresses the </body></html> on
Rich Bowen [Fri, 10 Sep 2010 15:53:05 +0000 (15:53 +0000)]
Clarify that SuppressHTMLPreamble also suppresses the </body></html> on
the output. (Thanks to "Alumin" on #httpd freenode IRC)

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

13 years ago- Add another check during ErrorLogFormat parsing
Stefan Fritsch [Mon, 6 Sep 2010 18:53:38 +0000 (18:53 +0000)]
- Add another check during ErrorLogFormat parsing
- Simplify code (including Ruediger's suggestions)

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

13 years agoupdate transformations
Stefan Fritsch [Sun, 5 Sep 2010 16:01:15 +0000 (16:01 +0000)]
update transformations

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

13 years agoremove unused variables
Stefan Fritsch [Sun, 5 Sep 2010 15:56:10 +0000 (15:56 +0000)]
remove unused variables

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

13 years agoAdd ErrorLogFormat directive for configuring the error log format, including
Stefan Fritsch [Sun, 5 Sep 2010 15:44:19 +0000 (15:44 +0000)]
Add ErrorLogFormat directive for configuring the error log format, including
additional information that is logged once per connection or request.

Add error log IDs for connections and request to allow correlating error log
lines and the corresponding access log entry.

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

13 years agoDisable sendfile by default, as discussed at
Stefan Fritsch [Sat, 4 Sep 2010 21:53:06 +0000 (21:53 +0000)]
Disable sendfile by default, as discussed at
http://mail-archives.apache.org/mod_mbox/httpd-dev/201007.mbox/<4C4355EE.2060605@rowe-clan.net>

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

13 years agomod_cache: Check the request to determine whether we are allowed
Graham Leggett [Sat, 4 Sep 2010 15:20:30 +0000 (15:20 +0000)]
mod_cache: Check the request to determine whether we are allowed
to return cached content at all, and respect a "Cache-Control:
no-cache" header from a client. Previously, "no-cache" would
behave like "max-age=0".

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

13 years agomod_cache: Use a proper filter context to hold filter data instead
Graham Leggett [Sat, 4 Sep 2010 14:42:30 +0000 (14:42 +0000)]
mod_cache: Use a proper filter context to hold filter data instead
of misusing the per-request configuration. Fixes a segfault on trunk
when the normal handler is used.

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

13 years agoFix a spelling mistake.
Graham Leggett [Sat, 4 Sep 2010 14:20:17 +0000 (14:20 +0000)]
Fix a spelling mistake.

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

13 years agoAdd a TODO.
Graham Leggett [Sat, 4 Sep 2010 14:09:47 +0000 (14:09 +0000)]
Add a TODO.

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

13 years agomod_cgid: Log a warning if the ScriptSock path is truncated because
Stefan Fritsch [Sat, 4 Sep 2010 11:24:49 +0000 (11:24 +0000)]
mod_cgid: Log a warning if the ScriptSock path is truncated because
it is too long.

PR 49388

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

13 years agoChanged comments to C stye.
Guenter Knauf [Wed, 1 Sep 2010 18:14:11 +0000 (18:14 +0000)]
Changed comments to C stye.

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

13 years agoFixed wrong comment.
Guenter Knauf [Wed, 1 Sep 2010 16:27:14 +0000 (16:27 +0000)]
Fixed wrong comment.

ap_body_to_table() was dropped with r953203, not ap_args_to_table().

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

13 years agoAdded require prototypes conditionally to CFLAGS for NETWare;
Guenter Knauf [Wed, 1 Sep 2010 16:17:23 +0000 (16:17 +0000)]
Added require prototypes conditionally to CFLAGS for NETWare;
added header includes for getting protos.

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

13 years agoset default pattern type using the enum value instead of
Jeff Trawick [Wed, 1 Sep 2010 12:43:03 +0000 (12:43 +0000)]
set default pattern type using the enum value instead of
integer literal (Intel C compiler groans about this)

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

13 years agoc isn't used after being set (Fortify)
Jeff Trawick [Wed, 1 Sep 2010 12:41:19 +0000 (12:41 +0000)]
c isn't used after being set (Fortify)

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

13 years agorunning_gen was only set to an interesting value on a path
Jeff Trawick [Wed, 1 Sep 2010 12:10:11 +0000 (12:10 +0000)]
running_gen was only set to an interesting value on a path
where it wasn't used before returning from the function; axe it

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

13 years agoIn the upgrading document, mention the messages for virtual
Daniel Earl Poirier [Mon, 30 Aug 2010 17:39:26 +0000 (17:39 +0000)]
In the upgrading document, mention the messages for virtual
hosts that can now cause startup failure.

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

13 years agoFail startup for vhost configuration problems, rather than
Daniel Earl Poirier [Mon, 30 Aug 2010 16:09:50 +0000 (16:09 +0000)]
Fail startup for vhost configuration problems, rather than
running with a configuration with undefined behavior.

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

13 years ago* - temp_sa is already the correct pointer
Ruediger Pluem [Mon, 30 Aug 2010 09:45:34 +0000 (09:45 +0000)]
* - temp_sa is already the correct pointer
  - use temp_sa instead of temp_sa_buff which is not a pointer

Pointed by: Andrew Skalski <voltara gmail.com>

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

13 years ago* temp_sa is already the correct pointer.
Ruediger Pluem [Mon, 30 Aug 2010 09:41:38 +0000 (09:41 +0000)]
* temp_sa is already the correct pointer.

PR: 49838
Submitted by: Andrew Skalski <voltara gmail.com>
Reviewed by: rpluem

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

13 years agonote a limitation on some kinds of flags in per-dir rewrite (since the current request
Eric Covener [Fri, 27 Aug 2010 12:38:23 +0000 (12:38 +0000)]
note a limitation on some kinds of flags in per-dir rewrite (since the current request
is not long for this world and these fields are not copied on the internal redirect)

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

13 years agoadd compat info to apachectl -T, add -T to short description of flags
Eric Covener [Fri, 27 Aug 2010 11:55:34 +0000 (11:55 +0000)]
add compat info to apachectl -T, add -T to short description of flags

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

13 years agodoc updates around why a few directives can't set arbitrary Content-Types for
Eric Covener [Fri, 27 Aug 2010 11:50:20 +0000 (11:50 +0000)]
doc updates around why a few directives can't set arbitrary Content-Types for
non-static responses.

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

13 years agoremove another reference to DirectoryMatch matching unmatched subdirectories
Eric Covener [Fri, 27 Aug 2010 10:51:33 +0000 (10:51 +0000)]
remove another reference to DirectoryMatch matching unmatched subdirectories

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

13 years agoPR49809: Allow DirectoryMatch to match the EOL character ($). and
Eric Covener [Fri, 27 Aug 2010 10:46:02 +0000 (10:46 +0000)]
PR49809: Allow DirectoryMatch to match the EOL character ($). and
stop applying to subdirectories (that don't also match the regex) implicitly.

The manual already uses DirectoryMatch syntax that assumes this in other places!

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

13 years agoUpdate transforms.
Rainer Jung [Thu, 26 Aug 2010 15:14:53 +0000 (15:14 +0000)]
Update transforms.

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

13 years agoDocs: "Header add" doesn't need a colon after
Rainer Jung [Thu, 26 Aug 2010 12:59:33 +0000 (12:59 +0000)]
Docs: "Header add" doesn't need a colon after
the header name.

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

13 years agoFix missing line break in example.
Rainer Jung [Thu, 26 Aug 2010 10:56:01 +0000 (10:56 +0000)]
Fix missing line break in example.

Example formating is not verbatim.

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

13 years ago- add more comments explaining the logging macros
Stefan Fritsch [Wed, 25 Aug 2010 21:29:41 +0000 (21:29 +0000)]
- add more comments explaining the logging macros
- make the documentation more doxygen friendly, as suggested by Justin
  Erenkrantz

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

13 years agoAdds link to main Vhosts document, for folks who don't know what a
Rich Bowen [Wed, 25 Aug 2010 14:48:28 +0000 (14:48 +0000)]
Adds link to main Vhosts document, for folks who don't know what a
virtual host is.

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

13 years agoFix correct PR
Jim Jagielski [Wed, 25 Aug 2010 14:12:36 +0000 (14:12 +0000)]
Fix correct PR

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

13 years agoUpdate transform.
Rainer Jung [Wed, 25 Aug 2010 10:34:48 +0000 (10:34 +0000)]
Update transform.

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

13 years agoAdd link to list of 2.4 API changes.
Rainer Jung [Wed, 25 Aug 2010 10:34:23 +0000 (10:34 +0000)]
Add link to list of 2.4 API changes.

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

13 years agoap_proxy_retry_worker() only needs to spit out one debug
Jeff Trawick [Tue, 24 Aug 2010 18:04:06 +0000 (18:04 +0000)]
ap_proxy_retry_worker() only needs to spit out one debug
message, and it should indicate whether or not retry will
be attempted

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

13 years agoBump up for 2.3.9-dev
Jim Jagielski [Tue, 24 Aug 2010 16:35:26 +0000 (16:35 +0000)]
Bump up for 2.3.9-dev

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

13 years agoGet ready to tag
Jim Jagielski [Tue, 24 Aug 2010 16:33:37 +0000 (16:33 +0000)]
Get ready to tag

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

13 years agoUpdate transormations.
Rainer Jung [Mon, 23 Aug 2010 11:34:55 +0000 (11:34 +0000)]
Update transormations.

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

13 years agoAdd information about "||" and "|$" piped log
Rainer Jung [Mon, 23 Aug 2010 11:13:23 +0000 (11:13 +0000)]
Add information about "||" and "|$" piped log
syntax to the docs.

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

13 years agoRemove obsolete transforms from docs.
Rainer Jung [Mon, 23 Aug 2010 10:48:22 +0000 (10:48 +0000)]
Remove obsolete transforms from docs.

The files have been erroneously added in r987255.
These pages have moved to the developer directory.

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

13 years agoPrevent race condition
Jean-Frederic Clere [Mon, 23 Aug 2010 09:09:25 +0000 (09:09 +0000)]
Prevent race condition
See http://www.mail-archive.com/dev@httpd.apache.org/msg47171.html

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

13 years agoUpdate transformations.
Rainer Jung [Sun, 22 Aug 2010 10:37:28 +0000 (10:37 +0000)]
Update transformations.

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

13 years agoSupport large log files in suexec
Stefan Fritsch [Sun, 22 Aug 2010 10:34:20 +0000 (10:34 +0000)]
Support large log files in suexec

PR: 45856

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

13 years agoSimplify code as noted by Jeff.
Stefan Fritsch [Sun, 22 Aug 2010 10:26:18 +0000 (10:26 +0000)]
Simplify code as noted by Jeff.
arg can't be NULL and the message created by missing_container_arg() is
good enough

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

13 years agoAdd information about proxy workers to proxy docs.
Rainer Jung [Sun, 22 Aug 2010 10:09:25 +0000 (10:09 +0000)]
Add information about proxy workers to proxy docs.

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

13 years agoChange behaviour of worker sharing.
Rainer Jung [Sun, 22 Aug 2010 09:47:29 +0000 (09:47 +0000)]
Change behaviour of worker sharing.

A proxy worker is shared, if its URL is a leading substring
of the URL of another worker defined later in the configuration.

Before this change this
- triggered the "worker ... already used by another worker" message
- resulted in a hard to understand configuration for this worker
  - Attributes explicitely given in the later worker overwrote
    attributes in the worker which was defined first
  - General proxy attributes (e.g. ProxyTimeout ) overwrote
    attributes in the worker which was defined first

New behaviour:
- Talk about "sharing" of workers and log both worker URLs
  in the info log message instead of the "already used" message
- Do not overwrite attributes. If attributes were explicitely
  given in the later worker, log a warning that those are ignored
  because of sharing.

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

13 years agoMinor style nits.
Rainer Jung [Sun, 22 Aug 2010 09:46:23 +0000 (09:46 +0000)]
Minor style nits.

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

13 years agocore: Abort with sensible error message if no or more than one MPM is
Stefan Fritsch [Sat, 21 Aug 2010 18:06:41 +0000 (18:06 +0000)]
core: Abort with sensible error message if no or more than one MPM is
loaded.

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

13 years agofollow up r987629 with another similar issue
Jeff Trawick [Fri, 20 Aug 2010 20:47:35 +0000 (20:47 +0000)]
follow up r987629 with another similar issue

curr_parent can't be NULL (or we segfault elsewhere), so
don't check for NULL

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

13 years agoremove useless check for current == NULL; if it is NULL, a
Jeff Trawick [Fri, 20 Aug 2010 20:39:02 +0000 (20:39 +0000)]
remove useless check for current == NULL; if it is NULL, a
segfault will occur right before the function returns anyway
(IOW, caller must not pass in NULL for that arg)

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

13 years agoRemove unneeded CHANGES entry.
Rainer Jung [Fri, 20 Aug 2010 13:43:12 +0000 (13:43 +0000)]
Remove unneeded CHANGES entry.

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

13 years agoFortify falsely complained that the sprintf() result was unbounded.
Jeff Trawick [Fri, 20 Aug 2010 13:16:24 +0000 (13:16 +0000)]
Fortify falsely complained that the sprintf() result was unbounded.
We may as well use apr_snprintf() though, as well as comment on the
available space for "::\0" (for people like me).

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

13 years agoFix broken "creationdate" property in mod_dav_fs and
Rainer Jung [Fri, 20 Aug 2010 12:55:42 +0000 (12:55 +0000)]
Fix broken "creationdate" property in mod_dav_fs and
remove remaining uses of sprintf() in the dav modules.

This is a regression in 2.3.7 introduced by r931434.
It calls sizeof() for a function parameter, which only returns the
pointer size, not the size of the char array. Thus the
"creationdate" property got truncated to three characters.

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

13 years agomod_proxy: Rename erroronstatus to failonstatus...
Jeff Trawick [Fri, 20 Aug 2010 00:54:34 +0000 (00:54 +0000)]
mod_proxy: Rename erroronstatus to failonstatus...

... by popular demand, and add documentation.

Submitted by: Daniel Ruggeri <DRuggeri primary.net>

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

13 years agoFortify complains about an overflow of pad[], which would
Jeff Trawick [Thu, 19 Aug 2010 22:35:21 +0000 (22:35 +0000)]
Fortify complains about an overflow of pad[], which would
require a mongo argv[0].  Get the vprintf formatter to handle
the padding and avoid creating the padding altogether.

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

13 years agoalert docs readers to minor gotcha
Nick Kew [Thu, 19 Aug 2010 20:31:22 +0000 (20:31 +0000)]
alert docs readers to minor gotcha

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

13 years agoUpdate transforms and add some html and meta files generated from new pages
Daniel Earl Poirier [Thu, 19 Aug 2010 18:05:20 +0000 (18:05 +0000)]
Update transforms and add some html and meta files generated from new pages

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

13 years agoOverhaul the detailed doc for virtual hosts:
Daniel Earl Poirier [Thu, 19 Aug 2010 18:03:50 +0000 (18:03 +0000)]
Overhaul the detailed doc for virtual hosts:
- remove references to implementation details
- re-order information to fit the order of the page
- add more links to glossary and other pages

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

13 years agoFor NameVirtualHost, specify which vhost is the default if no
Daniel Earl Poirier [Thu, 19 Aug 2010 17:57:47 +0000 (17:57 +0000)]
For NameVirtualHost, specify which vhost is the default if no
match is found.
For ServerName, copy information about how multiple occurrences
are handled from the vhost doc.

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

13 years agoMinor corrections and cleanup in the descriptions of IP-based and
Daniel Earl Poirier [Thu, 19 Aug 2010 17:38:18 +0000 (17:38 +0000)]
Minor corrections and cleanup in the descriptions of IP-based and
name-based virtual hosts.

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

13 years agoAnd we are at 2.3.8-dev...
Jim Jagielski [Thu, 19 Aug 2010 12:46:34 +0000 (12:46 +0000)]
And we are at 2.3.8-dev...

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

13 years agoBump
Jim Jagielski [Thu, 19 Aug 2010 12:41:40 +0000 (12:41 +0000)]
Bump

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

13 years agoPrepare for tagging of 2.3.7
Jim Jagielski [Thu, 19 Aug 2010 12:37:27 +0000 (12:37 +0000)]
Prepare for tagging of 2.3.7

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

13 years agoupdate xforms
Jim Jagielski [Thu, 19 Aug 2010 12:32:18 +0000 (12:32 +0000)]
update xforms

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

13 years agoFix usage output.
Stefan Fritsch [Wed, 18 Aug 2010 23:11:56 +0000 (23:11 +0000)]
Fix usage output.

PR: 45331

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

13 years agoProperly check the result returned by apr_ldap_init: There may have been an
Stefan Fritsch [Wed, 18 Aug 2010 22:59:45 +0000 (22:59 +0000)]
Properly check the result returned by apr_ldap_init: There may have been an
error even if ldc->ldap != NULL.

PR 46076

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

13 years agomod_rewrite: Log errors if rewrite map files cannot be opened
Stefan Fritsch [Wed, 18 Aug 2010 20:35:43 +0000 (20:35 +0000)]
mod_rewrite: Log errors if rewrite map files cannot be opened

PR: 49639

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

13 years agoRemove obsolete "see error log" log messages.
Stefan Fritsch [Wed, 18 Aug 2010 20:22:51 +0000 (20:22 +0000)]
Remove obsolete "see error log" log messages.
mod_rewrite now uses the error log.

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

13 years agoPerform NULL check before dereferencing arg, not after.
Stefan Fritsch [Wed, 18 Aug 2010 20:10:12 +0000 (20:10 +0000)]
Perform NULL check before dereferencing arg, not after.

PR: 49634

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

13 years agoPull out "does request have a body" logic to a central
Jim Jagielski [Wed, 18 Aug 2010 14:30:50 +0000 (14:30 +0000)]
Pull out "does request have a body" logic to a central
canon function and use that for the 100-Continue OK
check.

Should likely also start using this in the various
other places we do this "have body" check thruout
the codebase...

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