]> granicus.if.org Git - apache/log
apache
20 years agosync
André Malo [Fri, 20 Aug 2004 19:01:55 +0000 (19:01 +0000)]
sync

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

20 years agoBuild using the ajp code in the proxy directory.
Bradley Nicholes [Fri, 20 Aug 2004 17:10:18 +0000 (17:10 +0000)]
Build using the ajp code in the proxy directory.

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

20 years agoFix a few references to mod_auth_ldap to be mod_authnz_ldap
Bradley Nicholes [Fri, 20 Aug 2004 16:54:19 +0000 (16:54 +0000)]
Fix a few references to mod_auth_ldap to be mod_authnz_ldap

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

20 years agoupdate transformation
André Malo [Fri, 20 Aug 2004 16:54:03 +0000 (16:54 +0000)]
update transformation

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

20 years agoFix configure option for ldap (--enable-authnz-ldap)
André Malo [Fri, 20 Aug 2004 16:46:51 +0000 (16:46 +0000)]
Fix configure option for ldap (--enable-authnz-ldap)

Submitted by: Joshua Slive

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

20 years agoDocument SSL_CLIENT_V_REMAIN.
Joe Orton [Fri, 20 Aug 2004 16:25:07 +0000 (16:25 +0000)]
Document SSL_CLIENT_V_REMAIN.

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

20 years agoFix a few references to mod_auth_ldap to be mod_authnz_ldap
Bradley Nicholes [Fri, 20 Aug 2004 16:24:52 +0000 (16:24 +0000)]
Fix a few references to mod_auth_ldap to be mod_authnz_ldap

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

20 years agomod_auth_ldap has been moved to the modules/aaa directory and is called authnz_ldap...
Bradley Nicholes [Fri, 20 Aug 2004 16:17:16 +0000 (16:17 +0000)]
mod_auth_ldap has been moved to the modules/aaa directory and is called authnz_ldap.  It has also been restructured to follow the new auth module model.  The documentation has also been renamed to mod_authnz_ldap.  The old mod_auth_ldap documentation is now obsolete.

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

20 years agoAdd the documentation for mod_authnz_ldap
Bradley Nicholes [Fri, 20 Aug 2004 16:12:37 +0000 (16:12 +0000)]
Add the documentation for mod_authnz_ldap

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

20 years agoupdate transformation
André Malo [Thu, 19 Aug 2004 23:06:41 +0000 (23:06 +0000)]
update transformation

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

20 years agokeep in sync
André Malo [Thu, 19 Aug 2004 22:56:18 +0000 (22:56 +0000)]
keep in sync

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

20 years agoClean up some compiler warnings
Bradley Nicholes [Thu, 19 Aug 2004 18:08:19 +0000 (18:08 +0000)]
Clean up some compiler warnings

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

20 years agoAdd build files for the util_ldap module
Bradley Nicholes [Thu, 19 Aug 2004 18:02:58 +0000 (18:02 +0000)]
Add build files for the util_ldap module

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

20 years agomod_auth_ldap and util_ldap no longer build from the experimental directory
Bradley Nicholes [Wed, 18 Aug 2004 23:24:14 +0000 (23:24 +0000)]
mod_auth_ldap and util_ldap no longer build from the experimental directory

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

20 years agocharset.conv has been moved to the docs/conf directory
Bradley Nicholes [Wed, 18 Aug 2004 22:57:54 +0000 (22:57 +0000)]
charset.conv has been moved to the docs/conf directory

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

20 years agoMove charset.conv configuration file out of experimental and into docs/conf. This...
Bradley Nicholes [Wed, 18 Aug 2004 22:56:46 +0000 (22:56 +0000)]
Move charset.conv configuration file out of experimental and into docs/conf.  This file holds the character set conversion table used by the authn_ldap provider.

See Attic in experimental directory for previous change history.

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

20 years agomod_auth_ldap has been moved to the modules/aaa directory and is called authnz_ldap...
Bradley Nicholes [Wed, 18 Aug 2004 22:49:49 +0000 (22:49 +0000)]
mod_auth_ldap has been moved to the modules/aaa directory and is called authnz_ldap.  It has also been restructured to follow the new auth module model

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

