]> granicus.if.org Git - apache/log
apache
19 years agoFix ProxyPassReverse & family to work correctly in <Location>
Nick Kew [Wed, 10 Aug 2005 23:36:39 +0000 (23:36 +0000)]
Fix ProxyPassReverse & family to work correctly in <Location>

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

19 years agoNote two changes (r231349 and r231351) that are paired together.
Justin Erenkrantz [Wed, 10 Aug 2005 23:19:39 +0000 (23:19 +0000)]
Note two changes (r231349 and r231351) that are paired together.

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

19 years agoAdd -t option to htcacheclean to clean out empty directories.
Justin Erenkrantz [Wed, 10 Aug 2005 23:14:57 +0000 (23:14 +0000)]
Add -t option to htcacheclean to clean out empty directories.

* support/htcacheclean.c: Implement -t option.
* docs/man/htcacheclean.8, docs/manual/programs/htcacheclean.html.en,
  docs/manual/programs/htcacheclean.xml: Document -t option.

Justin did some minor tweaks as he agrees with Andreas and Rudiger that
apr_dir_remove should return an error if the directory isn't empty; hence,
remove the apr_dir_read calls.

Submitted by: Colm MacCarthaigh
Reviewed by:  Justin Erenkrantz, Andreas Steinmetz, Rudiger Pluem

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

19 years agomod_disk_cache: Retry file rename up to three times to ameliorate race
Justin Erenkrantz [Wed, 10 Aug 2005 23:03:38 +0000 (23:03 +0000)]
mod_disk_cache: Retry file rename up to three times to ameliorate race
condition with htcacheclean removing the directories underneath us.

(Includes tweaks by Justin.)

Suggested by: Graham Leggett
Submitted by: Andreas Steinmetz <ast@domdv.de>
Reviewed by: Justin Erenkrantz

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

19 years agoUpdate mod_dbd to API that hides apr_dbd_driver_t struct.
Nick Kew [Wed, 10 Aug 2005 16:05:17 +0000 (16:05 +0000)]
Update mod_dbd to API that hides apr_dbd_driver_t struct.

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

19 years agoFix bug where non-200 CGI responses will not send anything down filter chain.
Justin Erenkrantz [Wed, 10 Aug 2005 04:32:13 +0000 (04:32 +0000)]
Fix bug where non-200 CGI responses will not send anything down filter chain.
This is most notable when mod_cache is used.  This has been used in production
on wiki.apache.org for a while now.

* modules/generators/mod_cgi.c
  (cgi_handler): When a non-zero value is returned by scan_script, set the
  status field and ensure that we have an EOS to send down the filer stack.

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

19 years ago* modules/proxy/mod_proxy_http.c (stream_reqbody_cl): Fix gcc warning.
Joe Orton [Tue, 9 Aug 2005 21:15:40 +0000 (21:15 +0000)]
* modules/proxy/mod_proxy_http.c (stream_reqbody_cl): Fix gcc warning.

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

19 years ago Hopefully, address the last edge case where status may
William A. Rowe Jr [Tue, 9 Aug 2005 14:54:46 +0000 (14:54 +0000)]
  Hopefully, address the last edge case where status may
  be uninitialized.  Asserts in non-debug builds are bad things,
  anyways, so this is probably more correct.  This should fix
  -Werror compile warning observed by Joe Orton.

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

19 years agoRemove the base href tag from mod_proxy_ftp, as it breaks relative
Graham Leggett [Tue, 9 Aug 2005 14:46:55 +0000 (14:46 +0000)]
Remove the base href tag from mod_proxy_ftp, as it breaks relative
links for clients not using an Authorization header.

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

19 years ago* modules/http/byterange_filter.c (ap_byterange_filter): Update some
Joe Orton [Tue, 9 Aug 2005 13:16:46 +0000 (13:16 +0000)]
* modules/http/byterange_filter.c (ap_byterange_filter): Update some
comments.

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

19 years ago* modules/ldap/util_ldap.c (util_ldap_parse_cert_type): Fix gcc 4
Joe Orton [Tue, 9 Aug 2005 08:21:39 +0000 (08:21 +0000)]
* modules/ldap/util_ldap.c (util_ldap_parse_cert_type): Fix gcc 4
warning "type qualifiers ignored on function return type".

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

