]> granicus.if.org Git - apache/log
apache
16 years agoUpdate mod_include to use ap_expr API
Nick Kew [Sat, 29 Mar 2008 17:18:21 +0000 (17:18 +0000)]
Update mod_include to use ap_expr API

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

16 years agoIntroduce ap_expr expression parser API
Nick Kew [Sat, 29 Mar 2008 17:13:28 +0000 (17:13 +0000)]
Introduce ap_expr expression parser API

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

16 years agoUpdate Timeout section, the semantics changed completely
Joe Orton [Thu, 27 Mar 2008 15:45:34 +0000 (15:45 +0000)]
Update Timeout section, the semantics changed completely
since 1.3 and the caveats on signals not being reset
thankfully no longer apply either.

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

16 years agoRemove useless test.
Jean-Frederic Clere [Thu, 27 Mar 2008 14:44:19 +0000 (14:44 +0000)]
Remove useless test.

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

16 years agonote required APR/httpd versions
Chris Darroch [Wed, 26 Mar 2008 19:47:02 +0000 (19:47 +0000)]
note required APR/httpd versions

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

16 years agoUpdate transformations
Vincent Bray [Wed, 26 Mar 2008 16:44:46 +0000 (16:44 +0000)]
Update transformations

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

16 years agoAdd a caveat about SetEnv running late
Vincent Bray [Wed, 26 Mar 2008 16:42:21 +0000 (16:42 +0000)]
Add a caveat about SetEnv running late

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

16 years agoUpdate transformation.
Chris Darroch [Tue, 25 Mar 2008 19:27:11 +0000 (19:27 +0000)]
Update transformation.

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

16 years agoFix minor typos and capitalizations.
Chris Darroch [Tue, 25 Mar 2008 19:25:42 +0000 (19:25 +0000)]
Fix minor typos and capitalizations.

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

16 years agoAdd AuthzMergeRules to example configuration, and avoid use of
Chris Darroch [Tue, 25 Mar 2008 19:25:02 +0000 (19:25 +0000)]
Add AuthzMergeRules to example configuration, and avoid use of
ISO SQL:1999 Booleans in example SQL.  Revise some introductory text.

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

16 years agoReturn AUTHZ_GRANTED not AUTHZ_DENIED when redirecting after
Chris Darroch [Tue, 25 Mar 2008 18:21:32 +0000 (18:21 +0000)]
Return AUTHZ_GRANTED not AUTHZ_DENIED when redirecting after
successful login/logout.  Use redirection URL from first row returned
by DB query, in the same manner as that used by mod_authn_dbd when
querying for a single record.

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

16 years agooh dear, thanks joe
André Malo [Fri, 21 Mar 2008 23:58:35 +0000 (23:58 +0000)]
oh dear, thanks joe

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

16 years agofixup on .tr extension
André Malo [Fri, 21 Mar 2008 23:36:17 +0000 (23:36 +0000)]
fixup on .tr extension

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

16 years agoupdate transformation
André Malo [Fri, 21 Mar 2008 21:14:11 +0000 (21:14 +0000)]
update transformation

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

16 years agoAdd Turkish translations
André Malo [Fri, 21 Mar 2008 21:09:33 +0000 (21:09 +0000)]
Add Turkish translations

Submitted by: Nilgün Belma Bugüner <nilgun belgeler.org>
Translated by: Nilgün Belma Bugüner <nilgun belgeler.org>
Reviewed by: Orhan Berent <berent belgeler.org>

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

16 years agospelling fix
Eric Covener [Fri, 21 Mar 2008 19:00:16 +0000 (19:00 +0000)]
spelling fix

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

16 years agoPR 43211: Revise mod_authn_dbd and mod_authz_dbd documenation to reflect
Chris Darroch [Fri, 21 Mar 2008 07:49:47 +0000 (07:49 +0000)]
PR 43211: Revise mod_authn_dbd and mod_authz_dbd documenation to reflect
current APR DBD query statement parameter requirements.  Tidy up examples
and links to glossary and external sites.  Update transformation.

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

