]> granicus.if.org Git - apache/log
apache
12 years agoRemove some getpid() logging, this is now also included in the error log
Stefan Fritsch [Wed, 30 Nov 2011 22:15:55 +0000 (22:15 +0000)]
Remove some getpid() logging, this is now also included in the error log
format.

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

12 years agomod_cache: Apply the API change that allows future mod_cache providers to
Graham Leggett [Wed, 30 Nov 2011 21:56:11 +0000 (21:56 +0000)]
mod_cache: Apply the API change that allows future mod_cache providers to
invalidate cache entries, which will fix PR15868.

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

12 years agoRemove some more now redundant log prefixes
Stefan Fritsch [Wed, 30 Nov 2011 21:51:51 +0000 (21:51 +0000)]
Remove some more now redundant log prefixes

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

12 years agoClarify the peer IP of the connection and the client IP of the request within
Graham Leggett [Wed, 30 Nov 2011 20:28:25 +0000 (20:28 +0000)]
Clarify the peer IP of the connection and the client IP of the request within
the docs.

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

12 years agoRPM: Make it possible to build mod_socache_dc against distcache.
Graham Leggett [Wed, 30 Nov 2011 19:40:31 +0000 (19:40 +0000)]
RPM: Make it possible to build mod_socache_dc against distcache.

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

12 years agoAdded missing proxy import to Netware build.
Guenter Knauf [Wed, 30 Nov 2011 17:28:47 +0000 (17:28 +0000)]
Added missing proxy import to Netware build.

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

12 years agoFixed compilation for non-*nix platforms.
Guenter Knauf [Wed, 30 Nov 2011 17:16:09 +0000 (17:16 +0000)]
Fixed compilation for non-*nix platforms.

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

12 years agomod_session_crypto: Add a SessionCryptoPassphraseFile directive so that the
Graham Leggett [Wed, 30 Nov 2011 16:56:50 +0000 (16:56 +0000)]
mod_session_crypto: Add a SessionCryptoPassphraseFile directive so that the
administrator can hide the keys from the configuration.

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

12 years agouse a style sheet... ideally we would pull one off the filesystem,
Jim Jagielski [Wed, 30 Nov 2011 13:15:24 +0000 (13:15 +0000)]
use a style sheet... ideally we would pull one off the filesystem,
but for now...

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

12 years agoRemove more log message prefixes that are now redundant as the
Stefan Fritsch [Tue, 29 Nov 2011 22:28:21 +0000 (22:28 +0000)]
Remove more log message prefixes that are now redundant as the
the error log format includes the module name.

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

12 years agomod_dbd: The dbd_prepared_init() function reported the result of the last
Graham Leggett [Tue, 29 Nov 2011 21:27:46 +0000 (21:27 +0000)]
mod_dbd: The dbd_prepared_init() function reported the result of the last
prepared statement, obscuring earlier errors. Fixed.

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

12 years agoEnsure casing doesn't matter... (we know balancer->s->name is
Jim Jagielski [Tue, 29 Nov 2011 21:14:47 +0000 (21:14 +0000)]
Ensure casing doesn't matter... (we know balancer->s->name is
lc)

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

12 years agoSome optimization... we have a hash, use it. Quicker than all
Jim Jagielski [Tue, 29 Nov 2011 21:14:08 +0000 (21:14 +0000)]
Some optimization... we have a hash, use it. Quicker than all
these string comparisons.

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

12 years agowhitespace
Jim Jagielski [Tue, 29 Nov 2011 21:14:03 +0000 (21:14 +0000)]
whitespace

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

12 years agoRPM: Add support for mod_lua.
Graham Leggett [Tue, 29 Nov 2011 17:20:24 +0000 (17:20 +0000)]
RPM: Add support for mod_lua.

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

12 years agoRPM: Introduce a proper layout for RPM, removing the need for script
Graham Leggett [Tue, 29 Nov 2011 16:56:47 +0000 (16:56 +0000)]
RPM: Introduce a proper layout for RPM, removing the need for script
gymnastics and replacement configuration files in order to get the
configuration paths to match up correctly.

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

