]> granicus.if.org Git - apache/log
apache
18 years agosvn:eol-style = native
André Malo [Thu, 16 Feb 2006 17:02:29 +0000 (17:02 +0000)]
svn:eol-style = native

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

18 years agoAdd more detail about how to use the new authorization configuration
Bradley Nicholes [Wed, 15 Feb 2006 23:48:29 +0000 (23:48 +0000)]
Add more detail about how to use the new authorization configuration

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

18 years ago- Nitpicking style police: Add space between PR and number of PR
Ruediger Pluem [Wed, 15 Feb 2006 20:29:13 +0000 (20:29 +0000)]
- Nitpicking style police: Add space between PR and number of PR
- Remove myself from credit list of fix for PR 38340, as this patch went
  in unaltered.

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

18 years ago *) mod_proxy: Fix KeepAlives not being allowed and set to
Jim Jagielski [Wed, 15 Feb 2006 16:44:42 +0000 (16:44 +0000)]
  *) mod_proxy: Fix KeepAlives not being allowed and set to
     backend servers. PR38602. [Ruediger Pluem, Jim Jagielski]

Also, document previous patch:
  *) Correctly initialize mod_proxy workers, which use a
     combination of local and shared datasets. Adjust logging
     to better trace usage. PR38403. [Jim Jagielski]

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

18 years agoOK, handle better the initializing of worker, separating
Jim Jagielski [Tue, 14 Feb 2006 17:35:36 +0000 (17:35 +0000)]
OK, handle better the initializing of worker, separating
"shared" and "local" inits, and being aware that if the
shared aspects are initialized, this doesn't mean
the local ones are :)

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

18 years agoI wondered why I never saw the scoreboard init entry; now I know.
Jim Jagielski [Tue, 14 Feb 2006 14:55:02 +0000 (14:55 +0000)]
I wondered why I never saw the scoreboard init entry; now I know.
The logic flow was slightly askew.

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

18 years agoUpdate links
Bradley Nicholes [Tue, 14 Feb 2006 01:10:55 +0000 (01:10 +0000)]
Update links

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

18 years ago* Use the correct pool for apr_table_copy. Otherwise we trigger the bad pool
Ruediger Pluem [Mon, 13 Feb 2006 22:58:03 +0000 (22:58 +0000)]
* Use the correct pool for apr_table_copy. Otherwise we trigger the bad pool
  ancestry abort in apr_table_copy if apr is compiled with APR_POOL_DEBUG.

Noticed by: Joe Orton

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

18 years agoClean up some code in mod_dav.
Garrett Rooney [Mon, 13 Feb 2006 02:34:26 +0000 (02:34 +0000)]
Clean up some code in mod_dav.

Submitted by: Dan Rall <dlr collab.net>

* modules/dav/main/mod_dav.c
  (dav_error_response, dav_error_response_tag): Remove redundant assignment
   of r->status_line which is handled by basic_http_header_check().

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

18 years agoMake the worker and event MPMs support GracefulShutdownTimeout just like
Garrett Rooney [Mon, 13 Feb 2006 02:25:53 +0000 (02:25 +0000)]
Make the worker and event MPMs support GracefulShutdownTimeout just like
the prefork MPM does.

Submitted by: Chris Darroch <chrisd pearsoncmg.com>
Ported to event MPM by: rooneg
Issue number: 38621

* server/mpm/worker/worker.c
  (ap_mpm_run): Make the graceful shutdown log message refer to the right
   signal, and respect the graceful shutdown timeout if there is one.

* server/mpm/experimental/event/event.c
  (ap_mpm_run): Ditto.

* CHANGES: Note change.

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

18 years ago* Do not close the backend connection, because the client sent a
Ruediger Pluem [Sat, 11 Feb 2006 21:15:12 +0000 (21:15 +0000)]
* Do not close the backend connection, because the client sent a
  Connection: close header.

PR: 38524

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

18 years ago* Do not remove the connection headers from r->headers_in. They are needed
Ruediger Pluem [Sat, 11 Feb 2006 20:57:12 +0000 (20:57 +0000)]
* Do not remove the connection headers from r->headers_in. They are needed
  by the http output filter to create the correct connection response headers.
  Instead work on a copy of r->headers_in.