16 years ago* Initialize hash needed by ap_register_rewrite_mapfunc early enough.
Ruediger Pluem [Thu, 20 Mar 2008 21:26:22 +0000 (21:26 +0000)]
* Initialize hash needed by ap_register_rewrite_mapfunc early enough.

PR: 44641
Submitted by: Daniel Lescohier <daniel.lescohier cnet.com>
Reviewed by: rpluem, niq, wrowe, jim

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

16 years ago*) mod_authn_dbd: Disambiguate and tidy database authentication
Chris Darroch [Thu, 20 Mar 2008 19:21:21 +0000 (19:21 +0000)]
*) mod_authn_dbd: Disambiguate and tidy database authentication
   error messages.  PR 43210, committed in r639079.

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

16 years agoPR #43210: Disambiguate and tidy database authentication error messages.
Chris Darroch [Wed, 19 Mar 2008 23:57:00 +0000 (23:57 +0000)]
PR #43210: Disambiguate and tidy database authentication error messages.
Based on patch from Phil Endecott.

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

16 years agommn bump for chroot (r611483)
Nick Kew [Wed, 19 Mar 2008 20:51:28 +0000 (20:51 +0000)]
mmn bump for chroot (r611483)

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

16 years agoDocument new ChrootDir directive (r611483)
Nick Kew [Wed, 19 Mar 2008 20:46:11 +0000 (20:46 +0000)]
Document new ChrootDir directive (r611483)

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

16 years agodocco sync
Jim Jagielski [Mon, 17 Mar 2008 14:37:35 +0000 (14:37 +0000)]
docco sync

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

16 years agobackported in 637902
Jim Jagielski [Mon, 17 Mar 2008 14:33:28 +0000 (14:33 +0000)]
backported in 637902

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

16 years agoOne typo, one logic error.
Vincent Bray [Sun, 16 Mar 2008 23:08:00 +0000 (23:08 +0000)]
One typo, one logic error.

Submitted by: Lucien Gentis
Reviewed by: noodl

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

16 years agobackported in r637167
Eric Covener [Fri, 14 Mar 2008 17:18:48 +0000 (17:18 +0000)]
backported in r637167

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

16 years agoupdate transformation
André Malo [Thu, 13 Mar 2008 10:04:31 +0000 (10:04 +0000)]
update transformation

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

16 years agofix parentdocument reference
André Malo [Thu, 13 Mar 2008 10:02:35 +0000 (10:02 +0000)]
fix parentdocument reference

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

16 years agoupdate transformation
André Malo [Thu, 13 Mar 2008 09:43:32 +0000 (09:43 +0000)]
update transformation

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

16 years agofix meta reference
André Malo [Thu, 13 Mar 2008 09:41:53 +0000 (09:41 +0000)]
fix meta reference

Submitted by: Takashi Sato <serai lans-tv.com>

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

16 years agobuild bootstrap again
André Malo [Thu, 13 Mar 2008 09:33:13 +0000 (09:33 +0000)]
build bootstrap again

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

16 years agoupdate Turkish language file
André Malo [Thu, 13 Mar 2008 09:32:12 +0000 (09:32 +0000)]
update Turkish language file

Submitted by: Nilgün Belma Bugüner <nilgun belgeler.gen.tr>

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

16 years ago* Do not do Range requests if we use our own conditionals for validating
Ruediger Pluem [Thu, 13 Mar 2008 07:28:40 +0000 (07:28 +0000)]
* Do not do Range requests if we use our own conditionals for validating
  a cache entity: If we get 304 the Range does not matter and otherwise the
  entity changed and we want to have the complete entity.

PR: 44579

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

16 years ago/me broke the encoding, fix it.
André Malo [Wed, 12 Mar 2008 20:44:36 +0000 (20:44 +0000)]
/me broke the encoding, fix it.

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

16 years agoupdate transformation
André Malo [Wed, 12 Mar 2008 20:32:56 +0000 (20:32 +0000)]
update transformation

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