20 years agoutil_ldap has been moved to the modules/ldap directory
Bradley Nicholes [Wed, 18 Aug 2004 22:46:19 +0000 (22:46 +0000)]
util_ldap has been moved to the modules/ldap directory

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

20 years agoUpdate the netware make files to stop building the ldap modules from experimental...
Bradley Nicholes [Wed, 18 Aug 2004 22:26:58 +0000 (22:26 +0000)]
Update the netware make files to stop building the ldap modules from experimental and start building from the new locations.

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

20 years agoMove util_ldap out of experimental and into ldap.
Bradley Nicholes [Wed, 18 Aug 2004 22:18:39 +0000 (22:18 +0000)]
Move util_ldap out of experimental and into ldap.

See Attic in experimental directory for previous change history.

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

20 years agoArrange the logic sending to body data to Tomcat.
Jean-Frederic Clere [Wed, 18 Aug 2004 17:04:45 +0000 (17:04 +0000)]
Arrange the logic sending to body data to Tomcat.
Now it works for both chunked and not-chunked.
But it is not yet working when the Tomcat starts to send data before having
read all the body and then reads again.

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

20 years agoSorry there were 2 typos
Jean-Frederic Clere [Wed, 18 Aug 2004 16:53:50 +0000 (16:53 +0000)]
Sorry there were 2 typos

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

20 years agoTypo.
Jean-Frederic Clere [Wed, 18 Aug 2004 16:49:46 +0000 (16:49 +0000)]
Typo.

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

20 years agoPrevent / beeing accepted wrongly by the proxy when having for example:
Jean-Frederic Clere [Wed, 18 Aug 2004 16:46:12 +0000 (16:46 +0000)]
Prevent / beeing accepted wrongly by the proxy when having for example:
<Location /examples/>
   ProxyPass ajp://localhost:8009/examples/
</Location>

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

20 years agoThe ajp subdirectory does not exist so we don't need it in the includes.
Jean-Frederic Clere [Wed, 18 Aug 2004 16:32:27 +0000 (16:32 +0000)]
The ajp subdirectory does not exist so we don't need it in the includes.
The mod_proxy_ajp.dsp also refers to source files in .\ajp but that looks to
be a generate file; someone with the right have to arrange it.

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

20 years agoBoth the r->user and r->ap_auth_type were set previously when the username and passwo...
Bradley Nicholes [Wed, 18 Aug 2004 16:28:57 +0000 (16:28 +0000)]
Both the r->user and r->ap_auth_type were set previously when the username and password were extracted from the request.  Resetting them at the end of the handler will overwrite any changes made by the authn provider.  For example, the ldap authn provider can be configured to change the user name to a full user dn.

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

20 years agojakarta-tomcat-connectors AJP files.
Jean-Frederic Clere [Wed, 18 Aug 2004 16:09:27 +0000 (16:09 +0000)]
jakarta-tomcat-connectors AJP files.
The original location of the files in jakarta is:
jakarta-tomcat-connectors/ajp/ajplib/test
(That was not a good idea)

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

20 years agoNote the restructuring and change in status mod_auth_ldap
Bradley Nicholes [Wed, 18 Aug 2004 15:55:43 +0000 (15:55 +0000)]
Note the restructuring and change in status mod_auth_ldap

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

20 years agoFix some compiler warnings in proxy
Graham Leggett [Wed, 18 Aug 2004 13:34:17 +0000 (13:34 +0000)]
Fix some compiler warnings in proxy
PR:
Obtained from:
Submitted by: Geoffrey Young <geoff@modperlcookbook.org>
Reviewed by:

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

20 years agoMake sure mod_authnz_ldap is included in the unix builds.
Graham Leggett [Wed, 18 Aug 2004 13:22:05 +0000 (13:22 +0000)]
Make sure mod_authnz_ldap is included in the unix builds.
PR:
Obtained from:
Submitted by:
Reviewed by:

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

