]> granicus.if.org Git - apache/log
apache
15 years agoHere's the simpler solution to the two groups of mappers/ modules...
William A. Rowe Jr [Fri, 8 May 2009 05:46:28 +0000 (05:46 +0000)]
Here's the simpler solution to the two groups of mappers/ modules...

The mod_so and mod_watchdog are truly not mappers/ at all.  Very open
to better names than modules/core/ but these are clearly API's which
are to be consumed by the httpd core, or generically, any module.

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

15 years agoRevert to preceding version.
Lucien Gentis [Thu, 7 May 2009 15:41:05 +0000 (15:41 +0000)]
Revert to preceding version.

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

15 years agoremove unused smutex structure element
Chris Darroch [Wed, 6 May 2009 18:16:22 +0000 (18:16 +0000)]
remove unused smutex structure element

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

15 years agoFix usage message on the Windows platform.
Rainer Jung [Wed, 6 May 2009 16:53:55 +0000 (16:53 +0000)]
Fix usage message on the Windows platform.
- do not include graceful commands and duplicate
  start|restart|stop
- add ServerRoot to the parameters encapsulated by "-n"

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

15 years agoupdate comment
Jim Jagielski [Wed, 6 May 2009 14:32:46 +0000 (14:32 +0000)]
update comment

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

15 years agoMove comment block closer to related function.
Rainer Jung [Wed, 6 May 2009 13:39:31 +0000 (13:39 +0000)]
Move comment block closer to related function.
No functional change.

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

15 years agosimple formatting line-wrap/no functional changes
Jim Jagielski [Wed, 6 May 2009 12:56:04 +0000 (12:56 +0000)]
simple formatting line-wrap/no functional changes

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

15 years agoUse canonical testing
Jim Jagielski [Wed, 6 May 2009 12:54:17 +0000 (12:54 +0000)]
Use canonical testing

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

15 years ago* Fix syntax error
Ruediger Pluem [Wed, 6 May 2009 10:06:06 +0000 (10:06 +0000)]
* Fix syntax error

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

15 years agoReorder so and watchdog to configure before cluster modules
William A. Rowe Jr [Tue, 5 May 2009 22:37:02 +0000 (22:37 +0000)]
Reorder so and watchdog to configure before cluster modules

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

15 years agoEnsure all mpm's configure at config3
William A. Rowe Jr [Tue, 5 May 2009 22:36:31 +0000 (22:36 +0000)]
Ensure all mpm's configure at config3

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

15 years agofix docco
Jim Jagielski [Tue, 5 May 2009 21:49:01 +0000 (21:49 +0000)]
fix docco

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

15 years agooptimize.... rp! :)
Jim Jagielski [Tue, 5 May 2009 19:29:04 +0000 (19:29 +0000)]
optimize.... rp! :)

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

15 years agocomment change, no functional change
Jim Jagielski [Tue, 5 May 2009 18:52:59 +0000 (18:52 +0000)]
comment change, no functional change

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

15 years agoChange the order of mod_proxy and mod_proxy_balancer child_init().
Jean-Frederic Clere [Tue, 5 May 2009 17:15:48 +0000 (17:15 +0000)]
Change the order of mod_proxy and mod_proxy_balancer child_init().
Change the balancer workers area to the address of workers instead copying the workers.
Arrange lbmethod accordingly.
Move the creation of conf->forward worker to mod_proxy child_init().

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

15 years agoExplain empty code block (empty for now, that is) :)
Jim Jagielski [Tue, 5 May 2009 16:55:56 +0000 (16:55 +0000)]
Explain empty code block (empty for now, that is) :)

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

15 years agoxforms!
Jim Jagielski [Tue, 5 May 2009 16:36:12 +0000 (16:36 +0000)]
xforms!

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

15 years agoDocumentation update for mod_privileges changes in r771144/771145.
Nick Kew [Tue, 5 May 2009 14:08:31 +0000 (14:08 +0000)]
Documentation update for mod_privileges changes in r771144/771145.

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