PR: 38524

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

18 years ago* modules/aaa/config.m4: Place mod_access_compat in the 'yes' list as not
Justin Erenkrantz [Tue, 7 Feb 2006 19:58:48 +0000 (19:58 +0000)]
* modules/aaa/config.m4: Place mod_access_compat in the 'yes' list as not
  handling older auth configs out-of-the-box is badness.

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

18 years ago* modules/aaa/mod_auth.h: Include apr_optional.h for
Joe Orton [Tue, 7 Feb 2006 13:21:45 +0000 (13:21 +0000)]
* modules/aaa/mod_auth.h: Include apr_optional.h for
APR_DECLARE_OPTIONAL_FN definition.

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

18 years ago* modules/aaa/mod_authz_core.c (add_authz_provider): Fix pointer cast
Joe Orton [Tue, 7 Feb 2006 08:53:37 +0000 (08:53 +0000)]
* modules/aaa/mod_authz_core.c (add_authz_provider): Fix pointer cast
warning on LP64 platforms.

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

18 years agofix properties and update transformation
André Malo [Mon, 6 Feb 2006 17:55:59 +0000 (17:55 +0000)]
fix properties and update transformation

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

18 years agofix xml and semantic validity
André Malo [Mon, 6 Feb 2006 17:31:44 +0000 (17:31 +0000)]
fix xml and semantic validity

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

18 years ago* modules/proxy/mod_proxy_balancer.c: Include unistd.h to pick up
Joe Orton [Mon, 6 Feb 2006 16:35:20 +0000 (16:35 +0000)]
* modules/proxy/mod_proxy_balancer.c: Include unistd.h to pick up
getpid() prototype.

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

18 years agoUse absolute links as pointed out by nd and joshua
Nick Kew [Sun, 5 Feb 2006 20:39:42 +0000 (20:39 +0000)]
Use absolute links as pointed out by nd and joshua

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

18 years agoPR#38521 - fix link.
Nick Kew [Sun, 5 Feb 2006 19:30:29 +0000 (19:30 +0000)]
PR#38521 - fix link.

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

18 years ago* sync with 2.2.x CHANGES
Ruediger Pluem [Sat, 4 Feb 2006 21:44:01 +0000 (21:44 +0000)]
* sync with 2.2.x CHANGES

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

18 years ago* Do not overwrite the status of initialized workers and respect the configured
Ruediger Pluem [Sat, 4 Feb 2006 21:25:48 +0000 (21:25 +0000)]
* Do not overwrite the status of initialized workers and respect the configured
  status of uninitilized workers when creating a new child process.

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

18 years ago Sync
William A. Rowe Jr [Sat, 4 Feb 2006 19:09:08 +0000 (19:09 +0000)]
  Sync

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

18 years ago Solaris build proposal; don't fail on missing .h files within
William A. Rowe Jr [Sat, 4 Feb 2006 02:41:02 +0000 (02:41 +0000)]
  Solaris build proposal; don't fail on missing .h files within
  a VPATH build, and don't test trees with -d (simply -f the
  expected files) in case a tree such as srclib/apr is actually
  a symlink rather than a true directory in ./buildconf.

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

18 years agoProject name changed in Bugzilla when we released 2.2
Sander Temme [Thu, 2 Feb 2006 21:28:52 +0000 (21:28 +0000)]
Project name changed in Bugzilla when we released 2.2

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

18 years ago* Update transformation
Ruediger Pluem [Mon, 30 Jan 2006 20:56:20 +0000 (20:56 +0000)]
* Update transformation

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

18 years ago* Remove link to CacheSize as this directive is no longer present.
Ruediger Pluem [Mon, 30 Jan 2006 20:54:00 +0000 (20:54 +0000)]
* Remove link to CacheSize as this directive is no longer present.

PR: 38449
Submitted by: Bjoern Voigt <bjoern cs.tu-berlin.de>

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

18 years agomod_speling: Stop crashing with certain non-file requests.
Jeff Trawick [Mon, 30 Jan 2006 14:54:22 +0000 (14:54 +0000)]
mod_speling: Stop crashing with certain non-file requests.

(r->filename unset)

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

