]> granicus.if.org Git - apache/log
apache
15 years agoTypo correction line 409
Lucien Gentis [Thu, 6 Nov 2008 14:58:17 +0000 (14:58 +0000)]
Typo correction line 409

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

15 years agoA reverse DNS lookup followed by a direct DNS lookup mean "double DNS lookup" instead...
Lucien Gentis [Wed, 5 Nov 2008 16:11:15 +0000 (16:11 +0000)]
A reverse DNS lookup followed by a direct DNS lookup mean "double DNS lookup" instead of "double reverse DNS lookup"

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

15 years agoUpdate in reference to original files modification.
Lucien Gentis [Wed, 5 Nov 2008 15:48:23 +0000 (15:48 +0000)]
Update in reference to original files modification.

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

15 years ago* mod_mem_cache is dead. So remove all hints on it.
Ruediger Pluem [Wed, 5 Nov 2008 14:41:02 +0000 (14:41 +0000)]
* mod_mem_cache is dead. So remove all hints on it.

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

15 years agoEemove the remained English text and fix the XML validation error.
Takashi Sato [Wed, 5 Nov 2008 11:59:18 +0000 (11:59 +0000)]
Eemove the remained English text and fix the XML validation error.

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

15 years agoupdate for sync with English doc.
Nilgun Belma Buguner [Wed, 5 Nov 2008 09:13:34 +0000 (09:13 +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@711537 13f79535-47bb-0310-9956-ffa450edef68

15 years agoRemove mod_mem_cache from documents
Takashi Sato [Wed, 5 Nov 2008 06:49:29 +0000 (06:49 +0000)]
Remove mod_mem_cache from documents
(Sync with r711470)

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

15 years agoSync.
Hiroaki Kawai [Wed, 5 Nov 2008 03:10:16 +0000 (03:10 +0000)]
Sync.

English Revision: 504183
Submitted by kawai,takashi
Reviewed by takashi,kawai

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

15 years agoSync.
Hiroaki Kawai [Wed, 5 Nov 2008 03:02:47 +0000 (03:02 +0000)]
Sync.

English Revision: 689261
Submitted by takashi
Reviewed by kawai

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

15 years agoThe mem_cache is dead, long live disk_cache.
William A. Rowe Jr [Tue, 4 Nov 2008 23:26:14 +0000 (23:26 +0000)]
The mem_cache is dead, long live disk_cache.

Reviewed by: wrowe, sander, fielding, abida, pquerna, jesus, lars

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

15 years agoHoley moley. Marcus Burke noted this in Rich's Nuts/Bolts talk.
Jim Jagielski [Tue, 4 Nov 2008 21:42:17 +0000 (21:42 +0000)]
Holey moley. Marcus Burke noted this in Rich's Nuts/Bolts talk.
How embarassing!

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

15 years ago* We now need mod_unixd for worker, prefork and event as well.
Ruediger Pluem [Tue, 4 Nov 2008 14:59:23 +0000 (14:59 +0000)]
* We now need mod_unixd for worker, prefork and event as well.

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

15 years agoUpdating
Lucien Gentis [Tue, 4 Nov 2008 14:34:47 +0000 (14:34 +0000)]
Updating

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

15 years ago* Instead of unixd_setup_child run the drop_privileges hook to switch the
Ruediger Pluem [Tue, 4 Nov 2008 11:55:25 +0000 (11:55 +0000)]
* Instead of unixd_setup_child run the drop_privileges hook to switch the
  userid / groupid.

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

15 years ago* unixd_setup_child is no longer implemented by unixd.c.
Ruediger Pluem [Tue, 4 Nov 2008 11:36:31 +0000 (11:36 +0000)]
* unixd_setup_child is no longer implemented by unixd.c.

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

15 years ago* Move code to a more conveniant place
Ruediger Pluem [Tue, 4 Nov 2008 11:35:21 +0000 (11:35 +0000)]
* Move code to a more conveniant place

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

15 years agoUpdate a Japanese translation.
Takashi Sato [Tue, 4 Nov 2008 07:06:22 +0000 (07:06 +0000)]
Update a Japanese translation.

Submitted by: kawai
Reviewed by:  takashi

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

15 years agoUpdate a Japanese translation.
Takashi Sato [Tue, 4 Nov 2008 06:56:23 +0000 (06:56 +0000)]
Update a Japanese translation.

Submitted by: kawai
Reviewed by:  takashi

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

15 years agoUpdate Japanese translations.
Takashi Sato [Tue, 4 Nov 2008 03:46:54 +0000 (03:46 +0000)]
Update Japanese translations.

Submitted by: kawai
Reviewed by:  takashi

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

15 years agoFurther unixd hacks to remove duplication between old-unixd and mod_unixd,
Nick Kew [Tue, 4 Nov 2008 00:44:56 +0000 (00:44 +0000)]
Further unixd hacks to remove duplication between old-unixd and mod_unixd,
and get it working with old MPMS[1] + mod_unixd.  It's still an uneasy
split, as some modules (mod_cgid, suexec)[2] also use unixd.
More thinking+hacking due.

[1] Should be prefork/worker/event, but only worker is tested.
[2] cgid is OK, suexec is untested.

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

15 years agoUmmm why bother setting vars if we are bailing?
Jim Jagielski [Mon, 3 Nov 2008 23:19:54 +0000 (23:19 +0000)]
Ummm why bother setting vars if we are bailing?

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

15 years agoTrivial fix - insert missing space.
Rich Bowen [Mon, 3 Nov 2008 20:43:43 +0000 (20:43 +0000)]
Trivial fix - insert missing space.

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

15 years agoMake sure that the sys_privileges_handlers is set for the NetWare platform
Bradley Nicholes [Mon, 3 Nov 2008 19:38:01 +0000 (19:38 +0000)]
Make sure that the sys_privileges_handlers is set for the NetWare platform

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

15 years agoRemove the ap_session_get, ap_session_set export references for the NetWare build
Bradley Nicholes [Mon, 3 Nov 2008 19:36:47 +0000 (19:36 +0000)]
Remove the ap_session_get, ap_session_set export references for the NetWare build

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

15 years agoMake sure we clear out previous things we were listening for.
Paul Querna [Mon, 3 Nov 2008 17:41:00 +0000 (17:41 +0000)]
Make sure we clear out previous things we were listening for.

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

15 years agoMove security check to post_config, ćos pre-config hooks don´t
Nick Kew [Mon, 3 Nov 2008 17:24:56 +0000 (17:24 +0000)]
Move security check to post_config, ćos pre-config hooks don´t
run in expected order.

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

15 years agoWrap the global count of privileges handlers operating. Silence grumblers.
Nick Kew [Mon, 3 Nov 2008 11:37:03 +0000 (11:37 +0000)]
Wrap the global count of privileges handlers operating.  Silence grumblers.

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

15 years agoBump trunk to require apr-util >=1.3.x, since we already require apr >=1.3.x.
Paul Querna [Mon, 3 Nov 2008 03:08:35 +0000 (03:08 +0000)]
Bump trunk to require apr-util >=1.3.x, since we already require apr >=1.3.x.

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

15 years agoSwitch all unix MPMs to use drop_privileges hook (mod_unixd) for startup
Nick Kew [Mon, 3 Nov 2008 00:46:54 +0000 (00:46 +0000)]
Switch all unix MPMs to use drop_privileges hook (mod_unixd) for startup
and add a flag to prevent running without any module taking responsibility
for managing system privileges!

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

15 years ago* r708902 fixes PR39774 and thus is worth a CHANGES entry.
Ruediger Pluem [Sun, 2 Nov 2008 19:43:51 +0000 (19:43 +0000)]
* r708902 fixes PR39774 and thus is worth a CHANGES entry.

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

15 years ago* Better use calloc instead of alloc to initialize unset fields in struct.
Ruediger Pluem [Sun, 2 Nov 2008 13:38:11 +0000 (13:38 +0000)]
* Better use calloc instead of alloc to initialize unset fields in struct.

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

15 years ago* Update transformation
Ruediger Pluem [Sun, 2 Nov 2008 11:11:52 +0000 (11:11 +0000)]
* Update transformation

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

15 years ago* Digest providers works as well.
Ruediger Pluem [Sun, 2 Nov 2008 11:10:12 +0000 (11:10 +0000)]
* Digest providers works as well.

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

15 years ago* Fix typo
Ruediger Pluem [Sun, 2 Nov 2008 11:08:34 +0000 (11:08 +0000)]
* Fix typo

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

15 years agoupdate transformations, and remove variations of mod_authn_default.xml
Chris Darroch [Sun, 2 Nov 2008 04:33:23 +0000 (04:33 +0000)]
update transformations, and remove variations of mod_authn_default.xml
and mod_authz_default.xml removed in r709841

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

15 years agoDocumentation revisions for r709838 and r709839.
Chris Darroch [Sun, 2 Nov 2008 04:28:02 +0000 (04:28 +0000)]
Documentation revisions for r709838 and r709839.

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

15 years agoRemove mod_authn_default and mod_authz_default.
Chris Darroch [Sun, 2 Nov 2008 04:21:48 +0000 (04:21 +0000)]
Remove mod_authn_default and mod_authz_default.

Note: I've attempted to work through the Windows and Netware build files,
but if those with such systems could repair any damage, that would be
appreciated.

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

15 years agoFix handling of authz configurations, make default authz logic replicate
Chris Darroch [Sun, 2 Nov 2008 04:01:32 +0000 (04:01 +0000)]
Fix handling of authz configurations, make default authz logic replicate
2.2.x authz logic and support existing configurations (including .htaccess
files), and replace <Satisfy*>, Reject, and AuthzMergeRules directives
with Match, <Match*>, and AuthzMerge directives.

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

15 years agominor formatting changes prior to larger changes
Chris Darroch [Sat, 1 Nov 2008 19:03:56 +0000 (19:03 +0000)]
minor formatting changes prior to larger changes

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

15 years agoremove unused variables, rename some variables, move and change
Chris Darroch [Sat, 1 Nov 2008 18:58:49 +0000 (18:58 +0000)]
remove unused variables, rename some variables, move and change
variable initializations, etc., prior to larger changes

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

15 years agoprevent crash when authz provider not registered prior to use in alias
Chris Darroch [Sat, 1 Nov 2008 18:28:17 +0000 (18:28 +0000)]
prevent crash when authz provider not registered prior to use in alias

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

15 years agomove some variable initializations prior to larger changes
Chris Darroch [Sat, 1 Nov 2008 18:22:55 +0000 (18:22 +0000)]
move some variable initializations prior to larger changes

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

15 years agolocalize some variables in authz provider alias functions
Chris Darroch [Sat, 1 Nov 2008 17:58:19 +0000 (17:58 +0000)]
localize some variables in authz provider alias functions

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

15 years agomove function prior to larger changes
Chris Darroch [Sat, 1 Nov 2008 17:24:57 +0000 (17:24 +0000)]
move function prior to larger changes

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

15 years agomajor not minor bump for r709708
Chris Darroch [Sat, 1 Nov 2008 17:08:18 +0000 (17:08 +0000)]
major not minor bump for r709708

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

15 years agoremove unused AUTHZ_GROUP_NOTE define
Chris Darroch [Sat, 1 Nov 2008 15:01:35 +0000 (15:01 +0000)]
remove unused AUTHZ_GROUP_NOTE define

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

15 years agofix typo
Chris Darroch [Sat, 1 Nov 2008 14:53:09 +0000 (14:53 +0000)]
fix typo

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

15 years agoremove trailing whitespace, adjust formatting and comments prior
Chris Darroch [Sat, 1 Nov 2008 14:50:30 +0000 (14:50 +0000)]
remove trailing whitespace, adjust formatting and comments prior
to larger changes

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

15 years agowhitespace cleanup
Chris Darroch [Sat, 1 Nov 2008 14:47:07 +0000 (14:47 +0000)]
whitespace cleanup

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

15 years ago* Update transformation
Ruediger Pluem [Sat, 1 Nov 2008 11:29:00 +0000 (11:29 +0000)]
* Update transformation

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

15 years ago* Use distinct char pointers for sending and receiving buffers to avoid
Ruediger Pluem [Sat, 1 Nov 2008 10:23:09 +0000 (10:23 +0000)]
* Use distinct char pointers for sending and receiving buffers to avoid
  destroying the pointer to the sending buffer in the ajp message if
  data is received from the backend before all data is sent to the
  backend.

PR: 45911

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

15 years agoConvert events to have an associated pool.
Paul Querna [Sat, 1 Nov 2008 07:13:29 +0000 (07:13 +0000)]
Convert events to have an associated pool.

* server/mpm/simple/simple_types.h
    (simple_timer_t): Add Pool and a pointer to the associated simple core.
    (simple_core_t): Remove dead timer ring, no recycling of timer events for now.

* server/mpm/simple/simple_event.h: Update register_timer signature with pool.

* server/mpm/simple/simple_event.c
    (simple_register_timer): Allocate the event structure out of the pool,
        and when this pool is destroyed, unregister the timer.
    (simple_timer_run): New util function for running a timer and cleaning up
        the pool callbacks.

* server/mpm/simple/simple_core.c
    (simple_core_init): Remvoe dead timer ring

* server/mpm/simple/simple_run.c
    (simple_main_setup_timers): Pass in pool to register call.
    (simple_timer_invoke): Use new simple_timer_run function.
    (simple_child_loop): Remove dead timer ring.

* server/mpm/simple/simple_io.c
    (simple_io_process): Pass in pool when registering timers.

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

15 years agoReset the timers when in the child -- this prevents a fork bomb, as each child would...
Paul Querna [Sat, 1 Nov 2008 06:14:12 +0000 (06:14 +0000)]
Reset the timers when in the child -- this prevents a fork bomb, as each child would spawn N more children of its own, as the scheduled timer would go off in the child and the parent.

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

15 years agoRemove extra log line with how many threads are being spawned.
Paul Querna [Sat, 1 Nov 2008 06:03:39 +0000 (06:03 +0000)]
Remove extra log line with how many threads are being spawned.

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

15 years agoMove creation of the pollcb object to after we fork(), since kqueues don't persist...
Paul Querna [Sat, 1 Nov 2008 06:02:01 +0000 (06:02 +0000)]
Move creation of the pollcb object to after we fork(), since kqueues don't persist across fork(). (huh, didn't know that before)

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

15 years agoNote crash fix in mod_authn_core.c from r709553.
Chris Darroch [Fri, 31 Oct 2008 20:49:42 +0000 (20:49 +0000)]
Note crash fix in mod_authn_core.c from r709553.

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

15 years agoAdd AuthType of None to support disabling authentication.
Chris Darroch [Fri, 31 Oct 2008 20:18:07 +0000 (20:18 +0000)]
Add AuthType of None to support disabling authentication.
Prevent crash when provider alias created to provider which is not
yet registered.
Migrate remaining functionality of mod_authn_default to mod_authn_core.

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

15 years agoAllow <Limit> and <LimitExcept> directives to nest, and
Chris Darroch [Fri, 31 Oct 2008 20:10:07 +0000 (20:10 +0000)]
Allow <Limit> and <LimitExcept> directives to nest, and
constrain their use to conform with that of other access control
and authorization directives.

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

15 years agoAlso adjust unixd.c with changes from r709406
Jim Jagielski [Fri, 31 Oct 2008 13:37:32 +0000 (13:37 +0000)]
Also adjust unixd.c with changes from r709406

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

15 years agoMaintain the assumption that uids are long (as is done
Jim Jagielski [Fri, 31 Oct 2008 13:35:46 +0000 (13:35 +0000)]
Maintain the assumption that uids are long (as is done
with other code sections), as well as be aware of
signs.

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

15 years agoMinor typo correction
Lucien Gentis [Fri, 31 Oct 2008 13:15:24 +0000 (13:15 +0000)]
Minor typo correction

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

15 years agoMake unixd_set_user a local static function.
Paul Querna [Thu, 30 Oct 2008 20:29:28 +0000 (20:29 +0000)]
Make unixd_set_user a local static function.

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

15 years agoMake a valid prototype
Jim Jagielski [Thu, 30 Oct 2008 19:29:18 +0000 (19:29 +0000)]
Make a valid prototype

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

15 years agoBasic support for spawning children porcesses via fork() and killing them with kill().
Paul Querna [Thu, 30 Oct 2008 10:46:58 +0000 (10:46 +0000)]
Basic support for spawning children porcesses via fork() and killing them with kill().

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

15 years agoAdd Makefile.in, so unixd will actually compile correctly :-).
Paul Querna [Thu, 30 Oct 2008 10:36:44 +0000 (10:36 +0000)]
Add Makefile.in, so unixd will actually compile correctly :-).

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