12 years agoLogic which makes the balancer "active" or not... so we can turn them
Jim Jagielski [Tue, 29 Nov 2011 15:36:11 +0000 (15:36 +0000)]
Logic which makes the balancer "active" or not... so we can turn them
off and on as needed.

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

12 years agoRPM: Introduce an httpd-tools package, containing all the userland
Graham Leggett [Tue, 29 Nov 2011 14:25:54 +0000 (14:25 +0000)]
RPM: Introduce an httpd-tools package, containing all the userland
support tools, aligned with Fedora's RPM.

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

12 years agoRPM: Align the requires and buildrequires lines with those of the Fedora
Graham Leggett [Tue, 29 Nov 2011 13:48:59 +0000 (13:48 +0000)]
RPM: Align the requires and buildrequires lines with those of the Fedora
RPM in order to remove unnecessary dependencies.

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

12 years agoInstead of running thru all kinds of logic paths, just add in
Jim Jagielski [Tue, 29 Nov 2011 13:12:43 +0000 (13:12 +0000)]
Instead of running thru all kinds of logic paths, just add in
a on/off bit... No need for other balancer statuses(sp)?

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

12 years agoRPM: Split the LDAP and proxy_html modules into dedicated RPMs, so that the
Graham Leggett [Tue, 29 Nov 2011 12:58:00 +0000 (12:58 +0000)]
RPM: Split the LDAP and proxy_html modules into dedicated RPMs, so that the
httpd RPM doesn't depend on LDAP libraries or libxml2.

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

12 years agoRPM: Remove stray configure options that are covered by
Graham Leggett [Tue, 29 Nov 2011 11:36:26 +0000 (11:36 +0000)]
RPM: Remove stray configure options that are covered by
--enable-mods-shared=all.

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

12 years agoRPM: Support shared mpms with the event mpm as default. Remove all the
Graham Leggett [Tue, 29 Nov 2011 02:03:41 +0000 (02:03 +0000)]
RPM: Support shared mpms with the event mpm as default. Remove all the
legacy plumbing that supported the static mpm builds, reverting back to a
simple RPM spec file.

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

12 years agoRPM: Include configuration for mod_proxy_html.
Graham Leggett [Tue, 29 Nov 2011 00:58:00 +0000 (00:58 +0000)]
RPM: Include configuration for mod_proxy_html.

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

12 years agoRPM: The default httpd mpm is now worker instead of prefork.
Graham Leggett [Tue, 29 Nov 2011 00:21:16 +0000 (00:21 +0000)]
RPM: The default httpd mpm is now worker instead of prefork.

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

12 years agoExpose the path that the balancer handles...
Jim Jagielski [Mon, 28 Nov 2011 20:46:53 +0000 (20:46 +0000)]
Expose the path that the balancer handles...

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

12 years agoPull this out as a sep function to allow for full vhosting
Jim Jagielski [Mon, 28 Nov 2011 20:11:44 +0000 (20:11 +0000)]
Pull this out as a sep function to allow for full vhosting
adjustment between get and define balancers...

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

12 years ago"Final" (I hope) proxy struct/API changes in order to support
Jim Jagielski [Mon, 28 Nov 2011 17:10:17 +0000 (17:10 +0000)]
"Final" (I hope) proxy struct/API changes in order to support
dynamic balancer allocation AND dynamic vhost-balancers

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

12 years agoError-check.
Jim Jagielski [Mon, 28 Nov 2011 15:11:03 +0000 (15:11 +0000)]
Error-check.

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

12 years agofix typo
Hiroaki Kawai [Mon, 28 Nov 2011 05:14:52 +0000 (05:14 +0000)]
fix typo

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

12 years agofix typo.
Hiroaki Kawai [Mon, 28 Nov 2011 00:38:12 +0000 (00:38 +0000)]
fix typo.
Submitted by: OKANO Takayoshi <kano@na.rim.or.jp>

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

12 years ago- Add some error handling for writing to the output filter chain.
Stefan Fritsch [Sun, 27 Nov 2011 21:37:49 +0000 (21:37 +0000)]
- Add some error handling for writing to the output filter chain.
- Add some ap_assert()s for error cases that probably should not happen (and
  the following code would break).
  These fix some compiler warnings about "variable 'rv' set but not used".
- Prevent a leak of a bucket in one error case.

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