16 years ago* let status texts and letters completely depend on the language
André Malo [Wed, 12 Mar 2008 20:26:01 +0000 (20:26 +0000)]
* let status texts and letters completely depend on the language
* let directive contexts and letters completely depend on the language
* allow embedding the "licensed" footer text
* generate quickreference legend automatically
* fix some japanese documents where statusses where translated by accident

Initially submitted by: Nilgün Belma Bugüner <nilgun belgeler.gen.tr>

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

16 years agoFix a typo in an example.
Joshua Slive [Wed, 12 Mar 2008 17:35:47 +0000 (17:35 +0000)]
Fix a typo in an example.

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

16 years agoRemove linke to deleted rewrite doc.
Joshua Slive [Wed, 12 Mar 2008 17:24:56 +0000 (17:24 +0000)]
Remove linke to deleted rewrite doc.

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

16 years agoMake the RewriteRule docs shorter (!) by referencing the regex docs in the
Joshua Slive [Wed, 12 Mar 2008 16:22:20 +0000 (16:22 +0000)]
Make the RewriteRule docs shorter (!) by referencing the regex docs in the
rewrite intro.

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

16 years ago* Restore the original request headers if the cached resource was stale, as they
Ruediger Pluem [Wed, 12 Mar 2008 16:07:46 +0000 (16:07 +0000)]
* Restore the original request headers if the cached resource was stale, as they
  may be needed by further output filters like the byterange filter to make the
  correct decisions.

PR: 44579

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

16 years agoFlush out the rewrite docs a little. In particular:
Joshua Slive [Wed, 12 Mar 2008 15:42:52 +0000 (15:42 +0000)]
Flush out the rewrite docs a little. In particular:

- rename flags to rewrite_flags for consistency
- note that flags is not comprehensive
- link up flags to the index page
- change the seealso links on the index page to be other useful
  links rather than a repeat of the links elsewhere on the page
- add some meat to the intro doc -- some sections still need more content

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

16 years ago- drop korean rewrite guide as well as it can't be built properly anymore
André Malo [Tue, 11 Mar 2008 23:28:06 +0000 (23:28 +0000)]
- drop korean rewrite guide as well as it can't be built properly anymore
  without the English original
- update transformations

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

16 years agoSome minor fixups on the rewrite guide. Add proper breadcrumb links;
Joshua Slive [Tue, 11 Mar 2008 18:13:08 +0000 (18:13 +0000)]
Some minor fixups on the rewrite guide. Add proper breadcrumb links;
Fix internal links; Flaten the section structure so that all
recipes appear in the top menu.

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

16 years agoRemove old rewriteguide and link to new version.
Joshua Slive [Tue, 11 Mar 2008 17:32:07 +0000 (17:32 +0000)]
Remove old rewriteguide and link to new version.

We've been living with duplicate content here for too long. The new
guide was never finished, but it has some good content.

This orphens a Korean translation. I'm leaving it there for the moment.

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

16 years agoPR 43562.
Jim Jagielski [Tue, 11 Mar 2008 14:39:14 +0000 (14:39 +0000)]
PR 43562.
fix regression in mod_speling behavior from 1.3/2.0
and, basically, incorrect behavior from what is
expected as well as dependency on AcceptPathInfo.

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

16 years agoUpdate transformations
Vincent Bray [Tue, 11 Mar 2008 04:49:04 +0000 (04:49 +0000)]
Update transformations

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

16 years agoCorrect 'require' capitalisation missed in previous commit
Vincent Bray [Tue, 11 Mar 2008 04:46:39 +0000 (04:46 +0000)]
Correct 'require' capitalisation missed in previous commit

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

16 years agoUpdate transformations
Vincent Bray [Sun, 9 Mar 2008 02:33:51 +0000 (02:33 +0000)]
Update transformations

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

16 years agoPet peeve: fix capitalisation of 'Require' directive
Vincent Bray [Sun, 9 Mar 2008 02:31:41 +0000 (02:31 +0000)]
Pet peeve: fix capitalisation of 'Require' directive

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