20 years agoClarify an error message to tell the user what to do if apr-util lacks
Graham Leggett [Wed, 18 Aug 2004 13:15:47 +0000 (13:15 +0000)]
Clarify an error message to tell the user what to do if apr-util lacks
LDAP support.
PR:
Obtained from:
Submitted by:
Reviewed by:

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

20 years agosuexec: Pass the SERVER_SIGNATURE envvar through to CGIs.
Jeff Trawick [Wed, 18 Aug 2004 11:54:49 +0000 (11:54 +0000)]
suexec: Pass the SERVER_SIGNATURE envvar through to CGIs.

Submitted by: Zvi Har'El <rl math.technion.ac.il>
Reviewed by:  Jeff Trawick

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

20 years agoapachectl: Fix a problem finding envvars if sbindir != bindir.
Jeff Trawick [Wed, 18 Aug 2004 11:21:33 +0000 (11:21 +0000)]
apachectl: Fix a problem finding envvars if sbindir != bindir.

PR:            30723
Submitted by:  Friedrich Haubensak <hsk imb-jena.de>
Reviewed by:   Jeff Trawick

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

20 years ago* modules/ssl/ssl_engine_vars.c (ssl_var_lookup_ssl_cert_remain): New
Joe Orton [Wed, 18 Aug 2004 11:05:22 +0000 (11:05 +0000)]
* modules/ssl/ssl_engine_vars.c (ssl_var_lookup_ssl_cert_remain): New
function.  (ssl_var_lookup_ssl_cert): Support _V_REMAIN suffix for
SSL_{SERVER,CLIENT} as number of days until certificate expires.

* modules/ssl_engine_kernel.c: Export SSL_CLIENT_V_REMAIN if
+StdEnvVars is configured.

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

20 years ago* modules/mappers/mod_userdir.c (register_hooks): Move suexec_identity
Joe Orton [Wed, 18 Aug 2004 08:21:55 +0000 (08:21 +0000)]
* modules/mappers/mod_userdir.c (register_hooks): Move suexec_identity
hook to APR_HOOK_FIRST to ensure it runs before the mod_suexec hook.

PR: 18156
Submitted by: Joshua Slive

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

20 years agoRe-structure the auth_ldap module to fit the new authentication model. The authnz_ld...
Bradley Nicholes [Tue, 17 Aug 2004 23:33:07 +0000 (23:33 +0000)]
Re-structure the auth_ldap module to fit the new authentication model.  The authnz_ldap module provides an ldap authentication provider and an authorization handler.  It implements the authorization "require" values ldap-user, ldap-dn and ldap-group.  This restructure also moves auth_ldap out of the experimental directory.

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

20 years agosync
André Malo [Tue, 17 Aug 2004 19:59:38 +0000 (19:59 +0000)]
sync

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

20 years ago Require zlib to be pre-compiled, and rely upon the srclib/zlib/
William A. Rowe Jr [Tue, 17 Aug 2004 16:39:04 +0000 (16:39 +0000)]
  Require zlib to be pre-compiled, and rely upon the srclib/zlib/
  tree to contain zlib.lib and our .h files.

  This presumes that zlib is compiled to be compatible with Apache
  (msvcrt build, either statics or as zlib1.dll).  It's true of
  all 1.2.1 zlibs and later.

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

20 years ago A few more modules who need their bases owned.
William A. Rowe Jr [Tue, 17 Aug 2004 16:35:26 +0000 (16:35 +0000)]
  A few more modules who need their bases owned.

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

20 years ago Eliminate several unused variables, observe a file size -> cache entry size
William A. Rowe Jr [Tue, 17 Aug 2004 16:34:51 +0000 (16:34 +0000)]
  Eliminate several unused variables, observe a file size -> cache entry size
  overflow, and reorder a few headers so we compile clean.

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

20 years ago* modules/ssl/ssl_engine_io.c (ssl_io_input_read): Fix rollback
Joe Orton [Tue, 17 Aug 2004 16:31:23 +0000 (16:31 +0000)]
* modules/ssl/ssl_engine_io.c (ssl_io_input_read): Fix rollback
handling for AP_MODE_SPECULATIVE.

