]> granicus.if.org Git - apache/log
apache
14 years agoAdds a 'rewrite everything' or 'fallback resource' rule.
Rich Bowen [Sat, 21 Nov 2009 00:07:26 +0000 (00:07 +0000)]
Adds a 'rewrite everything' or 'fallback resource' rule.

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

14 years agofixed NetWare objects output directory naming take 2.
Guenter Knauf [Fri, 20 Nov 2009 10:10:28 +0000 (10:10 +0000)]
fixed NetWare objects output directory naming take 2.

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

14 years agofixed NetWare objects output directory naming.
Guenter Knauf [Fri, 20 Nov 2009 10:06:05 +0000 (10:06 +0000)]
fixed NetWare objects output directory naming.

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

14 years agoactually modify the MMN for the dav_error change, as expected with r882274
Jeff Trawick [Thu, 19 Nov 2009 20:17:59 +0000 (20:17 +0000)]
actually modify the MMN for the dav_error change, as expected with r882274

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

14 years agoRemove errno from dav_error interface. Calls to dav_new_error()
Jeff Trawick [Thu, 19 Nov 2009 20:09:27 +0000 (20:09 +0000)]
Remove errno from dav_error interface.  Calls to dav_new_error()
and dav_new_error_tag() must be adjusted to add an apr_status_t parameter.

Reviewed by: jorton

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

14 years agofix or complain about some invalid errno references
Jeff Trawick [Thu, 19 Nov 2009 20:00:12 +0000 (20:00 +0000)]
fix or complain about some invalid errno references

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

14 years agoFlags patch from Igor Galić. Corrects error in noting what status codes
Rich Bowen [Thu, 19 Nov 2009 15:10:07 +0000 (15:10 +0000)]
Flags patch from Igor Galić. Corrects error in noting what status codes
can be specified.

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

14 years agodoc for AuthLDAPBindAuthoritative
Eric Covener [Wed, 18 Nov 2009 15:55:29 +0000 (15:55 +0000)]
doc for AuthLDAPBindAuthoritative

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

14 years agoAdd AuthLDAPBindAuthoritative to allow other authentication providers a chance
Eric Covener [Wed, 18 Nov 2009 15:49:48 +0000 (15:49 +0000)]
Add AuthLDAPBindAuthoritative to allow other authentication providers a chance
to run when mod_authnz_ldap finds a user but can't verify their password.

Submitted By: Justin Erenkrantz, Joe Schaefer, Tony Stevenson

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

14 years ago* modules/ssl/ssl_engine_kernel.c (ssl_callback_Info): Cast away the
Joe Orton [Tue, 17 Nov 2009 09:54:56 +0000 (09:54 +0000)]
* modules/ssl/ssl_engine_kernel.c (ssl_callback_Info): Cast away the
  constness of SSL * before calling SSL_get_state, to fix warning with
  older OpenSSLs.

Reported by: rpluem

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

14 years agoRemove more refences to rewrite_guide.html
Rich Bowen [Tue, 17 Nov 2009 02:55:19 +0000 (02:55 +0000)]
Remove more refences to rewrite_guide.html

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

14 years agoRemove references to the now-gone rewrite-guide.html
Rich Bowen [Tue, 17 Nov 2009 02:52:53 +0000 (02:52 +0000)]
Remove references to the now-gone rewrite-guide.html

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

14 years agoMoves the last of the rules from the monolithic rewrite_guide into
Rich Bowen [Tue, 17 Nov 2009 02:44:19 +0000 (02:44 +0000)]
Moves the last of the rules from the monolithic rewrite_guide into
topic-specific sub-pages. Still a lot of cleanup and improvement can be
done, but this is a good first step.

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

14 years agoMoving yet another recipe. Almost done with this exercise.
Rich Bowen [Tue, 17 Nov 2009 01:56:34 +0000 (01:56 +0000)]
Moving yet another recipe. Almost done with this exercise.

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

14 years agotweak r823613/PR 47951 change to avoid /usr/sbin/install on
Jeff Trawick [Mon, 16 Nov 2009 21:51:01 +0000 (21:51 +0000)]
tweak r823613/PR 47951 change to avoid /usr/sbin/install on
Solaris