12 years agoFix some warn_unused_result compiler warnings by checking the return code of
Stefan Fritsch [Sun, 27 Nov 2011 20:26:49 +0000 (20:26 +0000)]
Fix some warn_unused_result compiler warnings by checking the return code of
chown and logging an error if the error was not ENOENT.

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

12 years agothx sf
Jim Jagielski [Sun, 27 Nov 2011 18:02:33 +0000 (18:02 +0000)]
thx sf

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

12 years agomention IndexIgnore limitation in DirectoryMatch and friends as currently
Eric Covener [Sun, 27 Nov 2011 08:18:10 +0000 (08:18 +0000)]
mention IndexIgnore limitation in DirectoryMatch and friends as currently
documented only in bugzilla (PR51471)

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

12 years agoremove punctuation from example
Eric Covener [Sun, 27 Nov 2011 08:13:16 +0000 (08:13 +0000)]
remove punctuation from example

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

12 years agoReplace unusable/fringe absolute path example for AddDescription and list
Eric Covener [Sun, 27 Nov 2011 08:12:02 +0000 (08:12 +0000)]
Replace unusable/fringe absolute path example for AddDescription and list
some weird AddDescription semantics related to directories.

-This line, and those below, will be ignored--

M    mod_autoindex.xml

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

12 years agoReplace a missed version of remote_addr with the new peer_addr.
Graham Leggett [Sat, 26 Nov 2011 20:55:29 +0000 (20:55 +0000)]
Replace a missed version of remote_addr with the new peer_addr.

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

12 years agoUpdates.
Lucien Gentis [Sat, 26 Nov 2011 16:11:36 +0000 (16:11 +0000)]
Updates.

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

12 years agoRemove unused variables.
Graham Leggett [Fri, 25 Nov 2011 21:43:08 +0000 (21:43 +0000)]
Remove unused variables.

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

12 years agoRemove unused variable.
Graham Leggett [Fri, 25 Nov 2011 21:18:25 +0000 (21:18 +0000)]
Remove unused variable.

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

12 years agoIntroduce a per connection "peer_ip" and a per request "client_ip" to
Graham Leggett [Fri, 25 Nov 2011 19:42:04 +0000 (19:42 +0000)]
Introduce a per connection "peer_ip" and a per request "client_ip" to
distinguish between the raw IP address of the connection and the effective
IP address of the request.

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

12 years agoMove useful and shared balancer stuff to the shm slot...
Jim Jagielski [Fri, 25 Nov 2011 19:28:14 +0000 (19:28 +0000)]
Move useful and shared balancer stuff to the shm slot...
Provide hooks for post-config/runtime addition of
balancers.

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

12 years agoAllow compile time changes of field sizes and be more
Jim Jagielski [Fri, 25 Nov 2011 17:32:03 +0000 (17:32 +0000)]
Allow compile time changes of field sizes and be more
"clear" regarding the diff between balancer and worker slots...

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

12 years agoComment reason for NULL parameter
Jim Jagielski [Fri, 25 Nov 2011 13:30:44 +0000 (13:30 +0000)]
Comment reason for NULL parameter

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

12 years agoUse varargs...
Jim Jagielski [Thu, 24 Nov 2011 15:53:16 +0000 (15:53 +0000)]
Use varargs...

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

12 years agoupdate xforms
Igor Galić [Thu, 24 Nov 2011 15:40:53 +0000 (15:40 +0000)]
update xforms

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

12 years agoPr#52239: clarify Event MPM's behaviour with strictly
Igor Galić [Thu, 24 Nov 2011 15:34:19 +0000 (15:34 +0000)]
Pr#52239: clarify Event MPM's behaviour with strictly
synchronous libraries.

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

12 years agodocument userland change
Jim Jagielski [Thu, 24 Nov 2011 14:38:34 +0000 (14:38 +0000)]
document userland change

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

12 years agoadd util.regex.c to MPM, had been unneeded untill r1200055
Gregg Lewis Smith [Wed, 23 Nov 2011 20:33:25 +0000 (20:33 +0000)]
add util.regex.c to MPM, had been unneeded untill r1200055

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

12 years agofix comment
Stefan Fritsch [Wed, 23 Nov 2011 20:24:49 +0000 (20:24 +0000)]
fix comment

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