15 years agoMove to an enum, instead of bitmaps... no functional
Jim Jagielski [Tue, 5 May 2009 12:38:15 +0000 (12:38 +0000)]
Move to an enum, instead of bitmaps... no functional
change

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

15 years ago* Silence compiler warning.
Ruediger Pluem [Tue, 5 May 2009 07:43:14 +0000 (07:43 +0000)]
* Silence compiler warning.

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

15 years agoComplete the integration of mod_heartbeat, mod_heartmonitor and the
William A. Rowe Jr [Tue, 5 May 2009 06:47:21 +0000 (06:47 +0000)]
Complete the integration of mod_heartbeat, mod_heartmonitor and the
loadable mod_watchdog, started with 771581.

This clears my list of missing modules as of 6 weeks ago, might be
a few new still to clear up.

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

15 years agoAs mentioned inline in comments, correctly handle more sophisticated
William A. Rowe Jr [Tue, 5 May 2009 06:44:02 +0000 (06:44 +0000)]
As mentioned inline in comments, correctly handle more sophisticated
transformations which currently fail for balancer://foo targets, but
work just fine with other ProxyReverse targets.

  The balancer comparison is a bit trickier.  Given the context

    BalancerMember balancer://alias http://example.com/foo
    ProxyPassReverse /bash balancer://alias/bar

  translate url http://example.com/foo/bar/that to /bash/that

E.g. there may be several different url-suffixes (1st order) of any
particular BalancerMember set e.g. /app1, /app1 and /appbeta while
there may be additional suffixes associated with the actual
ProxyPassReverse directive.  Neither were properly reversed, now
both should be properly handled.

One *critical* assumption;

    BalancerMember balancer://alias/foo http://example.com/bar

should be documented as a meaningless construct, since one cannot
have two members, balancer://alias/foo and balancer://alias/bar,
and the balancer member structures discard this path.

Note one more existing error case as an XXX comment due to invalid
uri comparisons.

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

15 years agoREVERT 771581 modules/proxy/ changes (miscommitted)
William A. Rowe Jr [Tue, 5 May 2009 06:39:03 +0000 (06:39 +0000)]
REVERT 771581 modules/proxy/ changes (miscommitted)

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

15 years agocomplete r771579, refactoring mod_watchdog as loadable on win32
William A. Rowe Jr [Tue, 5 May 2009 06:26:24 +0000 (06:26 +0000)]
complete r771579, refactoring mod_watchdog as loadable on win32

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

15 years agoMPM's are now dynamically loadable; so must mod_watchdog be.
William A. Rowe Jr [Tue, 5 May 2009 06:23:29 +0000 (06:23 +0000)]
MPM's are now dynamically loadable; so must mod_watchdog be.

The only module with an excuse now is mod_so which implements
LoadModule itself.

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

15 years agoAdd balancer module targets
William A. Rowe Jr [Tue, 5 May 2009 04:58:44 +0000 (04:58 +0000)]
Add balancer module targets

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

15 years agoadd creation type parameter per r771286
Chris Darroch [Tue, 5 May 2009 03:31:22 +0000 (03:31 +0000)]
add creation type parameter per r771286
remove lock/unlock structure elements per r771262

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

15 years agosilence warnings
Chris Darroch [Tue, 5 May 2009 03:30:00 +0000 (03:30 +0000)]
silence warnings

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

15 years ago* Remove unused locking functions.
Ruediger Pluem [Mon, 4 May 2009 21:45:50 +0000 (21:45 +0000)]
* Remove unused locking functions.

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

15 years ago* Optimize access to server_rec.
Ruediger Pluem [Mon, 4 May 2009 21:37:09 +0000 (21:37 +0000)]
* Optimize access to server_rec.

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

15 years agoSimple style fix, this message still is nonsensical
William A. Rowe Jr [Mon, 4 May 2009 18:35:40 +0000 (18:35 +0000)]
Simple style fix, this message still is nonsensical

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

15 years agoOne typo.
Lucien Gentis [Mon, 4 May 2009 16:44:23 +0000 (16:44 +0000)]
One typo.

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