16 years ago* mod_ldap: Correctly return all requested attribute values
Eric Covener [Fri, 7 Mar 2008 21:02:41 +0000 (21:02 +0000)]
* mod_ldap: Correctly return all requested attribute values
when some attributes have a null value.

PR: 44560
Submitted by: Anders Kaseorg <anders kaseorg.com>
Reviewed by: covener

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

16 years agoNote that reverse proxy means gateway in a few places.
Joshua Slive [Fri, 7 Mar 2008 17:54:13 +0000 (17:54 +0000)]
Note that reverse proxy means gateway in a few places.

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

16 years agoadd language definitions for turkish
André Malo [Fri, 7 Mar 2008 12:49:39 +0000 (12:49 +0000)]
add language definitions for turkish

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

16 years agobuild bootstrap
André Malo [Fri, 7 Mar 2008 11:14:25 +0000 (11:14 +0000)]
build bootstrap

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

16 years agoset eol style
André Malo [Fri, 7 Mar 2008 11:13:11 +0000 (11:13 +0000)]
set eol style

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

16 years agoAdd tr.xml, the base for turkish translations
André Malo [Fri, 7 Mar 2008 11:12:18 +0000 (11:12 +0000)]
Add tr.xml, the base for turkish translations

Translated by: Nilgün Belma Bugüner <nilgun belgeler.org>
Reviewed by: Orhan Berent <berent belgeler.org>

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

16 years agoupdate transformation
André Malo [Fri, 7 Mar 2008 11:07:59 +0000 (11:07 +0000)]
update transformation

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

16 years agoUpdate transformations
Vincent Bray [Thu, 6 Mar 2008 04:23:10 +0000 (04:23 +0000)]
Update transformations

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

16 years agoFix quoting for AuthLDAPUrl examples.
Vincent Bray [Thu, 6 Mar 2008 04:21:06 +0000 (04:21 +0000)]
Fix quoting for AuthLDAPUrl examples.

Submitted by: Per Lundberg (Per.Lundberg bredband.com)

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

16 years agoFix mixed up descriptions of regex tokens.
Vincent Bray [Thu, 6 Mar 2008 04:19:56 +0000 (04:19 +0000)]
Fix mixed up descriptions of regex tokens.

Submitted by: Shawn Ashlee (shawn.ashlee rackspace.com)

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

16 years agoin 2.2
Jim Jagielski [Wed, 5 Mar 2008 15:51:37 +0000 (15:51 +0000)]
in 2.2

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

16 years agobackport r633885
Jim Jagielski [Wed, 5 Mar 2008 15:45:23 +0000 (15:45 +0000)]
backport r633885

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

16 years ago* Add checkfile2 at the end of the struct and not in the middle of the struct.
Ruediger Pluem [Wed, 5 Mar 2008 08:53:16 +0000 (08:53 +0000)]
* Add checkfile2 at the end of the struct and not in the middle of the struct.

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

16 years agoreturn AUTHZ_GRANTED instead of OK from the LDAP nested group checking.
Eric Covener [Tue, 4 Mar 2008 20:20:00 +0000 (20:20 +0000)]
return AUTHZ_GRANTED instead of OK from the LDAP nested group checking.

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

16 years agoCorrect typo in r633607
William A. Rowe Jr [Tue, 4 Mar 2008 20:06:01 +0000 (20:06 +0000)]
Correct typo in r633607

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

16 years agoadd comment from event MPM's fdqueue ap_pop_pool() regarding
Chris Darroch [Tue, 4 Mar 2008 20:03:51 +0000 (20:03 +0000)]
add comment from event MPM's fdqueue ap_pop_pool() regarding
ABA problem and avoidance because only caller is single listener thread

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

16 years agoEnable UAC transition from ApacheMonitor running as a vanilla user without priv
William A. Rowe Jr [Tue, 4 Mar 2008 19:44:22 +0000 (19:44 +0000)]
Enable UAC transition from ApacheMonitor running as a vanilla user without priv
into a copy runas administrator with permissions (closing the original monitor),
in response to any start/stop/restart request who's control permissions failed.
This happens to work on Win2000 and later, although it is actually needed in
Win2008 or Vista and later, where by default under UAC, the admin user actually
has no permissions to control services unless the app is run elevated.