12 years agomod_ratelimit has an output filter, not a handler. Also took a quick
Eric Covener [Wed, 23 Nov 2011 20:09:24 +0000 (20:09 +0000)]
mod_ratelimit has an output filter, not a handler.  Also took a quick
pass through the other text.

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

12 years agoupdate xforms
Stefan Fritsch [Wed, 23 Nov 2011 19:55:24 +0000 (19:55 +0000)]
update xforms

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

12 years agoThe expression parser is not only a developer change.
Stefan Fritsch [Wed, 23 Nov 2011 19:52:29 +0000 (19:52 +0000)]
The expression parser is not only a developer change.
Mention reduced memory usage.

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

12 years agoMake it more explicit that mod_lua may change in 2.4.x
Stefan Fritsch [Wed, 23 Nov 2011 19:40:21 +0000 (19:40 +0000)]
Make it more explicit that mod_lua may change in 2.4.x

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

12 years agospecify limited context list for ModemStandard
Eric Covener [Wed, 23 Nov 2011 16:03:42 +0000 (16:03 +0000)]
specify limited context list for ModemStandard

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

12 years agoUse ap_pass_brigade_fchk()
Jim Jagielski [Wed, 23 Nov 2011 15:01:42 +0000 (15:01 +0000)]
Use ap_pass_brigade_fchk()

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

12 years agoAdd ap_pass_brigade_fchk() which does a Filter CHecK on the
Jim Jagielski [Wed, 23 Nov 2011 14:52:43 +0000 (14:52 +0000)]
Add ap_pass_brigade_fchk() which does a Filter CHecK on the
brigade pass.

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

12 years agorebuild markup
Igor Galić [Wed, 23 Nov 2011 12:25:00 +0000 (12:25 +0000)]
rebuild markup

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

12 years agomod_session: document overrides.
Igor Galić [Wed, 23 Nov 2011 12:21:23 +0000 (12:21 +0000)]
mod_session: document overrides.

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

12 years agomod_negotiation: don't return non-AP_FILTER_ERROR filter return values
Eric Covener [Wed, 23 Nov 2011 03:36:22 +0000 (03:36 +0000)]
mod_negotiation: don't return non-AP_FILTER_ERROR filter return values
to ap_run_handler() when sending a body directly from a type-map.

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

12 years agoUpdate the documentation for the %a and %{c}a logging format strings, and
Graham Leggett [Tue, 22 Nov 2011 16:50:00 +0000 (16:50 +0000)]
Update the documentation for the %a and %{c}a logging format strings, and
update the mod-remoteip documentation in line with the new API.

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

12 years agoAlign the format variable for the raw IP between the error_log and the
Graham Leggett [Tue, 22 Nov 2011 16:16:51 +0000 (16:16 +0000)]
Align the format variable for the raw IP between the error_log and the
access_log.

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

12 years agoHello. Let's compile again.
Jim Jagielski [Tue, 22 Nov 2011 14:02:25 +0000 (14:02 +0000)]
Hello. Let's compile again.

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

12 years agoAdd the ability to access the connection level remote IP address from the
Graham Leggett [Tue, 22 Nov 2011 13:40:58 +0000 (13:40 +0000)]
Add the ability to access the connection level remote IP address from the
expression parser.

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

12 years agoIntroduce a per request version of the remote IP address, which can be
Graham Leggett [Tue, 22 Nov 2011 13:10:39 +0000 (13:10 +0000)]
Introduce a per request version of the remote IP address, which can be
optionally modified by a module when the effective IP of the client
is not the same as the real IP of the client (such as a load balancer).

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

12 years agoPartial cleanup of trunk STATUS.
Rainer Jung [Tue, 22 Nov 2011 11:28:30 +0000 (11:28 +0000)]
Partial cleanup of trunk STATUS.

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

12 years agoDowngrade some more error messages about broken client behavior to level
Stefan Fritsch [Mon, 21 Nov 2011 18:16:01 +0000 (18:16 +0000)]
Downgrade some more error messages about broken client behavior to level
info.

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

12 years agoPass ap_errorlog_info to error_log hook.
Stefan Fritsch [Mon, 21 Nov 2011 17:36:26 +0000 (17:36 +0000)]
Pass ap_errorlog_info to error_log hook.

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