(not compatible with BSD install)

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

15 years agoThis isn't Apache 2.0 any more.
Rich Bowen [Mon, 16 Nov 2009 15:46:18 +0000 (15:46 +0000)]
This isn't Apache 2.0 any more.

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

15 years agoLogging in to bugzilla gives me the bug reporter's details
Nick Kew [Mon, 16 Nov 2009 15:37:12 +0000 (15:37 +0000)]
Logging in to bugzilla gives me the bug reporter's details
to record correctly in CHANGES.

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

15 years agoBuild: fix --with-module to work as documented
Nick Kew [Mon, 16 Nov 2009 15:24:34 +0000 (15:24 +0000)]
Build: fix --with-module to work as documented
PR 43881
Submitted: Gez Saunders
Reviewed: Nick Kew

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

15 years agofix VPATH builds, broken by the support for --enable-mpms-shared
Jeff Trawick [Mon, 16 Nov 2009 14:36:45 +0000 (14:36 +0000)]
fix VPATH builds, broken by the support for --enable-mpms-shared

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

15 years agoNot sure this is actually a useful recipe, but it belongs in the access
Rich Bowen [Mon, 16 Nov 2009 11:17:54 +0000 (11:17 +0000)]
Not sure this is actually a useful recipe, but it belongs in the access
file.

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

15 years agosupport --enable-mpms-shared (without argument) and --disable-mpms-shared
Jeff Trawick [Sun, 15 Nov 2009 14:12:40 +0000 (14:12 +0000)]
support --enable-mpms-shared (without argument) and --disable-mpms-shared

the former builds just the default MPM (or --with-mpm argument)

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

15 years agofix bad doc for an argument to APACHE_MPM_MODULE()
Jeff Trawick [Sun, 15 Nov 2009 13:49:23 +0000 (13:49 +0000)]
fix bad doc for an argument to APACHE_MPM_MODULE()

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

15 years agoUpdate.
Lucien Gentis [Sat, 14 Nov 2009 15:45:21 +0000 (15:45 +0000)]
Update.

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

15 years agoImprove hack to "determine" if APR supports thread-safe pollsets by hiding the
Jeff Trawick [Sat, 14 Nov 2009 13:01:43 +0000 (13:01 +0000)]
Improve hack to "determine" if APR supports thread-safe pollsets by hiding the
presence of kqueue() on Leopard, matching APR's configuration.

Event and Simple no longer report that they are supported on Leopard, resolving
a broken default config file with --enable-mpms-shared=all on that platform.
(Event was loaded by default in httpd.conf, and it failed at startup when it
failed to obtain a thread-safe pollset.)

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

15 years agoRemoves another bogus example. Use <Proxy> blocks instead, and standard
Rich Bowen [Fri, 13 Nov 2009 12:40:58 +0000 (12:40 +0000)]
Removes another bogus example. Use <Proxy> blocks instead, and standard
access control methods. Also, the note about loading mod_rewrite before
mod_proxy isn't actually relevant any more.

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

15 years agoThis is a really cool example, and I don't want to lose it. However, I'm
Rich Bowen [Fri, 13 Nov 2009 12:38:55 +0000 (12:38 +0000)]
This is a really cool example, and I don't want to lose it. However, I'm
reasonably sure that there's easier ways to do this, and I'm not yet
sure that the example given actually works. Need to revisit this soon.

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

15 years agoRemoves an inscrutable recipe - I don't know what problem it's trying to
Rich Bowen [Fri, 13 Nov 2009 12:36:04 +0000 (12:36 +0000)]
Removes an inscrutable recipe - I don't know what problem it's trying to
solve, and the solution appears to be a completely useless use of
RewriteMap to solve a trivial problem that could be better done with
Alias. Am I missing something?

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

15 years agoupdate generated html and metadata
Jeff Trawick [Thu, 12 Nov 2009 23:43:05 +0000 (23:43 +0000)]
update generated html and metadata

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