15 years agoRemove completed todo items.
Paul Querna [Thu, 30 Oct 2008 01:52:35 +0000 (01:52 +0000)]
Remove completed todo items.

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

15 years agoreindent according to our coding style: <http://httpd.apache.org/dev/styleguide.html>
Paul Querna [Thu, 30 Oct 2008 01:50:09 +0000 (01:50 +0000)]
reindent according to our coding style: <http://httpd.apache.org/dev/styleguide.html>
for i in `ls *.h *.c`; do indent -i4 -npsl -di0 -br -nce -d0 -cli0 -npcs -nfc1 -nut ${i}; done

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

15 years agoChange the child_init hook to a drop_privileges hook for mod_unixd.
Paul Querna [Thu, 30 Oct 2008 00:57:45 +0000 (00:57 +0000)]
Change the child_init hook to a drop_privileges hook for mod_unixd.

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

15 years agoCreate a new drop_privileges hook for the Simple MPM.
Paul Querna [Thu, 30 Oct 2008 00:54:02 +0000 (00:54 +0000)]
Create a new drop_privileges hook for the Simple MPM.

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

15 years agoRemove SimpleUser configuration command, this will all be handled inside mod_unixd.
Paul Querna [Thu, 30 Oct 2008 00:39:19 +0000 (00:39 +0000)]
Remove SimpleUser configuration command, this will all be handled inside mod_unixd.

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