PR: 30134

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

20 years agoImplement -t -DDUMP_MODULES using generic test_config hook rather than
Joe Orton [Tue, 17 Aug 2004 13:47:10 +0000 (13:47 +0000)]
Implement -t -DDUMP_MODULES using generic test_config hook rather than
hooking into mod_so from main.c:

* include/http_config.h, server/config.c: Declare test_config hook.

* server/main.c: Drop hooks into mod_so; run test_config hooks.

* modules/mappers/mod_so.h: Drop ap_dump_loaded_modules optional
function.

* modules/mappers/mod_so.c (dump_loaded_modules): Renamed from
ap_dump_loaded_modules; only run if -DDUMP_MODULES is defined.
(register_hooks): Register test_config hook instead of optional
function.

Reviewed by: Justin Erenkrantz, Paul Querna

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

20 years agoClean up the makefile
Bradley Nicholes [Mon, 16 Aug 2004 21:55:26 +0000 (21:55 +0000)]
Clean up the makefile

Submitted by: Guenter Knauf <fuankg@apache.org>

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

20 years agofix an infinite loop in proxy CONNECT
Jeff Trawick [Mon, 16 Aug 2004 16:09:48 +0000 (16:09 +0000)]
fix an infinite loop in proxy CONNECT
(problem was only in 2.1-dev)

Submitted by: jean-frederic clere <jfrederic.clere fujitsu-siemens.com>
Reviewed by: Jeff Trawick

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

20 years agoRelax the pointer checking for the proxy_ajp module to avoid a pointer mismatch error...
Bradley Nicholes [Mon, 16 Aug 2004 14:58:18 +0000 (14:58 +0000)]
Relax the pointer checking for the proxy_ajp module to avoid a pointer mismatch error when compiling

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

20 years agosync
André Malo [Sun, 15 Aug 2004 23:58:46 +0000 (23:58 +0000)]
sync

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

20 years agoupdate transformation
André Malo [Sun, 15 Aug 2004 23:46:32 +0000 (23:46 +0000)]
update transformation

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

20 years agofix version number
André Malo [Sun, 15 Aug 2004 23:40:39 +0000 (23:40 +0000)]
fix version number

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

20 years agoupdate transformation
André Malo [Sun, 15 Aug 2004 22:34:52 +0000 (22:34 +0000)]
update transformation

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

20 years agofix version number
André Malo [Sun, 15 Aug 2004 22:27:16 +0000 (22:27 +0000)]
fix version number

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

20 years agofilepath_info wasn't set by the httpd for over 7 years
André Malo [Sun, 15 Aug 2004 17:19:04 +0000 (17:19 +0000)]
filepath_info wasn't set by the httpd for over 7 years

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

20 years agoRemove "PATH_INFO Changes in CGI Environment" documentation.
André Malo [Sun, 15 Aug 2004 14:36:47 +0000 (14:36 +0000)]
Remove "PATH_INFO Changes in CGI Environment" documentation.

Reason: It's outdated and wrong. For 7 years and 3 months.
The behaviour was changed back during Apache 1.2 (!) development.

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

20 years agodon't forget the metafile
Astrid Malo [Sun, 15 Aug 2004 14:26:10 +0000 (14:26 +0000)]
don't forget the metafile

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

20 years agoupdate translation
Astrid Malo [Sun, 15 Aug 2004 14:00:13 +0000 (14:00 +0000)]
update translation

Committed by: nd
Reviewed by:  kess

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

20 years agofix & update transformation
André Malo [Sun, 15 Aug 2004 13:27:16 +0000 (13:27 +0000)]
fix & update transformation

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

20 years agoupdate transformation
André Malo [Sun, 15 Aug 2004 13:24:00 +0000 (13:24 +0000)]
update transformation

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

20 years agoConditionally build the proxy_ajp module of the ajplib file are available
Bradley Nicholes [Sat, 14 Aug 2004 17:36:06 +0000 (17:36 +0000)]
Conditionally build the proxy_ajp module of the ajplib file are available

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