15 years agoupdate MPM doc to cover new MPM defaults and MPMs as DSO modules
Jeff Trawick [Thu, 12 Nov 2009 23:27:41 +0000 (23:27 +0000)]
update MPM doc to cover new MPM defaults and MPMs as DSO modules

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

15 years agoAdds a couple of seealso's.
Rich Bowen [Thu, 12 Nov 2009 21:56:11 +0000 (21:56 +0000)]
Adds a couple of seealso's.

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

15 years agoCorrects the page title.
Rich Bowen [Thu, 12 Nov 2009 12:35:04 +0000 (12:35 +0000)]
Corrects the page title.

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

15 years agoRemoves a lengthy and unnecessary discussion of the various methods of
Rich Bowen [Thu, 12 Nov 2009 12:30:05 +0000 (12:30 +0000)]
Removes a lengthy and unnecessary discussion of the various methods of
load balancing. Removes a RewriteMap prg load balancing script, and
replaces it with a RewriteMap rnd example of the same, as well as an
admonition to use mod_proxy_balancer instead.

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

15 years agoCorrects links to the reference documentation.
Rich Bowen [Thu, 12 Nov 2009 12:10:26 +0000 (12:10 +0000)]
Corrects links to the reference documentation.

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

15 years agoMove the 'vhost per user' rule, and add commentary.
Rich Bowen [Thu, 12 Nov 2009 12:00:32 +0000 (12:00 +0000)]
Move the 'vhost per user' rule, and add commentary.

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

15 years agofix CHANGES entries: mod_dav_fs -> mod_dav
Stefan Fritsch [Wed, 11 Nov 2009 22:07:16 +0000 (22:07 +0000)]
fix CHANGES entries: mod_dav_fs -> mod_dav

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

15 years ago* Use correct #ifndef's to compile again on openssl 0.9.8 and fix compiler
Ruediger Pluem [Wed, 11 Nov 2009 20:27:10 +0000 (20:27 +0000)]
* Use correct #ifndef's to compile again on openssl 0.9.8 and fix compiler
  warnings.

Noted by: sf

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

15 years agoroll on to 2.3.4-dev
Paul Querna [Wed, 11 Nov 2009 19:34:46 +0000 (19:34 +0000)]
roll on to 2.3.4-dev

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

15 years agoPrepare for 2.3.3 release tag.
Paul Querna [Wed, 11 Nov 2009 19:32:36 +0000 (19:32 +0000)]
Prepare for 2.3.3 release tag.

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

15 years agoWhen moving a file over device boundaries and unlinking the source file fails
Stefan Fritsch [Tue, 10 Nov 2009 22:13:50 +0000 (22:13 +0000)]
When moving a file over device boundaries and unlinking the source file fails
because it does not exist anymore, don't unlink the destination file.

While it is unclear to me how/when this can happen, at least one user
encountered the problem:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=273476

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

15 years agos/cange/change/
Jeff Trawick [Tue, 10 Nov 2009 18:05:12 +0000 (18:05 +0000)]
s/cange/change/

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

15 years agoRevert removal of the key_type byte in the lock key. There is no need to break
Stefan Fritsch [Tue, 10 Nov 2009 16:32:57 +0000 (16:32 +0000)]
Revert removal of the key_type byte in the lock key. There is no need to break
the format on systems without inodes.

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

15 years agofix off by one error
Stefan Fritsch [Tue, 10 Nov 2009 15:29:04 +0000 (15:29 +0000)]
fix off by one error

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

15 years agoFix broken config check for *max timeouts
Stefan Fritsch [Tue, 10 Nov 2009 15:27:02 +0000 (15:27 +0000)]
Fix broken config check for *max timeouts
Fix floating point exception for *minrate == 0

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

15 years agofix e-mail address format
Jeff Trawick [Tue, 10 Nov 2009 11:50:28 +0000 (11:50 +0000)]
fix e-mail address format

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

15 years agoenable support for ECC keys and ECDH ciphers. Tested against
Sander Temme [Tue, 10 Nov 2009 07:55:13 +0000 (07:55 +0000)]
enable support for ECC keys and ECDH ciphers.  Tested against
OpenSSL 1.0.0b3.  [Vipul Gupta vipul.gupta sun.com, Sander Temme]

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