We don't want to do this at start time, and assault the user with auth attempts
at login before they have even asked to use the features of the Monitor.  Once
we've made the transition, we'll leave the new monitor running elevated.  Some
branding with the "security" shield icon is actually recommended by the CUA, but
I'm neglecting this for the moment.

This patch drops the single instance mutex for a search of existing windows of
our window's class & title, which is localized to the current session and just fine
for the purpose of restricting multiple invocations.

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

16 years agoSession cache interface redesign, Part 7:
Joe Orton [Tue, 4 Mar 2008 16:14:10 +0000 (16:14 +0000)]
Session cache interface redesign, Part 7:

Clean up provider interface, removing use of mod_ssl-specific types:

* modules/ssl/ssl_private.h (modssl_sesscache_provider): Replace BOOL
  with apr_status_t, UCHAR with unsigned char; use 'unsigned int' for
  idlen; constify id arguments; remove pool argument from ->status.

* modules/ssl/ssl_scache_dc.c, modules/ssl/ssl_scache_memcache,
  modules/ssl/ssl_scache_shmcb.c, modules/ssl_scache_dbm.c: Update
  accordingly.

* modules/ssl/ssl_scache.c (ssl_scache_retrieve, ssl_scache_store):
  Adjust for BOOL->apr_status_t change.
  (ssl_ext_status_hook): Update for dropped pool argument.

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

16 years ago* lfi is already a pointer in contrast fi which was used before.
Ruediger Pluem [Mon, 3 Mar 2008 17:02:19 +0000 (17:02 +0000)]
* lfi is already a pointer in contrast fi which was used before.

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

16 years agocore: fix SymlinksIfOwnerMatch checking:
Nick Kew [Mon, 3 Mar 2008 06:13:59 +0000 (06:13 +0000)]
core: fix SymlinksIfOwnerMatch checking:
  (1) Fix Origin checking (PR 36783 - Robert L Mathews)
  (2) Check ownership if both FollowSymlinks and SymlinksIfOwnerMatch are set

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

16 years agoA large refactoring, but no behavior change;
William A. Rowe Jr [Sun, 2 Mar 2008 23:57:11 +0000 (23:57 +0000)]
A large refactoring, but no behavior change;

replace all relevant ascii strxxx fn's with _tcsxxx macros and encode relevant text
with the _T() macro wrapper, permitting /D UNICODE builds in place of /D _MCBS
builds in use today.  This allows for internationalized unicode service names and
textual modification.  Since this is win32 only, using APR style utf-8-ization is silly.

Because today this module simply isn't loadable on Win95-ME, nobody has actually
complained, and we really have no desire to support such a dangerous OS in the
wild of the internet, the unicode build should become the default.

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

16 years ago* If the cached entity contained Cache-Control: no-cache, treat it as stale
Ruediger Pluem [Sun, 2 Mar 2008 12:35:33 +0000 (12:35 +0000)]
* If the cached entity contained Cache-Control: no-cache, treat it as stale
  causing revalidation.

PR: 44511

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

16 years agomod_rewrite: Check all files used by DBM maps for freshness, mod_rewrite
Niklas Edmundsson [Sun, 2 Mar 2008 09:58:56 +0000 (09:58 +0000)]
mod_rewrite: Check all files used by DBM maps for freshness, mod_rewrite
didn't pick up on updated sdbm maps due to this.
PR41190 [Niklas Edmundsson]

NOTE: Only tested on httpd-2.2.8.

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

16 years agoTransformations.
Erik Abele [Sat, 1 Mar 2008 17:46:35 +0000 (17:46 +0000)]
Transformations.

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

16 years agoFix typo in IP address.
Erik Abele [Sat, 1 Mar 2008 17:43:02 +0000 (17:43 +0000)]
Fix typo in IP address.

Submitted privately by: Markus Weber <Weber.Markus akdb.de>

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