18 years agoThe AuthnProviderAlias directive has been merged into mod_authn_core. mod_authn_alia...
Bradley Nicholes [Sat, 28 Jan 2006 01:00:32 +0000 (01:00 +0000)]
The AuthnProviderAlias directive has been merged into mod_authn_core.  mod_authn_alias is no longer needed.

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

18 years agoDocumentation for mod_authn_alias is no longer needed since the only directive it...
Bradley Nicholes [Sat, 28 Jan 2006 00:43:57 +0000 (00:43 +0000)]
Documentation for mod_authn_alias is no longer needed since the only directive it documented has been merged in to mod_authn_core.

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

18 years agoMove the AuthnProviderAlias documentation into mod_authn_core since that is now where...
Bradley Nicholes [Sat, 28 Jan 2006 00:34:20 +0000 (00:34 +0000)]
Move the AuthnProviderAlias documentation into mod_authn_core since that is now where the directive lives

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

18 years agoIf the proxied response lacks a Server header, then
Jim Jagielski [Fri, 27 Jan 2006 19:55:45 +0000 (19:55 +0000)]
If the proxied response lacks a Server header, then
create one.

PR: 38002 (Bugz)
Submitted: william barker at wilshire com

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

18 years agoFixing up typos
Noirin Plunkett [Wed, 25 Jan 2006 10:06:14 +0000 (10:06 +0000)]
Fixing up typos

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

18 years agoadd Colm's explanation of the cache_info structure from his explaination on dev@
Ian Holsman [Wed, 25 Jan 2006 04:03:31 +0000 (04:03 +0000)]
add Colm's explanation of the cache_info structure from his explaination on dev@
Message-ID: <20060124223004.GA26461@dochas.stdlib.net>

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

18 years agoUse HTMLTable option in the config example so that directory listings will satisfy
Joshua Slive [Tue, 24 Jan 2006 14:44:03 +0000 (14:44 +0000)]
Use HTMLTable option in the config example so that directory listings will satisfy
people concerned about html spec compliance.

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

18 years agoLanguage fixes for mod_rewrite reference manual
Noirin Plunkett [Tue, 24 Jan 2006 10:32:00 +0000 (10:32 +0000)]
Language fixes for mod_rewrite reference manual

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

18 years agoMove DOAP file to site tree.
Erik Abele [Mon, 23 Jan 2006 22:42:17 +0000 (22:42 +0000)]
Move DOAP file to site tree.

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

18 years agoRemove NetWare makefiles that are no longer needed
Bradley Nicholes [Mon, 23 Jan 2006 20:30:55 +0000 (20:30 +0000)]
Remove NetWare makefiles that are no longer needed

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

18 years agoBuild mod_access_compat on NetWare
Bradley Nicholes [Mon, 23 Jan 2006 20:23:42 +0000 (20:23 +0000)]
Build mod_access_compat on NetWare

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

18 years agoUse the correct logging #define
Bradley Nicholes [Mon, 23 Jan 2006 20:22:37 +0000 (20:22 +0000)]
Use the correct logging #define

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

18 years agoAllow,deny stuff added to example
Noirin Plunkett [Mon, 23 Jan 2006 18:50:27 +0000 (18:50 +0000)]
Allow,deny stuff added to example

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

18 years agoMinor language fixes
Noirin Plunkett [Mon, 23 Jan 2006 16:43:16 +0000 (16:43 +0000)]
Minor language fixes

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

18 years ago- add a first pass at a "real" doap file for the httpd project.
David Reid [Sun, 22 Jan 2006 22:17:29 +0000 (22:17 +0000)]
- add a first pass at a "real" doap file for the httpd project.

This needs to be maintained and so we should add details to the
file detailing how to issue a release :-)

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

18 years ago Lineends
William A. Rowe Jr [Sun, 22 Jan 2006 15:39:21 +0000 (15:39 +0000)]
  Lineends

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

18 years ago Lineends, ugh :)
William A. Rowe Jr [Sun, 22 Jan 2006 15:34:49 +0000 (15:34 +0000)]
  Lineends, ugh :)

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