15 years agoAdd a parameter for slotmem_create for the persistancy of the slotmem area.
Jean-Frederic Clere [Mon, 4 May 2009 12:22:36 +0000 (12:22 +0000)]
Add a parameter for slotmem_create for the persistancy of the slotmem area.

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

15 years agoFix shared memory permisson problems.
Jean-Frederic Clere [Mon, 4 May 2009 11:58:50 +0000 (11:58 +0000)]
Fix shared memory permisson problems.

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

15 years agoRemove ap_slotmem_lock / ap_slotmem_unlock from the slotmem API.
Jean-Frederic Clere [Mon, 4 May 2009 10:20:42 +0000 (10:20 +0000)]
Remove ap_slotmem_lock / ap_slotmem_unlock from the slotmem API.

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

15 years agoWhoops! cleanup r771144, which had some local/dev stuff left in
Nick Kew [Sun, 3 May 2009 23:04:02 +0000 (23:04 +0000)]
Whoops!  cleanup r771144, which had some local/dev stuff left in

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

15 years agomod_privileges: introduce PrivilegesMode: fast mode as before vs secure
Nick Kew [Sun, 3 May 2009 23:02:35 +0000 (23:02 +0000)]
mod_privileges: introduce PrivilegesMode: fast mode as before vs secure
mode to fork an unprivileged child per-request in the manner of MPM-ITK
anwhere there's a risk of running malicious code.
Documentation to follow.

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

15 years agoOne typo.
Lucien Gentis [Sun, 3 May 2009 15:30:40 +0000 (15:30 +0000)]
One typo.

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

15 years agoSome typos.
Lucien Gentis [Sat, 2 May 2009 16:25:24 +0000 (16:25 +0000)]
Some typos.

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

15 years ago* As proposed by wrowe on list always define SSLStrictSNIVHostCheck, but error
Ruediger Pluem [Sat, 2 May 2009 07:47:59 +0000 (07:47 +0000)]
* As proposed by wrowe on list always define SSLStrictSNIVHostCheck, but error
  out if we are not compiled against an SNI capable OpenSSL.

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

15 years agoAdds clarifying comment to example configuration. (Redirect)
Rich Bowen [Fri, 1 May 2009 01:07:58 +0000 (01:07 +0000)]
Adds clarifying comment to example configuration. (Redirect)

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

15 years agoClarify that the target of a Redirect may be either a full URL including
Rich Bowen [Fri, 1 May 2009 01:03:44 +0000 (01:03 +0000)]
Clarify that the target of a Redirect may be either a full URL including
scheme and hostname, or just a URI path beginning with a slash.

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

15 years agoAdd a reference to LocationMatch in the seealso section.
Rich Bowen [Fri, 1 May 2009 00:40:41 +0000 (00:40 +0000)]
Add a reference to LocationMatch in the seealso section.
Encourage people to use LocationMatch rather than Location ~

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

15 years agoArrange BalancerMember explainations.
Jean-Frederic Clere [Thu, 30 Apr 2009 17:15:33 +0000 (17:15 +0000)]
Arrange BalancerMember explainations.

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

15 years agoPrevent key=value being accepted as url.
Jean-Frederic Clere [Thu, 30 Apr 2009 15:43:34 +0000 (15:43 +0000)]
Prevent key=value being accepted as url.

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

15 years ago* Don't assign pointers to int's. This is a nightmare when changeing
Ruediger Pluem [Wed, 29 Apr 2009 16:29:31 +0000 (16:29 +0000)]
* Don't assign pointers to int's. This is a nightmare when changeing
  between 32 and 64 bit and waiting for an accident to happen.
  Also: It produces compiler warnings (at least 64 bit) :-).

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

15 years ago* Set SSLProxyCheckPeerExpire and SSLProxyCheckPeerCN to on by default.
Ruediger Pluem [Wed, 29 Apr 2009 16:18:21 +0000 (16:18 +0000)]
* Set SSLProxyCheckPeerExpire and SSLProxyCheckPeerCN to on by default.

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