16 years agobuildfluff
Vincent Bray [Sat, 1 Mar 2008 08:25:03 +0000 (08:25 +0000)]
buildfluff

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

16 years agolink to the wiki
Vincent Bray [Sat, 1 Mar 2008 08:22:18 +0000 (08:22 +0000)]
link to the wiki

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

16 years agoAdd in new option for rotatelogs: -f
Jim Jagielski [Fri, 29 Feb 2008 15:32:38 +0000 (15:32 +0000)]
Add in new option for rotatelogs: -f
This forces rotatelogs to create the logfile as soon
as started not as soon as it sees it's first line
of input.

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

16 years agoWhen sending a proxy request of the form
Martin Kraemer [Fri, 29 Feb 2008 12:15:56 +0000 (12:15 +0000)]
When sending a proxy request of the form
  GET http://[3ffe:1:1001:3000:230:5ff:fe05:3c3c]/server-status HTTP/1.0
through the httpd-2.x mod_proxy.c code, while a directive
  ProxyDomain .my.dom.ain
is in effect, the request is redirected to
  Location: http://[3ffe:1:1001:3000:230:5ff:fe05:3c3c.my.dom.ain]/server-status

The patch fixes this bug, by testing whether the hostname part of the
unparsed_uri contains colon characters (which is the case only for
IPv6 literals).

This patch is also a candidate for httpd-2.0 and httpd-2.2

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

16 years ago* Do not retry a direct connection if the request has a request body
Ruediger Pluem [Wed, 27 Feb 2008 21:35:39 +0000 (21:35 +0000)]
* Do not retry a direct connection if the request has a request body

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

16 years ago* Do not segfault when either no mutex is needed either because no session
Ruediger Pluem [Wed, 27 Feb 2008 19:55:25 +0000 (19:55 +0000)]
* Do not segfault when either no mutex is needed either because no session
  cache is configured or the session is thread safe.

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

16 years agoAs of r631363, all applied
Jim Jagielski [Tue, 26 Feb 2008 19:54:00 +0000 (19:54 +0000)]
As of r631363, all applied

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

16 years agotweak to include recently added TranslateAllMimeTypes option to this
Eric Covener [Tue, 26 Feb 2008 19:18:35 +0000 (19:18 +0000)]
tweak to include recently added TranslateAllMimeTypes option to this
AP_INIT_ITERATE parameter

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

16 years agoSession cache interface redesign, Part 6:
Joe Orton [Tue, 26 Feb 2008 16:57:56 +0000 (16:57 +0000)]
Session cache interface redesign, Part 6:

Move mutex handling up out of the session cache providers:

* modules/ssl/ssl_private.h (modssl_sesscache_provider): Add name and
  flags fields.  Define MODSSL_SESSCACHE_FLAG_NOTMPSAFE constant.

* modules/ssl/ssl_scache.c (ssl_scache_store, ssl_scache_retrieve,
  ssl_scache_remove, ssl_ext_status_hook): Lock and release the mutex
  around provider calls, if necessary.

* modules/ssl/ssl_engine_mutex.c (ssl_mutex_init): Do nothing if no
  session cache is configured, or the session cache does not require a
  mutex.  Otherwise, fail if no mutex is configured and the session
  cache *does* require a mutex.
  (ssl_mutex_on, ssl_mutex_off): Remove checks for mutex mode;
  functions now invoked only if necessary.

* modules/ssl/ssl_scache_dc.c, modules/ssl/ssl_scache_memcache: Set
  name and flags fields in provider structures.

* modules/ssl/ssl_scache_shmcb.c, modules/ssl_scache_dbm.c: Remove
  mutex handling through; set name and flags fields in provider
  structures; mark both as unsafe for concurrent access in flags.

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

16 years ago* modules/ssl/ssl_scache_memcache.c (mc_session_id2sz): Fix memcache
Joe Orton [Tue, 26 Feb 2008 15:25:51 +0000 (15:25 +0000)]
* modules/ssl/ssl_scache_memcache.c (mc_session_id2sz): Fix memcache
  key id generation by passing the correct length to snprintf (it
  was NUL terminating at the second byte with len=2);

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