18 years ago* Improve fix for PR38123. This fixes PR38123 and PR37790 (whose fix has been
Ruediger Pluem [Sat, 21 Jan 2006 23:22:23 +0000 (23:22 +0000)]
* Improve fix for PR38123. This fixes PR38123 and PR37790 (whose fix has been
  already backported) by inserting the HTTP_IN filter uncondionally before
  we call ap_send_error_response or ap_die. This ensures that
  ap_discard_request_body called by ap_die and by ap_send_error_response works
  correctly on status codes that do not cause the connection to be dropped and
  in situations where the connection should be kept alive.

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

18 years ago* Fix PR38340 by actual getting the word and thus advancing the message buffer
Ruediger Pluem [Sat, 21 Jan 2006 11:30:41 +0000 (11:30 +0000)]
* Fix PR38340 by actual getting the word and thus advancing the message buffer
  pointer to the next data.

Submitted by: Aleksey Pesternikov <apesternikov yahoo.com>
Reviewed by: Ruediger Pluem

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

18 years agoFix the documentation for the LDAPTrustedMode directive.
Bradley Nicholes [Fri, 20 Jan 2006 17:03:51 +0000 (17:03 +0000)]
Fix the documentation for the LDAPTrustedMode directive.

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

18 years agoSet the LDAP protocol before setting extended LDAP options. [PR38146]
Bradley Nicholes [Fri, 20 Jan 2006 16:53:43 +0000 (16:53 +0000)]
Set the LDAP protocol before setting extended LDAP options. [PR38146]

Submitted by: Aaron Richton <richton nbcs.rutgers.edu>

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

18 years agoPR#38070: When a CGI script emits an explicit "Status:" header,
Nick Kew [Fri, 20 Jan 2006 01:36:44 +0000 (01:36 +0000)]
PR#38070: When a CGI script emits an explicit "Status:" header,
it takes charge, so we shouldn't use ap_meets_conditions.

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

18 years agoremove the unused per-dir-config structure.
Bradley Nicholes [Thu, 19 Jan 2006 16:15:44 +0000 (16:15 +0000)]
remove the unused per-dir-config structure.

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

18 years ago* Fix PR38123 by adding the HTTP_IN filter also in the case of an invalid
Ruediger Pluem [Wed, 18 Jan 2006 16:04:13 +0000 (16:04 +0000)]
* Fix PR38123 by adding the HTTP_IN filter also in the case of an invalid
  expect header.

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

18 years ago* Adjust format of bump comments. No functional change.
Ruediger Pluem [Wed, 18 Jan 2006 10:11:39 +0000 (10:11 +0000)]
* Adjust format of bump comments. No functional change.

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

18 years ago* Do a minor bump as minex and minex_set had been added to cache_server_conf
Ruediger Pluem [Wed, 18 Jan 2006 10:02:22 +0000 (10:02 +0000)]
* Do a minor bump as minex and minex_set had been added to cache_server_conf
  struct.

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

18 years agoRemove the call to ap_note_auth_failure() from the providers. mod_authz_core will...
Bradley Nicholes [Wed, 18 Jan 2006 04:19:04 +0000 (04:19 +0000)]
Remove the call to ap_note_auth_failure() from the providers.  mod_authz_core will make the call if it is necessary.

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

18 years ago* Add a sentence about DDOS.
Ruediger Pluem [Tue, 17 Jan 2006 19:58:19 +0000 (19:58 +0000)]
* Add a sentence about DDOS.
* Mention problems with low Timeouts and long running CGIs.
* Stress out the experimental character of event MPM and that it does not
  work with ssl currently.

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

18 years agoFix typos.
Joshua Slive [Tue, 17 Jan 2006 17:03:03 +0000 (17:03 +0000)]
Fix typos.

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

18 years agoA few small anti-DoS updates including the Limit* directives.
Joshua Slive [Tue, 17 Jan 2006 16:56:01 +0000 (16:56 +0000)]
A few small anti-DoS updates including the Limit* directives.

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

18 years ago* Removed patch again as it clashed with Joshua's on the same topic
Ruediger Pluem [Tue, 17 Jan 2006 16:14:49 +0000 (16:14 +0000)]
* Removed patch again as it clashed with Joshua's on the same topic

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

18 years ago* Add some remarks how to mitigate the risk of DoS attacks by setting
Ruediger Pluem [Tue, 17 Jan 2006 16:08:28 +0000 (16:08 +0000)]
* Add some remarks how to mitigate the risk of DoS attacks by setting
  proper values for the Timeout and Keepalive parameters.

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

18 years agoTake a stab at documenting how we respond to DoS issues.
Joshua Slive [Tue, 17 Jan 2006 16:01:56 +0000 (16:01 +0000)]
Take a stab at documenting how we respond to DoS issues.
Please review!

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

18 years agoNote the changes to Authz
Bradley Nicholes [Tue, 17 Jan 2006 16:00:38 +0000 (16:00 +0000)]
Note the changes to Authz

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

18 years ago* Update transformation
Ruediger Pluem [Tue, 17 Jan 2006 15:14:34 +0000 (15:14 +0000)]
* Update transformation

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

18 years ago* Add CacheMinExpire directive to set the minimum time in seconds to cache a document
Ruediger Pluem [Tue, 17 Jan 2006 15:12:23 +0000 (15:12 +0000)]
* Add CacheMinExpire directive to set the minimum time in seconds to cache a document
  in the case that no valid expire time was supplied with the document.

Submitted by: Brian Akins <brian.akins turner.com>
Reviewed by: Ruediger Pluem

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

18 years agoDocumentation for mod_access_compat (Allow,Deny,Order,Satisfy directives)
Bradley Nicholes [Mon, 16 Jan 2006 19:56:32 +0000 (19:56 +0000)]
Documentation for mod_access_compat (Allow,Deny,Order,Satisfy directives)

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

18 years agoUpdate svn:ignore properties so that generated files from a win32 VC++
Garrett Rooney [Sun, 15 Jan 2006 23:47:19 +0000 (23:47 +0000)]
Update svn:ignore properties so that generated files from a win32 VC++
Express build are ignored.

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

18 years agoFix properties, add missing transformed files and update transformation
André Malo [Sun, 15 Jan 2006 17:57:12 +0000 (17:57 +0000)]
Fix properties, add missing transformed files and update transformation

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

18 years agoAdding updated mod_ssl HOWTO to the website
Noirin Plunkett [Sun, 15 Jan 2006 16:04:23 +0000 (16:04 +0000)]
Adding updated mod_ssl HOWTO to the website
Also committing transforms with new (2006) copyright notice.

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

18 years agoRewrite of the mod_ssl HOWTO - only language changes, no code changes.
Noirin Plunkett [Sun, 15 Jan 2006 14:12:47 +0000 (14:12 +0000)]
Rewrite of the mod_ssl HOWTO - only language changes, no code changes.

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

18 years agoeliminate the import of the ap_satisfies optional function on every request. Just...
Bradley Nicholes [Sun, 15 Jan 2006 00:26:20 +0000 (00:26 +0000)]
eliminate the import of the ap_satisfies optional function on every request.  Just import it once if it exists.

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

18 years agoclean up some left-over debugging code and comments
Bradley Nicholes [Sat, 14 Jan 2006 05:06:39 +0000 (05:06 +0000)]
clean up some left-over debugging code and comments

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

18 years agohost access control compatibility module (Order, Deny, Allow, Satisfy)
Bradley Nicholes [Sat, 14 Jan 2006 00:17:25 +0000 (00:17 +0000)]
host access control compatibility module (Order, Deny, Allow, Satisfy)

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

18 years agoRestore Order, Deny, Allow, Satisfy for backwards compatibility with authz
Bradley Nicholes [Sat, 14 Jan 2006 00:13:22 +0000 (00:13 +0000)]
Restore Order, Deny, Allow, Satisfy for backwards compatibility with authz

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

18 years ago* Sync with 2.2.x STATUS file
Ruediger Pluem [Fri, 13 Jan 2006 22:37:51 +0000 (22:37 +0000)]
* Sync with 2.2.x STATUS file

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

18 years ago Drop redundant dependency, ms studio is quite good at resolving
William A. Rowe Jr [Fri, 13 Jan 2006 01:28:15 +0000 (01:28 +0000)]
  Drop redundant dependency, ms studio is quite good at resolving
  nested dependencies (unless the dependency is consumed by both
  modules.)  See mod_ldap for a similar example.

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

18 years ago Say 'whoops'. When you build the elements explicitly, you must order
William A. Rowe Jr [Fri, 13 Jan 2006 01:17:25 +0000 (01:17 +0000)]
  Say 'whoops'.  When you build the elements explicitly, you must order
  them (win32 has no unresolved symbols linkage).  modules/database/
  is required before modules/aaa/

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

18 years agoMake some error checking more clear by using the defined constants instead
Garrett Rooney [Thu, 12 Jan 2006 22:51:00 +0000 (22:51 +0000)]
Make some error checking more clear by using the defined constants instead
of literal values.

Patch by: Dan Rall <dlr apache.org>

* server/request.c
  (ap_process_request_internal): Check the return value of hook functions
   against the constant OK instead of the magic number 0 to improve clarity.

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

18 years ago An unambigous cast, if limit is <0 it's unlimited.
William A. Rowe Jr [Thu, 12 Jan 2006 19:14:28 +0000 (19:14 +0000)]
  An unambigous cast, if limit is <0 it's unlimited.

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

18 years ago Determined that yes; apr_general.h may be included in .rc files,
William A. Rowe Jr [Thu, 12 Jan 2006 16:11:01 +0000 (16:11 +0000)]
  Determined that yes; apr_general.h may be included in .rc files,
  so eliminate a substitute declaration.

  Correct version and copyright generation, this involves 'long line'
  flavor of the first ASF copyright line;  next step will be no more
  awk generation of .rc files, so there we will use the new macro
  AP_SERVER_COPYRIGHT and defined tokens from this file for versions.

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

18 years agoUpdate the NetWare makefiles to build the authz code
Bradley Nicholes [Wed, 11 Jan 2006 19:26:57 +0000 (19:26 +0000)]
Update the NetWare makefiles to build the authz code

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

18 years ago Correct version numbering for generated .rc files.
William A. Rowe Jr [Wed, 11 Jan 2006 17:34:55 +0000 (17:34 +0000)]
  Correct version numbering for generated .rc files.

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

18 years agoAuthz refactoring
Bradley Nicholes [Wed, 11 Jan 2006 14:30:28 +0000 (14:30 +0000)]
Authz refactoring
Merge from branches/authz-dev

Basically here is a list of what has been done:
- Convert all of the authz modules from hook based to provider based
- Remove the ap_requires field from the core_dir_config structure
- Remove the function ap_requires() since its functionality is no
longer supported or necessary in the refactoring
- Remove the calls to ap_some_auth_required() in the core request
handling to allow the  hooks to be called in all cases.
- Add the new module mod_authz_core which will act as the authorization
provider vector and contain common authz directives such as 'Require',
'Reject' and  '<RequireAlias>'
- Add the new module mod_authn_core which will contain common
authentication directives such as 'AuthType', 'AuthName' and
'<AuthnProviderAlias>'
- Move the check for METHOD_MASK out of the authz providers and into
the authz_core provider vector
- Define the status codes that can be returned by the authz providers
as AUTHZ_DENIED,  AUTHZ_GRANTED and AUTHZ_GENERAL_ERROR
- Remove the 'Satisfy' directive
- Implement the '<RequireAll>', '<RequireOne>' block directives  to
handle the 'and' and 'or' logic for authorization.
- Remove the 'AuthzXXXAuthoritative' directives from all of the authz
providers
- Implement the 'Reject' directive that will deny authorization if the
argument is true
- Fold the 'Reject' directive into the '<RequireAll>', '<RequireOne>'
logic
- Reimplement the host based authorization functionality provided by
'allow', 'deny' and 'order' as authz providers
- Remove the 'allow', 'deny' and 'order' directives
- Merge mod_authn_alias into mod_authn_core
- Add '<RequireAlias>' functionality which is similar to
'<AuthnProviderAlias>' but specific to authorization aliasing
- Remove all of the references to the 'authzxxxAuthoritative'
directives from the documentation
- Remove the 'Satisfy' directive from the documentation
- Remove 'Allow', 'Deny', 'Order' directives from the documentation
- Document '<RequireAll>', '<RequireOne>', 'Reject' directives
- Reimplement the APIs ap_auth_type(), ap_auth_name() as optional
functions and move the  actual implementation into mod_authn_core
- Reimplement the API ap_some_auth_required() as an optional function
and move the  actual implementation into mod_authz_core

Major Changes:
- Added the directives <RequireAll>, <RequireOne>, <RequireAlias>,
Reject
- Expanded the functionality of the directive 'Require' to handle all
authorization and access control
- Added the new authz providers 'env', 'ip', 'host', 'all' to handle
host-based access control
- Removed the directives 'Allow', 'Deny', 'Order', 'Satisfy',
'AuthzXXXAuthoritative'
- Removed the ap_require() API
- Moved the directives 'AuthType', 'AuthName' out of mod_core and into
mod_authn_core
- Moved the directive 'Require' out of mod_core and into
mod_authz_core
- Merged mod_authn_alias into mod_authn_core
- Renamed mod_authz_dbm authz providers from 'group' and 'file-group'
to 'dbm-group' and 'dbm-file-group'

Benefits:
- All authorization and access control is now handle through two
directives, 'Require' and 'Reject'
- Authorization has been expanded to allow for complex 'AND/OR' control
logic through the directives '<RequireAll>' and '<RequireOne>'
- Configuration is now much simpler and consistent across the board
- Other modules like mod_ssl and mod_proxy should be able to plug into
and take advantage of  the same provider based authorization mechanism
by implementing their own providers

Issues:
- Backwards compatibility between 2.2 and 2.3 configurations will be
broken in the area  of authorization and access control due to the fact
that the directives 'allow', 'deny',  'order' and 'satisfy' have been
removed.  When moving from 2.2 to 2.3 these directives  will have to be
changed to 'Require all granted', 'Require all denied' or some variation
 of the authz host-based providers.
- Existing third party authorization modules will have to adapt to the
new structure.

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

18 years ago* Fix PR38017 by handling the selection of the hostname in the same way for
Ruediger Pluem [Tue, 10 Jan 2006 21:34:11 +0000 (21:34 +0000)]
* Fix PR38017 by handling the selection of the hostname in the same way for
  non proxied and reverse proxied requests.

  We need to handle both cases in the same manner as for the reverse proxy
  case we have the following situation:

  If a cached entry is looked up by mod_cache's quick handler r->proxyreq
  is still unset in the reverse proxy case as it only gets set in the
  translate name hook (either by ProxyPass or mod_rewrite) which is run
  after the quick handler hook. This is different to the forward proxy
  case where it gets set before the quick handler is run (in the
  post_read_request hook).
  If a cache entry is created by the CACHE_SAVE filter we always have
  r->proxyreq set correctly.
  So we must ensure that in the reverse proxy case we use the same code
  path and using the canonical name seems to be the right thing to do
  in the reverse proxy case.

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

18 years agoUpdate copyright current year to 2006
Nick Kew [Tue, 10 Jan 2006 04:06:36 +0000 (04:06 +0000)]
Update copyright current year to 2006

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

18 years agosync.
Hiroaki Kawai [Mon, 9 Jan 2006 14:19:23 +0000 (14:19 +0000)]
sync.
English Revision: 349917

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

18 years agosync.
Hiroaki Kawai [Mon, 9 Jan 2006 13:57:16 +0000 (13:57 +0000)]
sync.
English Revision: 350286

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

18 years agosync.
Hiroaki Kawai [Mon, 9 Jan 2006 13:56:53 +0000 (13:56 +0000)]
sync.
English Revision: 333005

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

18 years agoSync.
Hiroaki Kawai [Mon, 9 Jan 2006 10:56:14 +0000 (10:56 +0000)]
Sync.
English Revision: 290816

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

18 years agosymc.
Hiroaki Kawai [Mon, 9 Jan 2006 10:39:00 +0000 (10:39 +0000)]
symc.
English revision: 327999

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

18 years agoExplain how we're checking to see if ap_proxy_backend_broke()
Jim Jagielski [Fri, 6 Jan 2006 20:04:43 +0000 (20:04 +0000)]
Explain how we're checking to see if ap_proxy_backend_broke()
has been called or not.

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

18 years agoClarify (I hope) the comment better :)
Jim Jagielski [Fri, 6 Jan 2006 19:45:36 +0000 (19:45 +0000)]
Clarify (I hope) the comment better :)

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