15 years agoStrip down mod_unixd to only do chroot and changing the UID.
Paul Querna [Thu, 30 Oct 2008 00:36:39 +0000 (00:36 +0000)]
Strip down mod_unixd to only do chroot and changing the UID.

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

15 years agoAdd mod_unixd to build, update svn:ignore.
Paul Querna [Thu, 30 Oct 2008 00:21:50 +0000 (00:21 +0000)]
Add mod_unixd to build, update svn:ignore.

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

15 years agoremove empty directory.
Paul Querna [Thu, 30 Oct 2008 00:09:25 +0000 (00:09 +0000)]
remove empty directory.

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

15 years agoMove mod_unixd to arch/unix.
Paul Querna [Thu, 30 Oct 2008 00:08:58 +0000 (00:08 +0000)]
Move mod_unixd to arch/unix.

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

15 years agoIntroduce modules/system, and mod_unixd.c
Nick Kew [Wed, 29 Oct 2008 16:41:10 +0000 (16:41 +0000)]
Introduce modules/system, and mod_unixd.c

mod_unixd.c is only os/unix/unixd.c, turned into a module.
(or more accurately, an ugly hack).  Work in progress, and the
old unixd will have to go once the module build stuff is in place.

This re-introduces some of the unixd stuff (set user, group and chroot)
to mpm_simple, and should work equally well with existing MPMs.
It also paves the way for alternative privilege management schemes,
which can be implemented in alternative modules: this´ll be
necessary to run mpm_simple on non-unix-family platforms, and
of interest for alternative Unix implementations.  By relegating
everything to a child_init hook, we can mix-and-match, though
weĺl need to add a regime that prevents just going right ahead
with nothing and running as root.