16 years ago* modules/ssl/ssl_scache.c (ssl_ext_status_hook): Do nothing
Joe Orton [Tue, 26 Feb 2008 07:56:46 +0000 (07:56 +0000)]
* modules/ssl/ssl_scache.c (ssl_ext_status_hook): Do nothing
  if no provider is configured.

Submitted by: rpluem

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

16 years agoAllow compilation with pre-c99 compilers
Martin Kraemer [Tue, 26 Feb 2008 07:24:40 +0000 (07:24 +0000)]
Allow compilation with pre-c99 compilers

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

16 years agoTypos
Vincent Bray [Tue, 26 Feb 2008 01:23:19 +0000 (01:23 +0000)]
Typos

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

16 years ago* modules/ssl/ssl_scache_dbm.c (ssl_scache_dbm_remove): Use and clear
Joe Orton [Mon, 25 Feb 2008 21:39:13 +0000 (21:39 +0000)]
* modules/ssl/ssl_scache_dbm.c (ssl_scache_dbm_remove): Use and clear
  the temporary pool from the context.  (missed in r630974)

Found by: rpluem

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

16 years agoSession cache interface redesign, Part 5:
Joe Orton [Mon, 25 Feb 2008 21:28:09 +0000 (21:28 +0000)]
Session cache interface redesign, Part 5:

Use the ap_provider interface for session cache storage providers.

* modules/ssl/mod_ssl.c (modssl_register_scache): New function.
  (ssl_register_hooks): Call it.

* modules/ssl/ssl_private.h: Define MODSSL_SESSCACHE_PROVIDER_GROUP
  and MODSSL_SESSCACHE_PROVIDER_VERSION constants.
  Remove ssl_scmode_t type.  Change nSessionCacheMode in
  SSLModConfigRec into a long sesscache_mode, storing the OpenSSL
  SSL_SESS_CACHE_* flags directly.

* modules/ssl/ssl_engine_config.c (ssl_config_global_create): Set
  sesscache_mode to SSL_SESS_CACHE_OFF by default.
  (ssl_cmd_SSLSessionCache): Remove ifdef spaghetti; fetch configured
  session cache by provider name.  Set mc->sesscache_mode for
  configured providers.

* modules/ssl/ssl_engine_init.c (ssl_init_ctx_session_cache): Use the
  configured mode flags directly from mc->sesscache_mode.

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

16 years ago* modules/ssl/ssl_scache_dbm.c (ssl_scache_dbm_create): Fix for
Joe Orton [Mon, 25 Feb 2008 20:59:13 +0000 (20:59 +0000)]
* modules/ssl/ssl_scache_dbm.c (ssl_scache_dbm_create): Fix for
  r630974; create the subpool.

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

16 years agoSession cache interface redesign, Part 4:
Joe Orton [Mon, 25 Feb 2008 20:09:38 +0000 (20:09 +0000)]
Session cache interface redesign, Part 4:

Move provider-specific configuration handling down into the provider
code.  Eliminate all use of SSLModConfigRec within provider code.

* modules/ssl/ssl_private.h (modssl_sesscache_provider): Add 'create'
  function which creates and configures the cache provider, before
  initialisation.  Change 'init' function to take the context pointer
  as an input parameter, and reorder to be first.

* modules/ssl/ssl_scache.c (ssl_scache_init): Adjust accordingly.

* modules/ssl/ssl_scache_memcache.c (struct context): Add servers
  field.
  (ssl_scache_mc_create): New function.
  (ssl_scache_mc_init): Use servers from context not SSLModConfigRec.

* modules/ssl/ssl_scache_dbm.c (struct context): Define.
  (ssl_scache_dbm_create): New function.
  (ssl_scache_dbm_init, ssl_scache_dbm_kill): Adjust to use filename
  and pool from context.
  (ssl_scache_dbm_store, ssl_scache_dbm_retrieve,
  ssl_scache_dbm_status): Use filename from context.  Use context pool
  for temp storage of the DBM object, and clear before use.
  (ssl_scache_dbm_expire): Remove static tLast; use last_expiry from
  context.  Use context pool for temp storage and clear before use.