15 years agomod_dav_fs: Include uri when logging a PUT error due to connection abort.
Stefan Fritsch [Mon, 9 Nov 2009 21:32:10 +0000 (21:32 +0000)]
mod_dav_fs: Include uri when logging a PUT error due to connection abort.

PR: 38149

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

15 years agoReturn 409 instead of 500 for a LOCK request if the parent resource does not
Stefan Fritsch [Mon, 9 Nov 2009 21:04:28 +0000 (21:04 +0000)]
Return 409 instead of 500 for a LOCK request if the parent resource does not
exist or is not a collection.

PR: 43465

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

15 years agoThere is a bug report for r834073, therefore add a CHANGES entry.
Stefan Fritsch [Mon, 9 Nov 2009 15:28:59 +0000 (15:28 +0000)]
There is a bug report for r834073, therefore add a CHANGES entry.

Fix litmus warning: According to RFC2518, COPY to non-existant collection
should give 409 CONFLICT.

PR: 39299

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

15 years agoFix compiler warning
Stefan Fritsch [Mon, 9 Nov 2009 14:27:45 +0000 (14:27 +0000)]
Fix compiler warning

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

15 years agoFix litmus warning: According to RFC2518, COPY to non-existant collection
Stefan Fritsch [Mon, 9 Nov 2009 14:10:31 +0000 (14:10 +0000)]
Fix litmus warning: According to RFC2518, COPY to non-existant collection
should give 409 CONFLICT.

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

15 years agoDon't delete the whole file if a PUT with content-range failed.
Stefan Fritsch [Mon, 9 Nov 2009 13:50:21 +0000 (13:50 +0000)]
Don't delete the whole file if a PUT with content-range failed.

PR: 42896

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

15 years agoMake PUT with DAV_MODE_WRITE_TRUNC create a temporary file first and, when the
Stefan Fritsch [Mon, 9 Nov 2009 13:14:07 +0000 (13:14 +0000)]
Make PUT with DAV_MODE_WRITE_TRUNC create a temporary file first and, when the
transfer has been completed successfully, move it over the old file.

Since this would break inode keyed locking, switch to filename keyed locking
exclusively.

PR: 39815
Submitted by: Paul Querna, Stefan Fritsch

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

15 years agoInstead of checking device ids, try rename first and in case of EXDEV,
Stefan Fritsch [Mon, 9 Nov 2009 11:17:01 +0000 (11:17 +0000)]
Instead of checking device ids, try rename first and in case of EXDEV,
fallback to copy.

From rename(2) on Linux: Linux permits a file system to be mounted at multiple
points, but  rename()  does  not  work  across  different  mount points, even
if the same file system is mounted on both.

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

15 years agoAlso remove trailing whitespace in the value
Stefan Fritsch [Mon, 9 Nov 2009 10:43:16 +0000 (10:43 +0000)]
Also remove trailing whitespace in the value

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

15 years agoSimplify code by using apr_strtok
Stefan Fritsch [Mon, 9 Nov 2009 09:59:53 +0000 (09:59 +0000)]
Simplify code by using apr_strtok

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

15 years agoRebuild html from xml typo fixes.
Rich Bowen [Sun, 8 Nov 2009 22:20:37 +0000 (22:20 +0000)]
Rebuild html from xml typo fixes.

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

15 years ago Little typos.
Lucien Gentis [Sun, 8 Nov 2009 13:56:00 +0000 (13:56 +0000)]
 Little typos.

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

15 years agomod_log_config: Make ${cookie}C correctly match whole cookie names
Stefan Fritsch [Sat, 7 Nov 2009 19:19:10 +0000 (19:19 +0000)]
mod_log_config: Make ${cookie}C correctly match whole cookie names
instead of substrings.

PR: 28037
Submitted by: Dan Franklin <dan dan-franklin.com>, Stefan Fritsch

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

15 years agoUpdate.
Lucien Gentis [Sat, 7 Nov 2009 17:45:55 +0000 (17:45 +0000)]
Update.

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