15 years ago* Improve and simplify the implementation of SSLProxyCheckPeerExpire by
Ruediger Pluem [Wed, 29 Apr 2009 16:12:20 +0000 (16:12 +0000)]
* Improve and simplify the implementation of SSLProxyCheckPeerExpire by
  directly using X509_get_notBefore(), X509_get_notAfter() and
  X509_cmp_current_time().
  Thanks to jorton for the pointer.

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

15 years agoAdd Ctrl-Break to docs (trigger restart for
Rainer Jung [Mon, 27 Apr 2009 19:54:25 +0000 (19:54 +0000)]
Add Ctrl-Break to docs (trigger restart for
console use).

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

15 years agoFold in initial template for methods to be able to
Jim Jagielski [Mon, 27 Apr 2009 15:02:40 +0000 (15:02 +0000)]
Fold in initial template for methods to be able to
reset (initialize) and "age" their data, useful when
adding new workers, or when workers come back into
the fold....

Logic and code to come in a bit :)

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

15 years agodon't use literal '100' for HTTP_CONTINUE (searchability)
Jeff Trawick [Mon, 27 Apr 2009 13:04:36 +0000 (13:04 +0000)]
don't use literal '100' for HTTP_CONTINUE (searchability)

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

15 years ago* Add SSLStrictSNIVHostCheck to allow / disallow non SNI clients to connect to
Ruediger Pluem [Sat, 25 Apr 2009 20:15:49 +0000 (20:15 +0000)]
* Add SSLStrictSNIVHostCheck to allow / disallow non SNI clients to connect to
  name based virtual hosts.

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

15 years ago* Fix an error in the documentation.
Ruediger Pluem [Sat, 25 Apr 2009 14:19:26 +0000 (14:19 +0000)]
* Fix an error in the documentation.

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

15 years ago* The state vinfo doesn't matter here: no client verification done at all.
Ruediger Pluem [Sat, 25 Apr 2009 09:28:21 +0000 (09:28 +0000)]
* The state vinfo doesn't matter here: no client verification done at all.

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

15 years ago* r->connection->aborted signals that the client aborted the connection, but
Ruediger Pluem [Sat, 25 Apr 2009 09:25:24 +0000 (09:25 +0000)]
* r->connection->aborted signals that the client aborted the connection, but
  in this case *we* decide to close the connection so use
  r->connection->keepalive = AP_CONN_CLOSE

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

15 years ago* Add partial support for name based virtual hosting for non SNI clients.
Ruediger Pluem [Sat, 25 Apr 2009 09:16:48 +0000 (09:16 +0000)]
* Add partial support for name based virtual hosting for non SNI clients.

Submitted by: Kaspar Brand <httpd-dev.2009 velox.ch>

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

15 years agofixup properties
André Malo [Thu, 23 Apr 2009 21:54:09 +0000 (21:54 +0000)]
fixup properties

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

15 years agorebuild convmap
André Malo [Thu, 23 Apr 2009 21:40:32 +0000 (21:40 +0000)]
rebuild convmap

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

15 years agoPass the $@ array and not the flattened version of it in non-SysV mode:
Eric Covener [Thu, 23 Apr 2009 17:45:41 +0000 (17:45 +0000)]
Pass the $@ array and not the flattened version of it in non-SysV mode:

$ bash -x bin/apachectl -t -c "foo bar"
before: +bin/httpd -t -c foo bar
after:  +bin/httpd -t -c 'foo bar'

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

15 years agoupdate transformation
Nilgun Belma Buguner [Thu, 23 Apr 2009 08:05:05 +0000 (08:05 +0000)]
update transformation

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

15 years agoupdate for sync with English doc.
Nilgun Belma Buguner [Thu, 23 Apr 2009 08:04:23 +0000 (08:04 +0000)]
update for sync with English doc.

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@767841 13f79535-47bb-0310-9956-ffa450edef68