* modules/ssl/ssl_scache_dc.c (struct context): Add target field.
  (ssl_scache_dc_init, ssl_scache_dc_status): Use target from context.

* modules/ssl/ssl_scache_shmcb.c (struct context): Add data_file,
  shm_size fields.
  (ssl_scache_shmcb_create): New function; moved argument parsing
  logic from ssl_cmd_SSLSessionCache
  (ssl_scache_shmcb_init, ssl_scache_shmcb_status): Use config from
  context.

* modules/ssl/ssl_engine_config.c (ssl_config_global_create): Remove
  handling of old provider-specific fields.
  (ssl_cmd_SSLSessionCache): Call provider ->create function to parse
  the argument and create provider-specific context structure.

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

16 years ago* modules/ssl/ssl_engine_init.c (ssl_init_FindCAList): Cast return
Joe Orton [Mon, 25 Feb 2008 14:18:32 +0000 (14:18 +0000)]
* modules/ssl/ssl_engine_init.c (ssl_init_FindCAList): Cast return
value of sk_X509_NAME_set_cmp_func to void, to avoid warnings with
recent version of OpenSSL.

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

16 years ago* modules/ssl/ssl_scache.c (ssl_scache_init): Reformat
Joe Orton [Mon, 25 Feb 2008 10:56:37 +0000 (10:56 +0000)]
* modules/ssl/ssl_scache.c (ssl_scache_init): Reformat
code and update the comment.   No functional change.

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

16 years ago* modules/ssl/ssl_private.h: Specify extern storage for
Joe Orton [Mon, 25 Feb 2008 10:36:25 +0000 (10:36 +0000)]
* modules/ssl/ssl_private.h: Specify extern storage for
modssl_sesscache_provider objects.

Found by: rpluem

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

16 years ago* modules/ssl/ssl_scache_dbm.c (ssl_scache_dbm_retrieve): Set *destlen
Joe Orton [Mon, 25 Feb 2008 10:06:28 +0000 (10:06 +0000)]
* modules/ssl/ssl_scache_dbm.c (ssl_scache_dbm_retrieve): Set *destlen
  on success.

* modules/ssl/ssl_scache_dc.c (ssl_scache_dc_retrieve): Likewise.

Found by: rpluem

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

16 years ago* modules/ssl/ssl_scache_shmcb.c (shmcb_subcache_retrieve,
Joe Orton [Mon, 25 Feb 2008 10:04:37 +0000 (10:04 +0000)]
* modules/ssl/ssl_scache_shmcb.c (shmcb_subcache_retrieve,
  shmcbc_subcache_remove): Restore check for idx->removed flag.

Found by: rpluem

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

16 years agochanged comments; no functional change.
Guenter Knauf [Sat, 23 Feb 2008 13:52:54 +0000 (13:52 +0000)]
changed comments; no functional change.
Submitted by Kaspar Brand.

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

16 years ago* Add hint to PR in comment. No functional change.
Ruediger Pluem [Fri, 22 Feb 2008 23:05:37 +0000 (23:05 +0000)]
* Add hint to PR in comment. No functional change.

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

16 years ago* Second part of fix for PR 44402:
Ruediger Pluem [Fri, 22 Feb 2008 22:58:42 +0000 (22:58 +0000)]
* Second part of fix for PR 44402:

  - Fix the same race condition in event MPM.
  - Slightly optimize code in worker MPM by removing the need for an additional
    dereference operation.
  - Do some word smithing on the CHANGES entry.

PR: 44402
Submitted by: Basant Kumar Kukreja <basant.kukreja sun.com>
Reviewed by: rpluem

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

16 years agoWorker MPM: fix race condition
Nick Kew [Fri, 22 Feb 2008 22:17:42 +0000 (22:17 +0000)]
Worker MPM: fix race condition
PR44402: reported and fixed by Basant Kumar Kukreja

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