20 years ago- name Apache with its full name
Astrid Malo [Sat, 14 Aug 2004 16:16:23 +0000 (16:16 +0000)]
- name Apache with its full name
- markup improvement

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

20 years agomarkup improvement
Astrid Malo [Sat, 14 Aug 2004 11:23:53 +0000 (11:23 +0000)]
markup improvement

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

20 years agoWinNT MPM: Fix a broken log message at termination.
Jeff Trawick [Sat, 14 Aug 2004 10:57:13 +0000 (10:57 +0000)]
WinNT MPM: Fix a broken log message at termination.

PR: 28063
Submitted by: Eider Oliveira <eider bol.com.br>
Reviewed by: Jeff Trawick

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

20 years agotweak error handling when reading the pid file
Jeff Trawick [Sat, 14 Aug 2004 10:49:43 +0000 (10:49 +0000)]
tweak error handling when reading the pid file

previously strtol() would look at unitialized
storage, but now the string is terminated where
the data read ends

give user a hint about removing the file if we can't
read/parse it properly

(somehow I ended up with a truncated httpd.pid on my
own system, leading to these tweaks)

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

20 years agoFix the parameter list for the scheme_handler ap_proxy_connect_handler() so that...
Bradley Nicholes [Fri, 13 Aug 2004 23:16:50 +0000 (23:16 +0000)]
Fix the parameter list for the scheme_handler ap_proxy_connect_handler() so that it matches the prototype declared for the scheme_handler hook.

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

20 years agoAdd the new proxy protocol modules to the NetWare build
Bradley Nicholes [Fri, 13 Aug 2004 23:13:46 +0000 (23:13 +0000)]
Add the new proxy protocol modules to the NetWare build

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

20 years ago* configure.in: Ensure that apr and apr-util exported include
Joe Orton [Fri, 13 Aug 2004 12:35:47 +0000 (12:35 +0000)]
* configure.in: Ensure that apr and apr-util exported include
directories are later than local source directories in INCLUDES.

PR: 18959

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

20 years agoaxe some unused variables and don't log an error code that
Jeff Trawick [Fri, 13 Aug 2004 12:20:53 +0000 (12:20 +0000)]
axe some unused variables and don't log an error code that
hasn't been initialized

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

20 years agoapr_tolower() doesn't process the entire string
Jeff Trawick [Fri, 13 Aug 2004 12:15:46 +0000 (12:15 +0000)]
apr_tolower() doesn't process the entire string

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

20 years agofix some const issues with string searching
Jeff Trawick [Fri, 13 Aug 2004 12:11:50 +0000 (12:11 +0000)]
fix some const issues with string searching

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

20 years agofix format string mismatch (int vs. apr_time_t)
Jeff Trawick [Fri, 13 Aug 2004 12:09:13 +0000 (12:09 +0000)]
fix format string mismatch (int vs. apr_time_t)

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

20 years ago* configure.in: Define AP_HAVE_DESIGNATED_INITIALIZER via ap_config.h
Joe Orton [Fri, 13 Aug 2004 11:18:33 +0000 (11:18 +0000)]
* configure.in: Define AP_HAVE_DESIGNATED_INITIALIZER via ap_config.h
so third-party modules don't have to pick up NOTEST_CPPFLAGS to avoid
gcc warnings from http_config.h.

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

20 years ago* configure.in, acinclude.m4: Substitute AP[RU]_CONFIG with location
Joe Orton [Fri, 13 Aug 2004 09:38:11 +0000 (09:38 +0000)]
* configure.in, acinclude.m4: Substitute AP[RU]_CONFIG with location
of installed ap[ru]-config scripts so third-party modules can use
`apxs -q APR_CONFIG`.

* support/apxs.in: Use new AP[RU]_CONFIG variables; use apr-config
--apr-libtool.

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

20 years ago Fix signedness emit.
William A. Rowe Jr [Thu, 12 Aug 2004 17:48:35 +0000 (17:48 +0000)]
  Fix signedness emit.

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