Round tuits permitting, we should be able to simplify unixd.h too,
and look towards eliminating it.

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

15 years agoAvoid time traveling :)
Jim Jagielski [Wed, 29 Oct 2008 13:32:58 +0000 (13:32 +0000)]
Avoid time traveling :)

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

15 years ago* include/http_core.h
Paul Querna [Wed, 29 Oct 2008 08:39:26 +0000 (08:39 +0000)]
* include/http_core.h
  (core_dir_config): Fix warning: overflow in implicit constant conversion,
    generated by core.c line 117, which sets content_md5 to '2', which is too big
    for a signed value -- but it looks like this was really meant to be unsigned.

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

15 years agoCleanup mod_dialup to compile with -std=c89 and -pedantic.
Paul Querna [Wed, 29 Oct 2008 08:33:26 +0000 (08:33 +0000)]
Cleanup mod_dialup to compile with -std=c89 and -pedantic.

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

15 years ago* modules/generators/mod_cgid.c
Paul Querna [Wed, 29 Oct 2008 08:27:01 +0000 (08:27 +0000)]
* modules/generators/mod_cgid.c
  (cgid_server): Fix warning: 'env' and 'argv0' may be used uninitialized in
    this function.

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

15 years ago* include/mod_auth.h
Paul Querna [Wed, 29 Oct 2008 08:25:58 +0000 (08:25 +0000)]
* include/mod_auth.h
  (authz_status): Remove trailing comma on enum.

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