12 years agomod_cache_disk: Make sure we check return codes on all writes and attempts
Graham Leggett [Mon, 21 Nov 2011 17:06:15 +0000 (17:06 +0000)]
mod_cache_disk: Make sure we check return codes on all writes and attempts
to close, and clean up after ourselves in these cases. PR43589.

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

12 years agoFix logic when to call error_log hook
Stefan Fritsch [Mon, 21 Nov 2011 17:01:10 +0000 (17:01 +0000)]
Fix logic when to call error_log hook

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

12 years agovalue never used: dead assignment
Jim Jagielski [Mon, 21 Nov 2011 15:51:48 +0000 (15:51 +0000)]
value never used: dead assignment

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

12 years agocheck return status
Jim Jagielski [Mon, 21 Nov 2011 15:51:46 +0000 (15:51 +0000)]
check return status

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

12 years agovalue never used: dead assignment
Jim Jagielski [Mon, 21 Nov 2011 15:51:44 +0000 (15:51 +0000)]
value never used: dead assignment

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

12 years agovalue never used : dead assignment
Jim Jagielski [Mon, 21 Nov 2011 15:51:43 +0000 (15:51 +0000)]
value never used : dead assignment

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

12 years agoNever used.
Jim Jagielski [Mon, 21 Nov 2011 15:51:40 +0000 (15:51 +0000)]
Never used.

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

12 years agoroll back pair of recent autoindex changes (1204355:1204306)
Eric Covener [Mon, 21 Nov 2011 05:12:12 +0000 (05:12 +0000)]
roll back pair of recent autoindex changes (1204355:1204306)

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

12 years agoPR51471: IndexIgnore doesn't work in DirectoryMatch.
Eric Covener [Mon, 21 Nov 2011 03:29:12 +0000 (03:29 +0000)]
PR51471: IndexIgnore doesn't work in DirectoryMatch.

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

12 years agoupgrading/compat notes on some unexpected AddDescription behavior
Eric Covener [Mon, 21 Nov 2011 01:38:11 +0000 (01:38 +0000)]
upgrading/compat notes on some unexpected AddDescription behavior

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

12 years agoPR39923: Allow AddDescription to work with absolute filesystem paths,
Eric Covener [Mon, 21 Nov 2011 01:03:15 +0000 (01:03 +0000)]
PR39923: Allow AddDescription to work with absolute filesystem paths,
by not adding "*/" to their prefix (intended for relative paths)

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

12 years agomod_include: The SSIAccessEnable directive existed to ensure the addition
Graham Leggett [Sun, 20 Nov 2011 16:49:38 +0000 (16:49 +0000)]
mod_include: The SSIAccessEnable directive existed to ensure the addition
of the "-A" syntax would not break existing configurations in v2.2. Remove
the directive for v2.4, defaulting the behaviour to enabled.

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

12 years agoFix segfault caused by r1204104 on non-async mpms.
Stefan Fritsch [Sun, 20 Nov 2011 16:41:42 +0000 (16:41 +0000)]
Fix segfault caused by r1204104 on non-async mpms.

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

12 years agoRemove MPM-private stuff from conn_state_t
Stefan Fritsch [Sat, 19 Nov 2011 23:35:46 +0000 (23:35 +0000)]
Remove MPM-private stuff from conn_state_t

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

12 years agomod_cache_disk: Remove the unnecessary intermediate brigade while writing
Graham Leggett [Sat, 19 Nov 2011 22:37:55 +0000 (22:37 +0000)]
mod_cache_disk: Remove the unnecessary intermediate brigade while writing
to disk. Fixes a problem where mod_disk_cache was leaving buckets in the
intermediate brigade and not passing them to out on exit.

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

12 years agoclarify comment
Stefan Fritsch [Sat, 19 Nov 2011 22:06:16 +0000 (22:06 +0000)]
clarify comment
remove broken recursion counting bits

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

12 years agoLimit recursion in ap_expr evaluation to avoid unbounded stack usage
Stefan Fritsch [Sat, 19 Nov 2011 21:58:48 +0000 (21:58 +0000)]
Limit recursion in ap_expr evaluation to avoid unbounded stack usage
* evaluate chains of ||, &&, and string concatenation non-recursively
* limit other types of recursion to 20 levels
* avoid some string copies if concatenating more than 2 strings

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