20 years ago Missing an entry for proxy_balancer in the win32 baseaddr's list
William A. Rowe Jr [Thu, 12 Aug 2004 17:00:54 +0000 (17:00 +0000)]
  Missing an entry for proxy_balancer in the win32 baseaddr's list

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

20 years agoContinue with addressing the FAQ: How to do url manipulation
Joshua Slive [Thu, 12 Aug 2004 15:50:57 +0000 (15:50 +0000)]
Continue with addressing the FAQ: How to do url manipulation
on the query string.

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

20 years agocorrect struct fields comments
Stas Bekman [Thu, 12 Aug 2004 05:22:59 +0000 (05:22 +0000)]
correct struct fields comments

PR:
Obtained from:
Submitted by:
Reviewed by:

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

20 years agoSmall status displaying fix.
William A. Rowe Jr [Wed, 11 Aug 2004 23:31:40 +0000 (23:31 +0000)]
Small status displaying fix.

Submitted by: mturk

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

20 years agoFix setting of hostname for backend.
William A. Rowe Jr [Wed, 11 Aug 2004 23:30:54 +0000 (23:30 +0000)]
Fix setting of hostname for backend.
The now reflects the real name withouth scheme:// prefix.

Submitted by: mturk

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

20 years agoAdded proxy status for conf, and elected member to runtime worker
William A. Rowe Jr [Wed, 11 Aug 2004 23:30:17 +0000 (23:30 +0000)]
Added proxy status for conf, and elected member to runtime worker
Added mod_status extension for displaying runtime
status informations for load balancer.

Submitted by: mturk

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

20 years agoStart porting connection pool to ftp.
William A. Rowe Jr [Wed, 11 Aug 2004 23:28:58 +0000 (23:28 +0000)]
Start porting connection pool to ftp.

Submitted by: mturk

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

20 years agoAdded dynamic worker limit. It ensures that the addng dynamic
William A. Rowe Jr [Wed, 11 Aug 2004 23:10:35 +0000 (23:10 +0000)]
Added dynamic worker limit. It ensures that the addng dynamic
workers to the balancers never excedes that limit.

Submitted by: mturk

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

20 years agoAdd some extra debugging to ease the bug chasing :)
William A. Rowe Jr [Wed, 11 Aug 2004 23:09:57 +0000 (23:09 +0000)]
Add some extra debugging to ease the bug chasing :)

Submitted by: mturk

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

20 years agoMake sure that the things get logged using the same look-and-feal.
William A. Rowe Jr [Wed, 11 Aug 2004 23:09:17 +0000 (23:09 +0000)]
Make sure that the things get logged using the same look-and-feal.
Also fix the return code from DECLINED to service unavailable if the connection breaks.

Submitted by: mturk

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

20 years agoFix the url rewriting, and few minor developement bugs.
William A. Rowe Jr [Wed, 11 Aug 2004 23:08:34 +0000 (23:08 +0000)]
Fix the url rewriting, and few minor developement bugs.

Submitted by: mturk

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

20 years agoFix the return codes. We can not return the APR error codes.
William A. Rowe Jr [Wed, 11 Aug 2004 23:08:04 +0000 (23:08 +0000)]
Fix the return codes. We can not return the APR error codes.

Submitted by: mturk

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

20 years agoMake sure that if the pre_request was called that the post_request
William A. Rowe Jr [Wed, 11 Aug 2004 23:07:16 +0000 (23:07 +0000)]
Make sure that if the pre_request was called that the post_request
gets called too, no mather what the error code is.

Submitted by: mturk

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

20 years agoImplement the worker retry functionality.
William A. Rowe Jr [Wed, 11 Aug 2004 23:05:59 +0000 (23:05 +0000)]
Implement the worker retry functionality.
It uses either worker->retry option or default 60 second retry
that is on each revolution extended by another 60 seconds.

Submitted by: mturk

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