15 years ago* modules/http/http_request.c
Paul Querna [Wed, 29 Oct 2008 08:18:45 +0000 (08:18 +0000)]
* modules/http/http_request.c
  (ap_process_async_request): Fix warning: 'return' with a value, in function
      returning void

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

15 years ago* modules/database/mod_dbd.c
Paul Querna [Wed, 29 Oct 2008 08:10:21 +0000 (08:10 +0000)]
* modules/database/mod_dbd.c
  (dbd_child_init): New function, wrapper around dbd_setup_init.
  (dbd_hooks): Call dbd_child_init instead of casting dbd_setup_init.

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

15 years ago* server/core.c: Fix implicit declaration of function 'unixd_set_rlimit' by
Paul Querna [Wed, 29 Oct 2008 08:00:50 +0000 (08:00 +0000)]
* server/core.c: Fix implicit declaration of function 'unixd_set_rlimit' by
    including unixd.h.

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

15 years agoImprove ability to compile on C90 Compilers.
Paul Querna [Wed, 29 Oct 2008 07:56:19 +0000 (07:56 +0000)]
Improve ability to compile on C90 Compilers.

* Move all variable declartions to the top of their blocks.
* Remove traiing comma on enum
* Only use C90 style comments.

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

15 years ago* server/mpm/simple/simple_io.c: s/simple_io_timeut_cb/simple_io_timeout_cb/g
Paul Querna [Tue, 28 Oct 2008 22:43:04 +0000 (22:43 +0000)]
* server/mpm/simple/simple_io.c: s/simple_io_timeut_cb/simple_io_timeout_cb/g