15 years agoEscape should simply close the dialog; Enter should perform the
William A. Rowe Jr [Thu, 23 Apr 2009 06:48:55 +0000 (06:48 +0000)]
Escape should simply close the dialog; Enter should perform the
appropriate button, or within the list, start and stop.  (also
clear up the transitions between the list focus and nonfocus).

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

15 years agoFix module scope, to avoid this, copy and past from loadable modules, not core
William A. Rowe Jr [Thu, 23 Apr 2009 05:38:45 +0000 (05:38 +0000)]
Fix module scope, to avoid this, copy and past from loadable modules, not core

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

15 years agofix lineends
William A. Rowe Jr [Thu, 23 Apr 2009 05:19:31 +0000 (05:19 +0000)]
fix lineends

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

15 years agofix lineends
William A. Rowe Jr [Thu, 23 Apr 2009 05:17:05 +0000 (05:17 +0000)]
fix lineends

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

15 years agoSeems folks have forgotten to set eol-style, perhaps some modifications
William A. Rowe Jr [Thu, 23 Apr 2009 04:58:00 +0000 (04:58 +0000)]
Seems folks have forgotten to set eol-style, perhaps some modifications
to local subversion.conf files would be a good idea?  *.xml* or *.html*
anyone?

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

15 years agoIntroduce mod_remoteip to trunk from httpd/sandbox/mod_remoteip
William A. Rowe Jr [Thu, 23 Apr 2009 04:19:36 +0000 (04:19 +0000)]
Introduce mod_remoteip to trunk from httpd/sandbox/mod_remoteip

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

15 years agobuild all refresh
William A. Rowe Jr [Thu, 23 Apr 2009 04:09:46 +0000 (04:09 +0000)]
build all refresh

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

15 years agoIntroduce new documentation of mod_remoteip
William A. Rowe Jr [Thu, 23 Apr 2009 04:07:04 +0000 (04:07 +0000)]
Introduce new documentation of mod_remoteip

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

15 years agoUse CVE-2009-1191 for this issue. We would only
Mark J. Cox [Tue, 21 Apr 2009 09:44:43 +0000 (09:44 +0000)]
Use CVE-2009-1191 for this issue.  We would only
share a CVE name where the flaw was due to a
shared code base, and this isn't the case for
the mod_jk CVE-2008-5519 issue.

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

15 years agorework the NameVirtualHost documentation to hopefully be a little
Eric Covener [Tue, 21 Apr 2009 02:13:04 +0000 (02:13 +0000)]
rework the NameVirtualHost documentation to hopefully be a little
less confusing and match the conventional wisdom of the various
support fora.

Provide a longer example that demonstrates the 1:n nature,
relation to IP-based vhosts, and always uses a port.

Avoid phrasing that makes NVH look like Listen.

Remove the over-complicated hints about NVH impact on _default_ and base
server configs, which boils down to the basic ip-based vhost mapping
algorithm.

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

15 years agomod_dbd: add DBDInitSQL command. PR 46827
Nick Kew [Tue, 21 Apr 2009 01:29:15 +0000 (01:29 +0000)]
mod_dbd: add DBDInitSQL command.  PR 46827
Patch by Marko Kevac.

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

15 years agoupdate transformation
André Malo [Mon, 20 Apr 2009 13:03:42 +0000 (13:03 +0000)]
update transformation

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

15 years agoan ID is an ID is an ID
André Malo [Mon, 20 Apr 2009 13:03:03 +0000 (13:03 +0000)]
an ID is an ID is an ID

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

15 years agoupdate convmap
André Malo [Mon, 20 Apr 2009 12:52:54 +0000 (12:52 +0000)]
update convmap

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

15 years agosyncing
Nilgun Belma Buguner [Sun, 19 Apr 2009 14:35:15 +0000 (14:35 +0000)]
syncing

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

15 years agoVersion update.
Lucien Gentis [Sun, 19 Apr 2009 14:13:48 +0000 (14:13 +0000)]
Version update.

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