12 years agoUpdate.
Lucien Gentis [Sat, 19 Nov 2011 14:12:55 +0000 (14:12 +0000)]
Update.

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

12 years agoBuild mod_allowmethods on Windows
Gregg Lewis Smith [Sat, 19 Nov 2011 00:35:17 +0000 (00:35 +0000)]
Build mod_allowmethods on Windows
project file exists

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

12 years agoMore ap_log_rerror() usage and axe some more AJP: prefixes
Stefan Fritsch [Fri, 18 Nov 2011 22:02:27 +0000 (22:02 +0000)]
More ap_log_rerror() usage and axe some more AJP: prefixes

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

12 years agoStyle fixes, no functional change.
Graham Leggett [Fri, 18 Nov 2011 22:00:35 +0000 (22:00 +0000)]
Style fixes, no functional change.

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

12 years agoLog fatal errors at level CRIT, not at some random level from DEBUG to EMERG
Stefan Fritsch [Fri, 18 Nov 2011 21:49:44 +0000 (21:49 +0000)]
Log fatal errors at level CRIT, not at some random level from DEBUG to EMERG

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

12 years agogreat proxy logging cleanup:
Stefan Fritsch [Fri, 18 Nov 2011 21:41:09 +0000 (21:41 +0000)]
great proxy logging cleanup:

  * remove "proxy:", "FCGI", etc. prefixes and pid which are now
    included in the error log format

  * propagate frontend request's logconfig to backend request

  * use ap_log_rerror where possible

  * remove obsolete APLOG_NOERRNO

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

12 years agofollow up to r1202257 -- perform normal wakeup processing when
Jeff Trawick [Fri, 18 Nov 2011 21:39:33 +0000 (21:39 +0000)]
follow up to r1202257 -- perform normal wakeup processing when
APR_EINTR is seen from apr_pollset_poll(), with expectation that
it was triggered by apr_pollset_wakeup()

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

12 years ago* Actually change the defines and not only the comment.
Ruediger Pluem [Fri, 18 Nov 2011 19:12:31 +0000 (19:12 +0000)]
* Actually change the defines and not only the comment.

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

12 years agoupdate transformations
Kaspar Brand [Fri, 18 Nov 2011 17:37:36 +0000 (17:37 +0000)]
update transformations

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

12 years agoChange the SSLCipherSuite default to a shorter, whitelist
Kaspar Brand [Fri, 18 Nov 2011 17:17:20 +0000 (17:17 +0000)]
Change the SSLCipherSuite default to a shorter, whitelist
oriented definition, and add an example for a speed-optimized
configuration (commented out by default).

In the SSL How-To, streamline the SSLCipherSuite examples where
applicable (explicitly banning EXP and NULL is not needed when
only HIGH is specified).

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

12 years agoUpdates.
Lucien Gentis [Fri, 18 Nov 2011 16:12:05 +0000 (16:12 +0000)]
Updates.

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

12 years agogarbage C's in server-status and extra child processes with async lingering
Greg Ames [Fri, 18 Nov 2011 15:54:18 +0000 (15:54 +0000)]
garbage C's in server-status and extra child processes with async lingering
close support in Event.  these are set by the listener due to a residual
c->sbh for a worker thread no longer associated with the connection.

the associated worker threads are really idle and blocked in
ap_queue_pop_something and will serve new work normally.  but since they
are marked as SERVER_CLOSING rather than SERVER_READY in the scoreboard,
the parent process thinks they are busy and forks extra children.

reproduction recipe: start Event with server-status enabled.  hit
localhost/server-status?refresh=5 and watch the C's trail behind the lone W.

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

12 years agono 2.5 alphas yet, so drop the entries for changes also in
Jeff Trawick [Fri, 18 Nov 2011 13:14:42 +0000 (13:14 +0000)]
no 2.5 alphas yet, so drop the entries for changes also in
2.4.x branch

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

12 years agoadd conn_rec to error log hook
Jeff Trawick [Fri, 18 Nov 2011 13:10:06 +0000 (13:10 +0000)]
add conn_rec to error log hook

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