15 years agoTypo correction. Thanks Lucien.
Rich Bowen [Sat, 7 Nov 2009 17:40:28 +0000 (17:40 +0000)]
Typo correction. Thanks Lucien.

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

15 years agoSome additional new feature goodness to be part of 2.4. Please review
Sander Temme [Fri, 6 Nov 2009 23:18:33 +0000 (23:18 +0000)]
Some additional new feature goodness to be part of 2.4.  Please review

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

15 years ago* modules/ssl/ssl_engine_kernel.c (ssl_callback_Info): Add parentheses
Joe Orton [Fri, 6 Nov 2009 22:51:42 +0000 (22:51 +0000)]
* modules/ssl/ssl_engine_kernel.c (ssl_callback_Info): Add parentheses
  around bitwise-and.

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

15 years agoupdate pollset to reflect changed connection state before closing the socket;
Jeff Trawick [Fri, 6 Nov 2009 22:33:37 +0000 (22:33 +0000)]
update pollset to reflect changed connection state before closing the socket;
otherwise the pollset-remove can crash (at least with select-based poll, since
fd is now -1)

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

15 years agoSECURITY: Partial fix for CVE-2009-3555:
Joe Orton [Fri, 6 Nov 2009 22:33:19 +0000 (22:33 +0000)]
SECURITY: Partial fix for CVE-2009-3555:

Reject client-initiated renegotiations; this is sufficient to prevent
the attack for any configuration which does not require renegotiation
due to per-directory/per-location access control configuration.

Configuration with per-directory/per-location access control
requirements (such as "SSLVerifyClient require") are still vulnerable
to CVE-2009-3555 with this patch applied (if using OpenSSL <= 0.9.8k).

* modules/ssl/ssl_private.h (SSLConnRec): Add reneg_state field.
  (ssl_callback_Info): Renamed from ssl_callback_LogTracingState.

* modules/ssl/ssl_engine_init.c (ssl_init_ctx_callbacks): Install
  the (renamed) info callback unconditionally.

* modules/ssl/ssl_engine_io.c (ssl_filter_ctx_t): Add config pointer
  to SSLConnRec.
  (bio_filter_out_write, bio_filter_in_read): Fail with
  APR_ECONNABORTED if the reneg state is set to RENEG_ABORT.

* modules/ssl/ssl_engine_kernel.c (log_tracing_state): Factored out
  of ssl_callback_LogTracingState.
  (ssl_callback_Info): New function.

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

15 years agoRemove mod_unique_id from the default build.
Sander Temme [Fri, 6 Nov 2009 17:20:24 +0000 (17:20 +0000)]
Remove mod_unique_id from the default build.
Reviewed by: sctemme, niq, rpluem

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

15 years agoUpdate.
Lucien Gentis [Fri, 6 Nov 2009 13:42:16 +0000 (13:42 +0000)]
Update.

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

15 years agoTouch file, SVN testing. Eeek =)
Tony Stevenson [Fri, 6 Nov 2009 08:55:20 +0000 (08:55 +0000)]
Touch file, SVN testing.  Eeek  =)

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

15 years agoexpose r->notes to lua
Brian McCallister [Thu, 5 Nov 2009 19:31:27 +0000 (19:31 +0000)]
expose r->notes to lua

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

15 years agoseealso list in all the various docs.
Rich Bowen [Thu, 5 Nov 2009 19:23:09 +0000 (19:23 +0000)]
seealso list in all the various docs.

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

15 years agoLittle typo.
Lucien Gentis [Thu, 5 Nov 2009 17:29:31 +0000 (17:29 +0000)]
Little typo.

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

15 years agoMoves the "canonial URL" example to remapping
Rich Bowen [Thu, 5 Nov 2009 15:43:23 +0000 (15:43 +0000)]
Moves the "canonial URL" example to remapping

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

15 years agoMoves the "dynamically regenerated" rule to advanced.
Rich Bowen [Thu, 5 Nov 2009 02:42:38 +0000 (02:42 +0000)]
Moves the "dynamically regenerated" rule to advanced.

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