15 years agoupdate xforms
Vincent Bray [Sat, 18 Apr 2009 14:08:02 +0000 (14:08 +0000)]
update xforms

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

15 years agoGrammar and whitespace cleanup
Vincent Bray [Sat, 18 Apr 2009 14:05:40 +0000 (14:05 +0000)]
Grammar and whitespace cleanup

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

15 years agoMore unregistered media types in common use on the Internet. *sigh*
Roy T. Fielding [Sat, 18 Apr 2009 04:38:32 +0000 (04:38 +0000)]
More unregistered media types in common use on the Internet. *sigh*

http://msdn.microsoft.com/en-us/library/aa338205.aspx
http://technet.microsoft.com/ja-jp/library/cc179224.aspx

http://www.adobe.com/support/config.html
http://www.adobe.com/go/tn_16509http://www.adobe.com/support/documentation/en/air/1_5_1/releasenotes_developers.html#tips
http://livedocs.adobe.com/coldfusion/8/htmldocs/vspider_17.html
http://help.adobe.com/en_US/AdobeMediaPlayer/1.5/CDK/WSb04c7610c343283941c82cdf11cc3cc68f8-8000.html

http://www.idpf.org/specs.htm
http://rivviepop.wordpress.com/2006/01/27/configuring-apache-for-mobile-browsing/

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

15 years agoMove logic to decide if an MPM is supported, and whether the MPM is
Jeff Trawick [Fri, 17 Apr 2009 16:59:48 +0000 (16:59 +0000)]
Move logic to decide if an MPM is supported, and whether the MPM is
threaded, down to the MPM itself.
  (server/mpm/FOO/config.m4, which runs before the actual MPM selection)

server/mpm/config.m4 makes some general platform checks that can be used
for MPM decisions, and contains some functions related to MPMs.

  XXX The check here for whether APR_POLLSET_THREADSAFE is available
      is a rough approximation and needs to be replaced by a run-time
      check.

Replace the limited per-platform hard-coded MPM selection and the
current defaulting to event (whether or not it works) with a selection
based on which MPMs work on the platform, as reported by the MPMs
themselves.
  (config2.m4, which runs after the MPMs record whether they are supported)

  Order of preference:

  WinNT (mingw32 only)
    then Event
      then Worker
        then Prefork

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

15 years ago* Add missing include to fix compiler warnings
Ruediger Pluem [Thu, 16 Apr 2009 20:00:14 +0000 (20:00 +0000)]
* Add missing include to fix compiler warnings

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

15 years agomod_cgid: Improve handling of long AF_UNIX socket names (ScriptSock).
Jeff Trawick [Thu, 16 Apr 2009 19:23:45 +0000 (19:23 +0000)]
mod_cgid: Improve handling of long AF_UNIX socket names (ScriptSock).

Dynamically allocate the AF_UNIX sockaddr based on the required filename size.
For some platforms (e.g., Solaris, OS X, FreeBSD), this allows longer
socket filenames to be used.

When the name is too long, the failure reporting is more consistent and a
socket with truncated pathname is not left stranded.  The user still needs
to use ScriptSock to specify a shorter name.

An extra unlink() failure message may be generated when attempting to clean
up the socket after a daemon initialization error; the message is surpressed
for ENOTENT, but not for ENAMETOOLONG.

PR: 47037

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

15 years agoTwo small typos.
Lucien Gentis [Thu, 16 Apr 2009 15:40:56 +0000 (15:40 +0000)]
Two small typos.

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

15 years agono longer amusing.
Greg Ames [Wed, 15 Apr 2009 18:52:39 +0000 (18:52 +0000)]
no longer amusing.

I'll still pay off if somebody does it legitimately, but I haven't been
to Apachecon in ages so we'll have to work out a different delivery
mechanism.  With the stability of the 2.0.x and 2.2.x releases and
Moore's Law in effect for the last decade, it might be possible...

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

15 years agowrite Ok to tomcat.
Jean-Frederic Clere [Tue, 14 Apr 2009 14:48:34 +0000 (14:48 +0000)]
write Ok to tomcat.

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