Noticed by: Ruediger Pluem

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

15 years ago* modules/mappers/mod_rewrite.c (do_rewritelog): Add prototype with
Joe Orton [Tue, 28 Oct 2008 20:11:43 +0000 (20:11 +0000)]
* modules/mappers/mod_rewrite.c (do_rewritelog): Add prototype with
  printf attribute flagged so that gcc -Wformat-security will pick
  up PR 46110-type errors as a warning.

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

15 years ago* Supply the per-dir parameter to the rewritelog call where it is needed.
Ruediger Pluem [Tue, 28 Oct 2008 20:02:53 +0000 (20:02 +0000)]
* Supply the per-dir parameter to the rewritelog call where it is needed.

PR: 46110

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

15 years agoupdate transformation
Takashi Sato [Tue, 28 Oct 2008 16:31:45 +0000 (16:31 +0000)]
update transformation

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

15 years ago* simple_io.c line 111 and 145 cause a build falure with --enable-maintainer-mode .
Paul Querna [Tue, 28 Oct 2008 16:06:25 +0000 (16:06 +0000)]
* simple_io.c line 111 and 145 cause a build falure with --enable-maintainer-mode .
* simple_children.c should include simple_children.h.
* simple_io_timeot_cb should be static.

Noticed by: Takashi Sato

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