18 years agoAs long as we have the AP_BUCKET_IS_ERROR macro, let's use it
Jim Jagielski [Fri, 6 Jan 2006 01:02:19 +0000 (01:02 +0000)]
As long as we have the AP_BUCKET_IS_ERROR macro, let's use it

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

18 years agoUpdate status before we run the logging hook
Jim Jagielski [Thu, 5 Jan 2006 23:29:57 +0000 (23:29 +0000)]
Update status before we run the logging hook

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

18 years ago* Call ap_proxy_http_cleanup after ap_log_rerror because it resets
Ruediger Pluem [Thu, 5 Jan 2006 21:02:36 +0000 (21:02 +0000)]
* Call ap_proxy_http_cleanup after ap_log_rerror because it resets
  backend->hostname to NULL.

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

18 years ago* Fix a regression from 2.2.x: Set c->aborted to 1 if the return code from
Ruediger Pluem [Thu, 5 Jan 2006 20:56:43 +0000 (20:56 +0000)]
* Fix a regression from 2.2.x: Set c->aborted to 1 if the return code from
  writing to the client is different from APR_SUCCESS in the blocking case or
  APR_SUCCESS or APR_EAGAIN in the non blocking case.

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

18 years ago* If a subrequest has a broken backend also set no_cache for the main request
Ruediger Pluem [Thu, 5 Jan 2006 13:46:57 +0000 (13:46 +0000)]
* If a subrequest has a broken backend also set no_cache for the main request
  and ensure that the chunk filter does not sent the last chunk marker in this
  case.

  modules/http/chunk_filter.c: Memorize HTTP_BAD_GATEWAY error buckets that
                               had been seen in filter context to ensure
                               that we do not sent the last chunk marker in
                               this case.
  modules/proxy/proxy_util.c : Set no_cache also for main request if we are
                               a subrequest.

  Thanks to Joe Orton and André Malo for the "invented unique pointer" trick.

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