15 years agoAdd a logic to use an handler and HTTP.
Jean-Frederic Clere [Tue, 14 Apr 2009 13:01:54 +0000 (13:01 +0000)]
Add a logic to use an handler and HTTP.

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

15 years agoupdate transformation
Nilgun Belma Buguner [Tue, 14 Apr 2009 08:52:41 +0000 (08:52 +0000)]
update transformation

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

15 years agoNew Turkish translation
Nilgun Belma Buguner [Tue, 14 Apr 2009 08:50:15 +0000 (08:50 +0000)]
New Turkish translation

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@764715 13f79535-47bb-0310-9956-ffa450edef68

15 years agoupdate for sync with English doc.
Nilgun Belma Buguner [Tue, 14 Apr 2009 08:49:13 +0000 (08:49 +0000)]
update for sync with English doc.

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@764713 13f79535-47bb-0310-9956-ffa450edef68

15 years ago* Check more strictly that the backend follows the AJP protocol.
Ruediger Pluem [Sat, 11 Apr 2009 19:49:12 +0000 (19:49 +0000)]
* Check more strictly that the backend follows the AJP protocol.

Submitted by: mturk

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

15 years ago* Add CVE number
Ruediger Pluem [Fri, 10 Apr 2009 08:08:41 +0000 (08:08 +0000)]
* Add CVE number

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

15 years ago* Avoid delivering content from a previous request which failed to send a request
Ruediger Pluem [Wed, 8 Apr 2009 21:06:46 +0000 (21:06 +0000)]
* Avoid delivering content from a previous request which failed to send a request
  body by closing the connection to the backend in this case instead of reusing it.

CVE: CVE-2008-5519
PR: 46949
Reviewed by: jim, wrowe

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

15 years agoRemove the C++ style comment and use 1 for keep_running.
Jean-Frederic Clere [Wed, 8 Apr 2009 09:12:32 +0000 (09:12 +0000)]
Remove the C++ style comment and use 1 for keep_running.
(Thanks Rüdiger).

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

15 years agoArrange traces.
Jean-Frederic Clere [Tue, 7 Apr 2009 13:38:01 +0000 (13:38 +0000)]
Arrange traces.

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

15 years agoSet keep_running and clean pool if not.
Jean-Frederic Clere [Tue, 7 Apr 2009 12:10:57 +0000 (12:10 +0000)]
Set keep_running and clean pool if not.

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

15 years agomain() can use ap_run_mpm() directly, so axe the old ap_mpm_run() function
Jeff Trawick [Sun, 5 Apr 2009 17:54:22 +0000 (17:54 +0000)]
main() can use ap_run_mpm() directly, so axe the old ap_mpm_run() function

change the mpm hooks to return OK/DONE instead of 0/1

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

15 years agothe only "retuned" in the entire server was, alas, not meant to be
Jeff Trawick [Fri, 3 Apr 2009 18:22:12 +0000 (18:22 +0000)]
the only "retuned" in the entire server was, alas, not meant to be

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

15 years agoThe remote port information was forgotten from the builtin
Rainer Jung [Thu, 2 Apr 2009 15:49:29 +0000 (15:49 +0000)]
The remote port information was forgotten from the builtin
data of the AJP 13 protocol.  Since the servlet spec allows
to retrieve it via getRemotePort(), we provide the port to
the Tomcat connector as an additional request attribute.
Modern/future Tomcat versions know how to retrieve
the remote port from the attribute AJP_REMOTE_PORT.

See:
https://issues.apache.org/bugzilla/show_bug.cgi?id=41263
http://svn.eu.apache.org/viewvc?view=rev&revision=756926
http://svn.eu.apache.org/viewvc?view=rev&revision=757223

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

15 years agodocument the key API considerations related to the changes for loadable MPMs, and...
Jeff Trawick [Thu, 2 Apr 2009 11:00:14 +0000 (11:00 +0000)]
document the key API considerations related to the changes for loadable MPMs, and give
unbundled modules an MMN to check for

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