15 years agofix XML errors
Takashi Sato [Tue, 28 Oct 2008 15:28:14 +0000 (15:28 +0000)]
fix XML errors

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

15 years ago* server/mpm/simple/simple_{event,run}.c: Turn off Ring Macro debugging.
Paul Querna [Tue, 28 Oct 2008 07:01:30 +0000 (07:01 +0000)]
* server/mpm/simple/simple_{event,run}.c: Turn off Ring Macro debugging.

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

15 years agoAdd a work in progress, a completely new, "Simple MPM".
Paul Querna [Tue, 28 Oct 2008 07:00:15 +0000 (07:00 +0000)]
Add a work in progress, a completely new, "Simple MPM".

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

15 years agoupdate a Japanese translation
Takashi Sato [Mon, 27 Oct 2008 15:03:00 +0000 (15:03 +0000)]
update a Japanese translation

Submitted by: kawai
Reviewed by: takashi

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

15 years ago* caching.xml.fr: fix a tag
Takashi Sato [Mon, 27 Oct 2008 12:12:16 +0000 (12:12 +0000)]
* caching.xml.fr: fix a tag
* set eol-style

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

15 years ago* Do more greedy reads in the core input filter to get more closer to the
Ruediger Pluem [Mon, 27 Oct 2008 11:39:04 +0000 (11:39 +0000)]
* Do more greedy reads in the core input filter to get more closer to the
  number of bytes requested.

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

15 years ago* modules/cache/mod_socache_dbm.c
Paul Querna [Mon, 27 Oct 2008 00:43:45 +0000 (00:43 +0000)]
* modules/cache/mod_socache_dbm.c
  (socache_dbm_init) Use AP_NEED_SET_MUTEX_PERMS to determine when we need to
    set the file permissions on the created DBM files, rather than listing
    a hodgepodge of operating systems by hand.

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

15 years ago* modules/cache/mod_socache_dbm.c: Fix compile by including unixd.h on operating
Paul Querna [Mon, 27 Oct 2008 00:40:36 +0000 (00:40 +0000)]
* modules/cache/mod_socache_dbm.c: Fix compile by including unixd.h on operating
    systems that need it, which is required for for the use of unixd_config
    inside socache_dbm_init.

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

15 years agoAdding .fr translations for suexec logs server-wide sections new_features_2_4 urlmapp...
Vincent Deffontaines [Sun, 26 Oct 2008 16:38:53 +0000 (16:38 +0000)]
Adding .fr translations for suexec logs server-wide sections new_features_2_4 urlmapping dso upgrading glossary

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

15 years agoNew french translations.
Vincent Deffontaines [Sat, 25 Oct 2008 09:18:31 +0000 (09:18 +0000)]
New french translations.

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

15 years ago* save_table needs to be declared first before it can be used.
Ruediger Pluem [Fri, 24 Oct 2008 16:00:10 +0000 (16:00 +0000)]
* save_table needs to be declared first before it can be used.

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