15 years agoRemoving a ruleset that not only doesn't have a description, but also
Rich Bowen [Thu, 5 Nov 2009 02:34:59 +0000 (02:34 +0000)]
Removing a ruleset that not only doesn't have a description, but also
can't possibly work, since it contains a fully-qualified URL in the
RewriteRule. Feel free to revert iff you can provide a description and a
functional rule.

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

15 years agoMoves the 'browser-specific' rule into remapping.
Rich Bowen [Thu, 5 Nov 2009 01:55:43 +0000 (01:55 +0000)]
Moves the 'browser-specific' rule into remapping.

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

15 years agoMoves the 'sharding' rule into the 'advanced' doc.
Rich Bowen [Thu, 5 Nov 2009 01:55:25 +0000 (01:55 +0000)]
Moves the 'sharding' rule into the 'advanced' doc.

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

15 years agoI'm actually not terribly thrilled with the notion of an "advanced" doc,
Rich Bowen [Thu, 5 Nov 2009 01:29:29 +0000 (01:29 +0000)]
I'm actually not terribly thrilled with the notion of an "advanced" doc,
because that's such an arbitrary designation, and I'm afraid that it
will become a catch-all. So if someone wants to do this differently, I
certainly won't object.

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

15 years agoRemoving this rule entirely, because it's not meaningful. It relies on
Rich Bowen [Thu, 5 Nov 2009 01:16:47 +0000 (01:16 +0000)]
Removing this rule entirely, because it's not meaningful. It relies on
REMOTE_IDENT. Browsers stopped sending REMOTE_IDENT 15 years ago, and
even when they did, it wasn't trustworthy.

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

15 years ago* modules/ssl/ssl_toolkit_compat.h: Fix compat with older OpenSSL.
Joe Orton [Thu, 5 Nov 2009 00:56:06 +0000 (00:56 +0000)]
* modules/ssl/ssl_toolkit_compat.h: Fix compat with older OpenSSL.

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

15 years agoRelocates another rule.
Rich Bowen [Thu, 5 Nov 2009 00:43:08 +0000 (00:43 +0000)]
Relocates another rule.
Please also note that this rule refers to before and after 1.3b6.
That's embarrassing. It would be great if someone would apply the
relevant changes to the 2.2 and 2.0 docs also.

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

15 years agoRelocates another recipe, and updates it.
Rich Bowen [Thu, 5 Nov 2009 00:12:41 +0000 (00:12 +0000)]
Relocates another recipe, and updates it.

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

15 years ago* server/mpm/simple: Ignore more.
Joe Orton [Wed, 4 Nov 2009 23:59:17 +0000 (23:59 +0000)]
* server/mpm/simple: Ignore more.

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

15 years agoadd an early note about the Pattern in a rewriterule behaving
Eric Covener [Wed, 4 Nov 2009 23:48:52 +0000 (23:48 +0000)]
add an early note about the Pattern in a rewriterule behaving
counterintuitively in per-directory context. (lots of mysterious no-op
rulesets due to ^/ in htaccess)

Tweak QSA text.

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

15 years ago* modules/lua/: s/apr_strnatcmp/strcmp/ - strnat*cmp functions are
Joe Orton [Wed, 4 Nov 2009 23:39:57 +0000 (23:39 +0000)]
* modules/lua/: s/apr_strnatcmp/strcmp/ - strnat*cmp functions are
  for natural order string sorting.

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

15 years agotweak MPM configure to avoid having to grep for MPM names in lists
Jeff Trawick [Wed, 4 Nov 2009 23:35:30 +0000 (23:35 +0000)]
tweak MPM configure to avoid having to grep for MPM names in lists
of MPMs of some type (threaded or share-able or enabled), as suggested
by jorton

rename some MPM-related variables

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

15 years agoallow setting of r->user from lua
Brian McCallister [Wed, 4 Nov 2009 23:28:22 +0000 (23:28 +0000)]
allow setting of r->user from lua

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

15 years agomap r->err_headers_out into lua
Brian McCallister [Wed, 4 Nov 2009 23:22:15 +0000 (23:22 +0000)]
map r->err_headers_out into lua

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