18 years ago* Correctly signal broken backend connections up the chain also for the ajp
Ruediger Pluem [Mon, 2 Jan 2006 16:39:22 +0000 (16:39 +0000)]
* Correctly signal broken backend connections up the chain also for the ajp
  backend (see also r357461). Furthermore move common code in mod_proxy_http.c
  and mod_proxy_ajp.c into a new function (ap_proxy_backend_broke) in
  proxy_util.c.

  modules/proxy/mod_proxy_ajp.c : Signal broken backend connection for ajp backend
  modules/proxy/proxy_util.c    : Add ap_proxy_backend_broke
  modules/proxy/mod_proxy_http.c: - Use ap_proxy_backend_broke
                                  - Return DONE also if backend broke
  modules/proxy/mod_proxy.h     : Add declaration of ap_proxy_backend_broke

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

18 years agoPR#38084
Nick Kew [Sun, 1 Jan 2006 17:51:03 +0000 (17:51 +0000)]
PR#38084
Correct DBDParams string in example
INOUE Seiichiro (who reported the bug) suggests referencing the
pgsql documentation.  I disagree, but I wonder if PgSQL is really
a good choice of example, since it (untypically) parses the params
itself rather than have the apr_dbd driver do it.

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

18 years agoRefactoring of ap_read_request() to store partial request state
Brian Pane [Sat, 31 Dec 2005 23:45:11 +0000 (23:45 +0000)]
Refactoring of ap_read_request() to store partial request state
in the request rec.  The point of this is to allow asynchronous
MPMs do do nonblocking reads of requests.  (Backported from the
async-read-dev branch)

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

18 years agoRemoved the destruction of the bucket allocator prior to
Brian Pane [Sat, 31 Dec 2005 07:16:09 +0000 (07:16 +0000)]
Removed the destruction of the bucket allocator prior to
clearing the transaction pool.  The bucket allocator will
now get destroyed when apr_pool_clear() invokes its cleanup
callback.  With the old logic, memory corruption was possible
if the pool contained any brigades that referenced any
buckets allocated from the bucket allocator.

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