20 years agoUse the proxy_runtime_stat that either comes from scoreboard or
William A. Rowe Jr [Wed, 11 Aug 2004 23:03:43 +0000 (23:03 +0000)]
Use the proxy_runtime_stat that either comes from scoreboard or
directly allocating memory if there is no scoreboard support or it is not
neaded, due to the fact that we have single child process.

Submitted by: mturk

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

20 years agoShared memory support. The shared memory is inside
William A. Rowe Jr [Wed, 11 Aug 2004 23:02:53 +0000 (23:02 +0000)]
Shared memory support. The shared memory is inside
apache scoreboard. If it ever gets back ported we could use it on 2.0

Submitted by: mturk

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

20 years agoUse the pool for add_worker call.
William A. Rowe Jr [Wed, 11 Aug 2004 23:01:39 +0000 (23:01 +0000)]
Use the pool for add_worker call.

Submitted by: mturk

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

20 years agoAdd pool to functions for setting worker and balancer parameters.
William A. Rowe Jr [Wed, 11 Aug 2004 23:00:07 +0000 (23:00 +0000)]
Add pool to functions for setting worker and balancer parameters.
Still have no idea why that doesn't work without duping as JeanFrederic reported.

Submitted by: mturk

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

20 years agoAdd rewrite url function and calcute lbstatuses when session worker is elected.
William A. Rowe Jr [Wed, 11 Aug 2004 22:58:51 +0000 (22:58 +0000)]
Add rewrite url function and calcute lbstatuses when session worker is elected.

Submitted by: mturk

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

20 years agoThe lbstatus needs to be updated for every worker, not just the candidate.
William A. Rowe Jr [Wed, 11 Aug 2004 22:58:30 +0000 (22:58 +0000)]
The lbstatus needs to be updated for every worker, not just the candidate.

Submitted by: mturk

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

20 years agoAdd finding of a most suitable worker.
William A. Rowe Jr [Wed, 11 Aug 2004 22:58:03 +0000 (22:58 +0000)]
Add finding of a most suitable worker.

Submitted by: mturk

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

20 years agoAdd route and redirect to worker so they can be set trough configuration.
William A. Rowe Jr [Wed, 11 Aug 2004 22:56:51 +0000 (22:56 +0000)]
Add route and redirect to worker so they can be set trough configuration.
Add worker status flag definitions.

Submitted by: mturk

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

20 years agoSet initial lbstatus to calculated lbfactor.
William A. Rowe Jr [Wed, 11 Aug 2004 22:55:28 +0000 (22:55 +0000)]
Set initial lbstatus to calculated lbfactor.

Submitted by: mturk

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

20 years agoFix structure element typo.
William A. Rowe Jr [Wed, 11 Aug 2004 22:55:00 +0000 (22:55 +0000)]
Fix structure element typo.

Submitted by: mturk

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

20 years agoAdd proxy_balancer to proxy module, including config and capturing
William A. Rowe Jr [Wed, 11 Aug 2004 22:52:46 +0000 (22:52 +0000)]
Add proxy_balancer to proxy module, including config and capturing
-I ../generators for the mod_status.h

Submitted by: mturk

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

20 years agoRemove setting module config.
William A. Rowe Jr [Wed, 11 Aug 2004 22:51:34 +0000 (22:51 +0000)]
Remove setting module config.

Submitted by: mturk

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

20 years agoFix some config checking params.
William A. Rowe Jr [Wed, 11 Aug 2004 22:48:13 +0000 (22:48 +0000)]
Fix some config checking params.
Added route and route redirect to the runtime worker.

Submitted by: mturk

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

20 years agoBounding to client connection is not needed(?).
William A. Rowe Jr [Wed, 11 Aug 2004 22:46:31 +0000 (22:46 +0000)]
Bounding to client connection is not needed(?).
Since AJP can serve multiple request trough the same
backend connection, no need to create separate conn_rec.
For now comment out all the set/get module config.

Submitted by: mturk

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

20 years agoUse the new connection pool for AJP.
William A. Rowe Jr [Wed, 11 Aug 2004 22:45:51 +0000 (22:45 +0000)]
Use the new connection pool for AJP.

Submitted by: mturk

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