19 years agoEnsure that req->dn is valid for the util_ldap_cache_compare() call.
Jim Jagielski [Mon, 8 Aug 2005 21:23:22 +0000 (21:23 +0000)]
Ensure that req->dn is valid for the util_ldap_cache_compare() call.
Esp make sure not null.

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

19 years agoAdd a User-Agent to the dummy connection code to ease admin debugging.
Paul Querna [Mon, 8 Aug 2005 14:37:14 +0000 (14:37 +0000)]
Add a User-Agent to the dummy connection code to ease admin debugging.

Submitted By: Colm MacCarthaigh <colm stdlib.net>

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

19 years ago Two blank lines for clarity; whitespace only change.
William A. Rowe Jr [Mon, 8 Aug 2005 03:34:57 +0000 (03:34 +0000)]
  Two blank lines for clarity; whitespace only change.

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

19 years ago We already accept 80 bytes less than the client body's anticipated
William A. Rowe Jr [Mon, 8 Aug 2005 03:12:24 +0000 (03:12 +0000)]
  We already accept 80 bytes less than the client body's anticipated
  size, so we don't need to also prefetch an extra 1024 bytes; this
  was redundant.

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

19 years ago Drop an impossible case; the while() loop already protected us
William A. Rowe Jr [Mon, 8 Aug 2005 02:57:55 +0000 (02:57 +0000)]
  Drop an impossible case; the while() loop already protected us
  from this situation.

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

19 years ago Fix a double-termination case in svn trunk/; we terminated the
William A. Rowe Jr [Mon, 8 Aug 2005 02:51:32 +0000 (02:51 +0000)]
  Fix a double-termination case in svn trunk/; we terminated the
  headers up-front knowing the resulting headers were already
  correctly composed.

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

19 years ago An impossible-to-hit edge case today; we described the request
William A. Rowe Jr [Mon, 8 Aug 2005 00:57:52 +0000 (00:57 +0000)]
  An impossible-to-hit edge case today; we described the request
  as chunked - and if chunked always send the body termination "0"
  chunk header.

  Roy's requested change that we always send a body we could read
  in full as a C-L request ensures this code wasn't triggered; some
  change in the future could again reveal this edge case.

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

19 years ago* server/vhost.c (get_addresses): Fix double negative and make errors
Joe Orton [Fri, 5 Aug 2005 13:49:07 +0000 (13:49 +0000)]
* server/vhost.c (get_addresses): Fix double negative and make errors
consistent; thanks Joshua.

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

19 years ago* server/vhost.c (get_addresses): Fail with an error message rather
Joe Orton [Fri, 5 Aug 2005 12:27:57 +0000 (12:27 +0000)]
* server/vhost.c (get_addresses): Fail with an error message rather
than an assert() for errors which plague users on Solaris boxes which
don't have a properly configured resolver.

PR: 27525

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

19 years ago* modules/ldap/util_ldap.c (util_ldap_post_config): Pass NULL to
Joe Orton [Wed, 3 Aug 2005 14:44:29 +0000 (14:44 +0000)]
* modules/ldap/util_ldap.c (util_ldap_post_config): Pass NULL to
apr_global_mutex_create if no cache file name is specified, rather
than inventing an inappropriate name with tmpnam().

PR: 30385

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

19 years ago* server/util_pcre.c (ap_regexec): Fix --with-pcre build with older
Joe Orton [Wed, 3 Aug 2005 09:45:57 +0000 (09:45 +0000)]
* server/util_pcre.c (ap_regexec): Fix --with-pcre build with older
versions of pcre.

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

19 years agoPatch contributed by: Daniel Rall <dlr@apache.org>
Martin Kraemer [Tue, 2 Aug 2005 18:01:24 +0000 (18:01 +0000)]
Patch contributed by: Daniel Rall <dlr@apache.org>

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

19 years ago* modules/ldap/util_ldap_cache.c (util_ldap_cache_init): Only remove
Joe Orton [Tue, 2 Aug 2005 14:15:35 +0000 (14:15 +0000)]
* modules/ldap/util_ldap_cache.c (util_ldap_cache_init): Only remove
the shm segment by name if a name is configured.

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