15 years ago* server/mpm/*: Ignore generated files with MPM DSO builds.
Joe Orton [Wed, 4 Nov 2009 23:11:30 +0000 (23:11 +0000)]
* server/mpm/*: Ignore generated files with MPM DSO builds.

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

15 years ago* modules/filters/mod_include.c (handle_printenv): Fix handling of
Joe Orton [Wed, 4 Nov 2009 22:26:23 +0000 (22:26 +0000)]
* modules/filters/mod_include.c (handle_printenv): Fix handling of
  lazy variables, courtesy of LLVM scan-build.

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

15 years agodocument --enable-mpms-shared
Jeff Trawick [Wed, 4 Nov 2009 19:45:10 +0000 (19:45 +0000)]
document --enable-mpms-shared

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

15 years agoShould be a leading slash on that regex. Thanks to Bob Ionescu.
Rich Bowen [Wed, 4 Nov 2009 18:13:15 +0000 (18:13 +0000)]
Should be a leading slash on that regex. Thanks to Bob Ionescu.

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

15 years agoAdd a LoadModule directive for the default MPM to the conf file when building MPMs
Jeff Trawick [Wed, 4 Nov 2009 15:55:10 +0000 (15:55 +0000)]
Add a LoadModule directive for the default MPM to the conf file when building MPMs
as shared modules.

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

15 years agoServerAlias and Listen accumulate, not supercede. The latter of course is n/a to...
Eric Covener [Wed, 4 Nov 2009 14:30:55 +0000 (14:30 +0000)]
ServerAlias and Listen accumulate, not supercede.  The latter of course is n/a to vhosts!

Additional rewording of vhost details.

PR48125

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

15 years agoSplit RewriteCond into two sections, brought TestString section up to date.
Noirin Plunkett [Wed, 4 Nov 2009 00:10:36 +0000 (00:10 +0000)]
Split RewriteCond into two sections, brought TestString section up to date.

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

15 years agorespect the MPM's indication passed on APACHE_MPM_SUPPORTED() of whether
Jeff Trawick [Tue, 3 Nov 2009 23:51:20 +0000 (23:51 +0000)]
respect the MPM's indication passed on APACHE_MPM_SUPPORTED() of whether
or not it can run as a shared library

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

15 years agoadded back HAVE_OCSP define hack for non-configure platforms, but
Guenter Knauf [Tue, 3 Nov 2009 21:43:14 +0000 (21:43 +0000)]
added back HAVE_OCSP define hack for non-configure platforms, but
only use if HAVE_OCSP is not yet defined as suggested by rpluem.

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

15 years agoWe now check for OCSP support in configure, so we can lose an OpenSSL version
Sander Temme [Tue, 3 Nov 2009 18:19:33 +0000 (18:19 +0000)]
We now check for OCSP support in configure, so we can lose an OpenSSL version
number check.  Use a type safe STACK.

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

15 years agoFix remaining doxygen warnings. "make dox" is now clean with doxygen
Daniel Earl Poirier [Tue, 3 Nov 2009 14:59:24 +0000 (14:59 +0000)]
Fix remaining doxygen warnings.  "make dox" is now clean with doxygen
version 1.5.8.

PR: 48093
Submitted by: Brad Hards
Reviewed by: poirier

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

15 years agoChange the configure-based MPM build mechanism to support building
Jeff Trawick [Tue, 3 Nov 2009 14:36:48 +0000 (14:36 +0000)]
Change the configure-based MPM build mechanism to support building
an MPM as a shared shared or dynamic module, primarily using the
APACHE_MPM_MODULE() function.

--enable-mpms-shared now builds/installs the MPMs as dynamic modules.
(But no LoadModule directives are added.)

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

15 years ago--with-mpm and --enable-mpms-shared:
Jeff Trawick [Tue, 3 Nov 2009 14:32:27 +0000 (14:32 +0000)]
--with-mpm and --enable-mpms-shared:
. improve messages
. check for inconsistent settings

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

15 years agoBrind OS/2 MPM up to date with current API.
Brian Havard [Tue, 3 Nov 2009 13:29:31 +0000 (13:29 +0000)]
Brind OS/2 MPM up to date with current API.

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