19 years agoFor generated files, strip off an absolute path
Martin Kraemer [Tue, 2 Aug 2005 13:17:20 +0000 (13:17 +0000)]
For generated files, strip off an absolute path

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

19 years agoCommit (forgotten) generated files for changed in ssl_expr_parse.y and ssl_expr_scan.l
Martin Kraemer [Tue, 2 Aug 2005 12:48:36 +0000 (12:48 +0000)]
Commit (forgotten) generated files for changed in ssl_expr_parse.y and ssl_expr_scan.l

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

19 years ago* modules/ldap/util_ldap.c (util_ldap_post_config): Fail if
Joe Orton [Tue, 2 Aug 2005 09:26:51 +0000 (09:26 +0000)]
* modules/ldap/util_ldap.c (util_ldap_post_config): Fail if
util_ldap_cache_init fails; let ap_log_error call strerror.
Downgrade informational messages to APLOG_INFO from APLOG_NOTICE.
(util_ldap_child_init): Remove some noisy but fairly pointless
debugging output.

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

19 years ago* modules/ldap/util_ldap_cache.c (util_ldap_url_node_display,
Joe Orton [Mon, 1 Aug 2005 15:46:46 +0000 (15:46 +0000)]
* modules/ldap/util_ldap_cache.c (util_ldap_url_node_display,
util_ldap_search_node_display, util_ldap_compare_node_display,
util_ldap_dn_compare_node_display): Use ap_rprintf.  Terminate table
rows with "</tr>" not "<tr>".

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

19 years ago* modules/ldap/util_ldap_cache.c: Remove various casts-from-void *,
Joe Orton [Mon, 1 Aug 2005 15:32:28 +0000 (15:32 +0000)]
* modules/ldap/util_ldap_cache.c: Remove various casts-from-void *,
fix various minor style nits.  No functional changes.

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

19 years ago* modules/ldap/util_ldap_cache.c (MODLDAP_SHMEM_CACHE): Remove unused
Joe Orton [Mon, 1 Aug 2005 14:57:35 +0000 (14:57 +0000)]
* modules/ldap/util_ldap_cache.c (MODLDAP_SHMEM_CACHE): Remove unused
macro.

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

19 years ago* modules/ldap/util_ldap.c (util_ldap_post_config): Don't attempt to
Joe Orton [Mon, 1 Aug 2005 14:50:21 +0000 (14:50 +0000)]
* modules/ldap/util_ldap.c (util_ldap_post_config): Don't attempt to
remove the shm segment here.

* modules/ldap/util_ldap_cache.c (util_ldap_cache_init): Properly
remove the shm segment here before creating a new one; don't attach to
any existing shm segment if apr_shm_create() fails.
(util_ldap_cache_module_kill): Don't attempt to remove the shm segment
here; apr_shm_destroy() does that anyway.

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

19 years ago* modules/ssl/mod_ssl.c (ssl_hook_pre_config): Initialize all
Joe Orton [Mon, 1 Aug 2005 12:11:30 +0000 (12:11 +0000)]
* modules/ssl/mod_ssl.c (ssl_hook_pre_config): Initialize all
algorithms in OpenSSL; enables PKCS#8 keyfile support.

PR: 35469

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

19 years agoNitpick; changed for consistency.
Jason S. Lingohr [Mon, 1 Aug 2005 04:18:18 +0000 (04:18 +0000)]
Nitpick; changed for consistency.

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

19 years ago* modules/ldap/util_ldap_cache_mgr.c (util_ald_cache_display): Replace
Joe Orton [Thu, 28 Jul 2005 15:13:51 +0000 (15:13 +0000)]
* modules/ldap/util_ldap_cache_mgr.c (util_ald_cache_display): Replace
ap_rputs(apr_psprintf(...)) with simpler ap_rprintf(...).

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

19 years ago* modules/ldap/util_ldap.c, modules/aaa/mod_authnz_ldap.c: Stop using
Joe Orton [Thu, 28 Jul 2005 15:00:46 +0000 (15:00 +0000)]
* modules/ldap/util_ldap.c, modules/aaa/mod_authnz_ldap.c: Stop using
APLOG_NOERRNO throughout.

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

19 years ago* modules/ldap/util_ldap_cache.c (util_ldap_cache_module_kill): Make
Joe Orton [Thu, 28 Jul 2005 12:02:44 +0000 (12:02 +0000)]
* modules/ldap/util_ldap_cache.c (util_ldap_cache_module_kill): Make
private function static.  (util_ldap_cache_child_kill): Remove
prototype for function which doesn't exist.

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

19 years ago* modules/ldap/util_ldap_cache.c (util_ldap_cache_init): Use the
Joe Orton [Thu, 28 Jul 2005 11:53:25 +0000 (11:53 +0000)]
* modules/ldap/util_ldap_cache.c (util_ldap_cache_init): Use the
actual available size of the shm segment not the requested size.
Ensure the requested size is aligned.  Check errors from apr_rmm_init.

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

19 years agoAdd status param option so that current worker
Mladen Turk [Thu, 28 Jul 2005 11:16:34 +0000 (11:16 +0000)]
Add status param option so that current worker
status can be changed via editing httpd.conf instead
just using web page. Seems the ApacheCon is paying of.
Thanks to Sander for pointing that out.

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

19 years ago* modules/ldap/util_ldap_cache_mgr.c (util_ald_cache_insert,
Joe Orton [Thu, 28 Jul 2005 10:52:52 +0000 (10:52 +0000)]
* modules/ldap/util_ldap_cache_mgr.c (util_ald_cache_insert,
util_ald_cache_remove, util_ald_cache_fetch): Always use "unsigned
long" for hash values, for consistency.

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

19 years ago* modules/ldap/util_ldap_cache_mgr.c (util_ald_cache_insert): Fix a
Joe Orton [Thu, 28 Jul 2005 10:45:59 +0000 (10:45 +0000)]
* modules/ldap/util_ldap_cache_mgr.c (util_ald_cache_insert): Fix a
cache corruption case: ensure that there is room in the cache for a
copy of the payload before inserting the node.

PR: 34209

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

19 years ago* modules/ldap/util_ldap.c: Remove DOCTYPE_* macros duplicated from
Joe Orton [Thu, 28 Jul 2005 09:50:16 +0000 (09:50 +0000)]
* modules/ldap/util_ldap.c: Remove DOCTYPE_* macros duplicated from
httpd.h.  Remove redundant prototypes of static functions which aren't
used before they are declared.

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

19 years ago* modules/ldap/util_ldap.c (util_ldap_cmds): Make static const.
Joe Orton [Thu, 28 Jul 2005 09:43:01 +0000 (09:43 +0000)]
* modules/ldap/util_ldap.c (util_ldap_cmds): Make static const.

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

19 years ago* modules/ldap/util_ldap.c (LDAP_CACHE_LOCK, LDAP_CACHE_UNLOCK):
Joe Orton [Thu, 28 Jul 2005 09:40:08 +0000 (09:40 +0000)]
* modules/ldap/util_ldap.c (LDAP_CACHE_LOCK, LDAP_CACHE_UNLOCK):
Wrap in do/while for safety.

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

19 years agoIgnore httxt2dbm.
Joe Orton [Thu, 28 Jul 2005 08:59:52 +0000 (08:59 +0000)]
Ignore httxt2dbm.

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

19 years ago* modules/experimental/mod_filter.c (filter_trace): Fix gcc
Joe Orton [Thu, 28 Jul 2005 08:00:43 +0000 (08:00 +0000)]
* modules/experimental/mod_filter.c (filter_trace): Fix gcc
-Wformat-security warning.

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

19 years ago* modules/aaa/mod_authnz_ldap.c (authz_ldap_check_user_access): Remove
Joe Orton [Wed, 27 Jul 2005 19:36:07 +0000 (19:36 +0000)]
* modules/aaa/mod_authnz_ldap.c (authz_ldap_check_user_access): Remove
unused variable.

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

19 years agoAdd the path to the mod_ssl include for the setenvif module.
Bradley Nicholes [Tue, 26 Jul 2005 12:47:28 +0000 (12:47 +0000)]
Add the path to the mod_ssl include for the setenvif module.

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

19 years ago* modules/ssl/ssl_expr_eval.c (ssl_expr_eval_oid): Remove unused
Joe Orton [Mon, 25 Jul 2005 12:51:28 +0000 (12:51 +0000)]
* modules/ssl/ssl_expr_eval.c (ssl_expr_eval_oid): Remove unused
variable.

* modules/ssl/ssl_private.h, modules/ssl/mod_ssl.h
(ssl_extlist_by_oid): Move prototype to ssl_private.h.

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

19 years ago* modules/proxy/mod_proxy_http.c (stream_reqbody_cl): Fix format
Joe Orton [Mon, 25 Jul 2005 12:44:40 +0000 (12:44 +0000)]
* modules/proxy/mod_proxy_http.c (stream_reqbody_cl): Fix format
string error.
(ap_proxy_http_request): Restore default case in rb_method switch to
fix gcc warnings.

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

19 years ago* modules/metadata/mod_setenvif.c: Unconditionally include mod_ssl.h.
Joe Orton [Mon, 25 Jul 2005 12:28:42 +0000 (12:28 +0000)]
* modules/metadata/mod_setenvif.c: Unconditionally include mod_ssl.h.
(setenvif_post_config): Fix prototype fubar.

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

19 years agowe need to match the string end.
André Malo [Sat, 23 Jul 2005 21:12:54 +0000 (21:12 +0000)]
we need to match the string end.

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

19 years agoadd generated convenience rewritemap
André Malo [Sat, 23 Jul 2005 21:03:16 +0000 (21:03 +0000)]
add generated convenience rewritemap

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

19 years agoadd xslt script for generating the directive -> url mapping
André Malo [Sat, 23 Jul 2005 21:00:29 +0000 (21:00 +0000)]
add xslt script for generating the directive -> url mapping

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

19 years agorebuild docs.
Paul Querna [Fri, 22 Jul 2005 12:46:16 +0000 (12:46 +0000)]
rebuild docs.

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

19 years agoDescribe the new syntax:
Martin Kraemer [Fri, 22 Jul 2005 12:36:25 +0000 (12:36 +0000)]
Describe the new syntax:
  SetenvIf OID("2.16.840.1.113730.1.13") "(.*)" NetscapeComment=$1

Ehhmm.... How do I make html from this again?

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

19 years agoAllow extraction of the values of SSL certificate extensions into
Martin Kraemer [Fri, 22 Jul 2005 12:11:55 +0000 (12:11 +0000)]
Allow extraction of the values of SSL certificate extensions into
environment variables, so that their value can be used by any
module that is aware of environment variables, as in:

  SetEnvIf OID("2.16.840.1.113730.1.13") "(.*) Generated (Certificate)" ca=$1
sets
  ca=TinyCA
if the cert was issued by TinyCA.

Similarly,
  SetenvIf OID("2.16.840.1.113730.1.13") "(.*)" NetscapeComment=$1
will set $NetscapeComment to the whole string.

It is technically allowed to have multiple instances of an extension
field, all with the same oid. In this case, the environment variable
will be set to the list of all fields, separated by commas.

The [PATCH] uses a cross-module call from mod_setenvif to
mod_ssl (the latter may also be missing: in this case the
variable will never be set). It calls a common function
in the ssl module that is also used for the SSLRequire
directive's test.

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

19 years agobuild.
Paul Querna [Fri, 22 Jul 2005 10:00:46 +0000 (10:00 +0000)]
build.

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

19 years agoUse -o for output of dbm files.
Paul Querna [Fri, 22 Jul 2005 09:58:00 +0000 (09:58 +0000)]
Use -o for output of dbm files.

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

19 years agoChanged cmpstri to strcasecmp as per Justin's note.
Rich Bowen [Thu, 21 Jul 2005 13:46:31 +0000 (13:46 +0000)]
Changed cmpstri to strcasecmp as per Justin's note.

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

19 years agoRemove some rather confusing phrasing regarding mod_proxy and how to
Rich Bowen [Thu, 21 Jul 2005 13:34:11 +0000 (13:34 +0000)]
Remove some rather confusing phrasing regarding mod_proxy and how to
determine if it is installed.

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

19 years agoDocument change to mod_ssl's SSLRequire directive, bump version to 2.3.0 as already...
Martin Kraemer [Thu, 21 Jul 2005 11:58:44 +0000 (11:58 +0000)]
Document change to mod_ssl's SSLRequire directive, bump version to 2.3.0 as already done in the ap_release.h header

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

19 years agoOpps. Use the correct member of the structure.
Paul Querna [Thu, 21 Jul 2005 11:40:30 +0000 (11:40 +0000)]
Opps. Use the correct member of the structure.

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

19 years agoCorrectly restore the HTTP status from the cache handler.
Paul Querna [Thu, 21 Jul 2005 11:37:07 +0000 (11:37 +0000)]
Correctly restore the HTTP status from the cache handler.

Submitted by: Hansjoerg Pehofer

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

19 years agoUsing the user nobody (or similar accounts on other systems like
Wilfredo Sanchez [Thu, 21 Jul 2005 10:46:31 +0000 (10:46 +0000)]
Using the user nobody (or similar accounts on other systems like
nouser) violates the purpose of that user.  User nobody exists
specifically as a user that no process runs as and that owns no files
on disk.  Same for nogroup.

The user and group daemon are the generic system services user and
group.  Use those instead.

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

19 years agoQuick hack to store varied contents under the same path, making it
Paul Querna [Wed, 20 Jul 2005 16:56:23 +0000 (16:56 +0000)]
Quick hack to store varied contents under the same path, making it
easier for admins to manage the cache.

Still requires modifications to htcacheclean to work.

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

19 years agoCollaborative work: (Thanks, dreid!)
Martin Kraemer [Wed, 20 Jul 2005 16:42:58 +0000 (16:42 +0000)]
Collaborative work: (Thanks, dreid!)
Implement OID checking for mod_ssl. This code allows for checking of arbitrary client
certificate extensions by OID, in a syntax like:
   SSLRequire "BaDCA Generated Certificate" in Oid("2.16.840.1.113730.1.13") \
          || "committers"                   in Oid("1.3.6.1.4.1.18060.1")
Note the following:
* A given OID can occur multiple times in one cert, with different values. Therefore
  the OID function compares the left-hand string against each of the OID values,
  until a complete match is found. If none patches, the result is FALSE
* The left hand side can be another expression, so can be a reference to a variable
  or an file() invocation etc.
* The OID is also just a reference to a string, or function, or whatever.
* My manual description is very short. Someone else please help improve the description

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

19 years agoThe arguments to require are case-sensitive, so that "Require User" and
Rich Bowen [Wed, 20 Jul 2005 16:23:35 +0000 (16:23 +0000)]
The arguments to require are case-sensitive, so that "Require User" and
"Require Valid-User" don't work. This makes those comparisons
case-insensitive.

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

19 years agoNow you can run mod_deflate before mod_cache, and cache it.
Paul Querna [Wed, 20 Jul 2005 14:35:21 +0000 (14:35 +0000)]
Now you can run mod_deflate before mod_cache, and cache it.

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

19 years agore-indent.
Paul Querna [Wed, 20 Jul 2005 14:28:54 +0000 (14:28 +0000)]
re-indent.

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

19 years agoCheck an alternative return value for when a file or directory does not exist. Previ...
Paul Querna [Wed, 20 Jul 2005 11:20:33 +0000 (11:20 +0000)]
Check an alternative return value for when a file or directory does not exist.  Previously this would return a forbidden on the documentation website for any URL ending in .html.

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

19 years ago* support/httxt2dbm.c: Include stdlib.h to pick up atexit() prototype.
Joe Orton [Wed, 20 Jul 2005 06:08:47 +0000 (06:08 +0000)]
* support/httxt2dbm.c: Include stdlib.h to pick up atexit() prototype.

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

19 years ago`build bootstrap`
André Malo [Tue, 19 Jul 2005 17:11:44 +0000 (17:11 +0000)]
`build bootstrap`
`build all`

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

19 years ago* modules/http/http_filters.c (ap_send_http_trace): Silence gcc
Joe Orton [Tue, 19 Jul 2005 14:34:28 +0000 (14:34 +0000)]
* modules/http/http_filters.c (ap_send_http_trace): Silence gcc
variable-may-be-used-uninitialized warnings.

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

19 years agoUpdate Japanese translation.
Hiroaki Kawai [Tue, 19 Jul 2005 14:04:30 +0000 (14:04 +0000)]
Update Japanese translation.
fix typo.

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

19 years agouse utf-8 for our CHANGES. We have problems to add international names
André Malo [Tue, 19 Jul 2005 12:23:32 +0000 (12:23 +0000)]
use utf-8 for our CHANGES. We have problems to add international names
otherwise.

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

19 years agoUpdate Japanese translation.
Hiroaki Kawai [Tue, 19 Jul 2005 11:33:50 +0000 (11:33 +0000)]
Update Japanese translation.

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

19 years agoUpdate Japanese translation.
Hiroaki Kawai [Tue, 19 Jul 2005 10:50:15 +0000 (10:50 +0000)]
Update Japanese translation.

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

19 years agoUpdate Japanese translation.
Hiroaki Kawai [Tue, 19 Jul 2005 10:38:23 +0000 (10:38 +0000)]
Update Japanese translation.

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

19 years agoFix typo.
Hiroaki Kawai [Tue, 19 Jul 2005 10:14:17 +0000 (10:14 +0000)]
Fix typo.

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

19 years ago* fix properties
André Malo [Tue, 19 Jul 2005 09:49:16 +0000 (09:49 +0000)]
* fix properties
* `build all`

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

19 years agoFix typo and recover missing sentences.
Hiroaki Kawai [Mon, 18 Jul 2005 16:58:39 +0000 (16:58 +0000)]
Fix typo and recover missing sentences.

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

19 years ago Yet another snafu in body handling. We need to clearly avoid any
William A. Rowe Jr [Mon, 18 Jul 2005 16:48:25 +0000 (16:48 +0000)]
  Yet another snafu in body handling.  We need to clearly avoid any
  ap_get_brigade or request body processing in every *subrequest*
  proxy action.  The new code introduced more chaos because we read
  the request body irrespective of any bogus header handling bugs.

  This requires a goto, and yes, that sucks :)  But this is one of those
  oddball cases where jumping away makes more sense than tons of indented
  code, IMHO.  And if you count the number of goto's I've committed to
  httpd, you know I avoid them like the plague.

  I woulda' suggestd to jorton to take a flying carnal act, except that
  each time he points me back to the 2.0 patch, I catch another entirely
  bogus choice within the old/new httpd-2.x request body code :)

  I've bumped the 2.0 patch to correspond; see
  http://people.apache.org/~wrowe/httpd-2.0-proxy-request-4.patch

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

19 years agomove trunk to 2.3.0-dev.
Paul Querna [Mon, 18 Jul 2005 15:52:19 +0000 (15:52 +0000)]
move trunk to 2.3.0-dev.

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

19 years agoPicking a nit
Rich Bowen [Mon, 18 Jul 2005 14:49:02 +0000 (14:49 +0000)]
Picking a nit

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

19 years agoFix typo.
Hiroaki Kawai [Mon, 18 Jul 2005 13:10:34 +0000 (13:10 +0000)]
Fix typo.

Submitted by: Daniel Lopez <daniel@rawbyte.com>

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

19 years agoc/major bump/minor bump/
Ian Holsman [Mon, 18 Jul 2005 00:59:59 +0000 (00:59 +0000)]
c/major bump/minor bump/

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

19 years ago Fix broken while () {} loops (lingering code from the old logic),
William A. Rowe Jr [Mon, 18 Jul 2005 00:16:52 +0000 (00:16 +0000)]
  Fix broken while () {} loops (lingering code from the old logic),
  closes an infinite loop in the most recent version.  Init the cl_val
  to prevent failure of zero length bodies in the most recent version.

  Use 'request body' instead of 'data' to describe any errors.

  Finally, loop around ap_get_brigade to grab multiple chunks that still
  fall below our MAX_MEM_SPOOL threshold, since the chunk decoding from
  the client will pass up just one small chunk per ap_get_brigade call.

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

19 years agoDocumentation for the new httxt2dbm utility.
Rich Bowen [Mon, 18 Jul 2005 00:11:13 +0000 (00:11 +0000)]
Documentation for the new httxt2dbm utility.

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

19 years agoAdd Serbian error message translation
André Malo [Sun, 17 Jul 2005 10:21:57 +0000 (10:21 +0000)]
Add Serbian error message translation

Translated by: Nikola Smolenski <smolensk eunet.yu>
Reviewed by: Danilo Šegan <danilo gnome.org>

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

19 years agoThis patch adds a new hook (request_status) that gets ran in proxy_handler
Ian Holsman [Sun, 17 Jul 2005 05:12:10 +0000 (05:12 +0000)]
This patch adds a new hook (request_status) that gets ran in proxy_handler
just before the final return.  This gives modules an opportunity to do
something based on the proxy status.

A couple of examples where this is useful:

-You are using a caching module and would rather return stale content rather
than an error to the client if the origin is down.

-you proxy some subrequests (using SSI - mod_include) and do not want SSI
errors when the backend is down. If you would normally return
HTTP_BAD_GATEWAY, you may have a module that serves some other content.

new hook -- so mmn bump.. i made it a major one, hope thats ok

Patch From Brian Akins <Brian.Akins turner.com>

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

19 years agoupdate transformation
André Malo [Sat, 16 Jul 2005 11:46:15 +0000 (11:46 +0000)]
update transformation

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

19 years ago Backported a few already
William A. Rowe Jr [Fri, 15 Jul 2005 18:32:54 +0000 (18:32 +0000)]
  Backported a few already

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

19 years ago On Roy's suggestion; why wait to try to clear out the input
William A. Rowe Jr [Fri, 15 Jul 2005 17:39:27 +0000 (17:39 +0000)]
  On Roy's suggestion; why wait to try to clear out the input
  stream if it is smaller than MAX_MEM_SPOOL?  Do this upfront
  before dispatching to a body handler.

  This means changing each of the three body pumps to presume
  a preexisting input_brigade was already loaded, so turn around
  their loop conditions.

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

19 years ago Fix a style problem; b is ambigous (is it a brigade or bucket?)
William A. Rowe Jr [Fri, 15 Jul 2005 17:37:56 +0000 (17:37 +0000)]
  Fix a style problem; b is ambigous (is it a brigade or bucket?)
  bb is far less ambigous.

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

19 years ago leaving force-proxy-request-1.0 for broken clients, revert my
William A. Rowe Jr [Fri, 15 Jul 2005 17:32:14 +0000 (17:32 +0000)]
  leaving force-proxy-request-1.0 for broken clients, revert my
  patch for forcing an HTTP/1.0 proxy request, if the client
  request is HTTP/1.0, per Roy.

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

19 years ago Missed an edge case; once we know the C-L didn't match, it's
William A. Rowe Jr [Thu, 14 Jul 2005 16:17:56 +0000 (16:17 +0000)]
  Missed an edge case; once we know the C-L didn't match, it's
  time to shut down the body already.  Finish reading from the
  client but do nothing else, returning an error.

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

19 years ago How can I fix thee? let me count the ways...
William A. Rowe Jr [Thu, 14 Jul 2005 03:42:22 +0000 (03:42 +0000)]
  How can I fix thee?  let me count the ways...

  * pass a chunked body always (no-body requests don't go chunked).

  * validate that the C-L counted body length doesn't change.

  * follow RFC 2616 for C-L / T-E in the request body C-L / T-E
    election logic.

  * do not forward HTTP/1.0 requests as HTTP/1.1, unless the admin
    configures force-proxy-request-1.1

  * conn was illegible, use 2.0's p_conn.

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

19 years ago Fix two fat-fingered typos from commit 216156. Code matches previous
William A. Rowe Jr [Wed, 13 Jul 2005 14:06:24 +0000 (14:06 +0000)]
  Fix two fat-fingered typos from commit 216156.  Code matches previous
  behavior now; time to start fixing.

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

19 years ago send_request_body and indentation made it very difficult to follow
William A. Rowe Jr [Wed, 13 Jul 2005 13:59:32 +0000 (13:59 +0000)]
  send_request_body and indentation made it very difficult to follow
  all the mistakes in this code.  Fold send_request_body into reindent
  to make the pattern clear and skip some extra string handling.
  Little functional change, that comes next.

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

19 years ago End abuse of apr_strnat[case]cmp - it isn't str[case]cmp.
William A. Rowe Jr [Wed, 13 Jul 2005 04:43:59 +0000 (04:43 +0000)]
  End abuse of apr_strnat[case]cmp - it isn't str[case]cmp.

  Unsure if apr_strnatcasecmp(conf_ip, uri_ip) was intentional, on the
  off chance that the left or right hand ip string happens to contain
  leading zeros.

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