]> granicus.if.org Git - apache/log
apache
20 years agoFix a long delay with CGI requests and keepalive connections on
Jeff Trawick [Fri, 7 Nov 2003 15:26:34 +0000 (15:26 +0000)]
Fix a long delay with CGI requests and keepalive connections on
AIX.

On AIX, for processes like mod_cgid's script children where
SIGCHLD is ignored, kill(pid,0) returns success for up to
one second after the script child exits, based on when a
daemon runs to clean up unnecessary process table entries.
getpgid() can report the proper info (-1/ESRCH) immediately.

One user had a page with a lot of embedded images created by
CGIs, and the browser fetched them on a keepalive connection,
and the cumulative delays were very noticeable by the clients.

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

20 years agoFix uninitialized gprof directory name in prefork MPM.
Jeff Trawick [Fri, 7 Nov 2003 13:40:04 +0000 (13:40 +0000)]
Fix uninitialized gprof directory name in prefork MPM.

PR:           24450
Submitted by: Chris Knight <Christopher.D.Knight@nasa.gov>
Reviewed by:  Jeff Trawick

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

20 years agofix another segfault condition in ldap cache code
Jeff Trawick [Fri, 7 Nov 2003 10:49:35 +0000 (10:49 +0000)]
fix another segfault condition in ldap cache code

PR:              18756
Submitted by:  Matthieu Estrade
Reviewed by:  Jeff Trawick

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

20 years agoAllow translation of generated output such as mod_autoindex using charsets
Bradley Nicholes [Fri, 7 Nov 2003 01:01:27 +0000 (01:01 +0000)]
Allow translation of generated output such as mod_autoindex using charsets
other than EBCDIC.

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

20 years agomod_auth_ldap: Fix some segfaults in the cache logic.
Jeff Trawick [Thu, 6 Nov 2003 20:45:56 +0000 (20:45 +0000)]
mod_auth_ldap: Fix some segfaults in the cache logic.

PR:                18756
Submitted by:      Matthieu Estrade <apache@moresecurity.org>
Reviewed by:       Jeff Trawick

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

20 years ago* support/logresolve.c (strdup): Remove, APR already
Joe Orton [Wed, 5 Nov 2003 17:21:56 +0000 (17:21 +0000)]
* support/logresolve.c (strdup): Remove, APR already
provides this if necessary.

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

20 years ago* modules/loggers/mod_log_config.c (log_request_time): Log
Joe Orton [Wed, 5 Nov 2003 17:16:00 +0000 (17:16 +0000)]
* modules/loggers/mod_log_config.c (log_request_time): Log
the minutes component of the timezone correctly.

PR: 23642
Submitted by: Hong-Gunn Chew <hgbug@gunnet.org>

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

20 years agodarn, the patch for bug 9587 (wrong icon for directories shown) broke
André Malo [Mon, 3 Nov 2003 21:57:51 +0000 (21:57 +0000)]
darn, the patch for bug 9587 (wrong icon for directories shown) broke
the directory descriptions more or less completely. Fix it now.

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

20 years agofix a compile failure with recent z/OS and picky settings for compiler/
Jeff Trawick [Mon, 3 Nov 2003 17:30:45 +0000 (17:30 +0000)]
fix a compile failure with recent z/OS and picky settings for compiler/
library

("unsigned short" is more portable than "ushort")

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

20 years agono longer allow an ETag header in 304 responses.
André Malo [Sun, 2 Nov 2003 22:09:19 +0000 (22:09 +0000)]
no longer allow an ETag header in 304 responses.

PR: 19355
Submitted by: Geoffrey Young <geoff@apache.org>

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

20 years agodocument the new XHTML Index option
André Malo [Sun, 2 Nov 2003 20:52:24 +0000 (20:52 +0000)]
document the new XHTML Index option

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

20 years ago- add XHTML doctypes to httpd.h
André Malo [Sun, 2 Nov 2003 20:37:04 +0000 (20:37 +0000)]
- add XHTML doctypes to httpd.h
- fix the (x)html output of mod_autoindex to be consistent
  and make it configurable to emit either HTML or XHTML

PR: 23747

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

20 years agoupdate transformation
André Malo [Sun, 2 Nov 2003 14:40:45 +0000 (14:40 +0000)]
update transformation

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

20 years agouse periods instead of colons
André Malo [Sun, 2 Nov 2003 14:40:18 +0000 (14:40 +0000)]
use periods instead of colons

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

20 years agoadd a note about the incremental behaviour of language and encoding
André Malo [Sun, 2 Nov 2003 12:51:59 +0000 (12:51 +0000)]
add a note about the incremental behaviour of language and encoding
extensions.

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

20 years agoadd a comment
André Malo [Sun, 2 Nov 2003 12:21:33 +0000 (12:21 +0000)]
add a comment

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

20 years agoA few more typos.
Chris Pepper [Sun, 2 Nov 2003 05:07:02 +0000 (05:07 +0000)]
A few more typos.

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

20 years agos/inluding/including
Chris Pepper [Sun, 2 Nov 2003 05:02:22 +0000 (05:02 +0000)]
s/inluding/including

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

20 years agoHmpf, ok, commit this to head.
Astrid Malo [Sun, 2 Nov 2003 01:23:16 +0000 (01:23 +0000)]
Hmpf, ok, commit this to head.

Content is based on 2.0, changes for 2.1 are comming soon.

Still waiting for a review :)

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

20 years agoprovide a workaround for buggy mod_setenvif
André Malo [Sun, 2 Nov 2003 00:52:26 +0000 (00:52 +0000)]
provide a workaround for buggy mod_setenvif

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

20 years agofix optimizer to not throw away a regex if it stumbles over it.
André Malo [Sun, 2 Nov 2003 00:36:08 +0000 (00:36 +0000)]
fix optimizer to not throw away a regex if it stumbles over it.

PR: 24219

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

20 years agoimprove some module descriptions
Astrid Malo [Sun, 2 Nov 2003 00:04:47 +0000 (00:04 +0000)]
improve some module descriptions

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

20 years agoFix sample regex
André Malo [Sat, 1 Nov 2003 23:35:39 +0000 (23:35 +0000)]
Fix sample regex

Submitted by: Matthew Wilcox <willy@debian.org>
PR: 24165

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

20 years agoDon't omit the initial <tr> if SuppressIcon is set.
André Malo [Sat, 1 Nov 2003 23:00:25 +0000 (23:00 +0000)]
Don't omit the initial <tr> if SuppressIcon is set.

Submitted by: Jesse Tie-Ten-Quee <highos@highos.com>
PR: 21668

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

20 years agoLet mod_autoindex show filenames containing special chars like %.
André Malo [Sat, 1 Nov 2003 22:29:42 +0000 (22:29 +0000)]
Let mod_autoindex show filenames containing special chars like %.

PR: 13598

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

20 years agoimprove readability a (little) bit
André Malo [Sat, 1 Nov 2003 22:06:28 +0000 (22:06 +0000)]
improve readability a (little) bit

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

20 years agosync with stable branch
Jeff Trawick [Sat, 1 Nov 2003 16:30:18 +0000 (16:30 +0000)]
sync with stable branch

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

20 years agosync with stable branch
Jeff Trawick [Sat, 1 Nov 2003 16:23:32 +0000 (16:23 +0000)]
sync with stable branch

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

20 years agoMention force-no-vary in the content-negotiation docs.
Joshua Slive [Sat, 1 Nov 2003 00:46:53 +0000 (00:46 +0000)]
Mention force-no-vary in the content-negotiation docs.

PR: 23798

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

20 years agoRevert the change to the cmd_func typedef to avoid a type mismatch
Bradley Nicholes [Fri, 31 Oct 2003 22:00:38 +0000 (22:00 +0000)]
Revert the change to the cmd_func typedef to avoid a type mismatch
compiler error in the Metrowerks compiler

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

20 years ago* include/http_config.h
Sander Striker [Fri, 31 Oct 2003 09:01:49 +0000 (09:01 +0000)]
* include/http_config.h

  (cmd_func): Fix prototype, eliminate warning.

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

20 years agohtdbm and checkgid need some documentation
Astrid Malo [Fri, 31 Oct 2003 08:05:42 +0000 (08:05 +0000)]
htdbm and checkgid need some documentation

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

20 years ago* modules/generators/mod_info.c:
Thom May [Thu, 30 Oct 2003 16:43:45 +0000 (16:43 +0000)]
* modules/generators/mod_info.c:
        (mod_info_module_cmds) ap_escape_html() all directives and
        arguments.
PR: 24232

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

20 years ago* ssl_engine_log.c (ssl_log_ssl_error): Use the thread-safe
Joe Orton [Thu, 30 Oct 2003 12:15:28 +0000 (12:15 +0000)]
* ssl_engine_log.c (ssl_log_ssl_error): Use the thread-safe
interface for retrieving error strings.

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

20 years agoFix missing human-readable error information in SSL log messages:
Joe Orton [Thu, 30 Oct 2003 12:07:06 +0000 (12:07 +0000)]
Fix missing human-readable error information in SSL log messages:

* mod_ssl.c (ssl_cleanup_pre_config): Don't free the error strings,
since they can't be loaded again once.

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

20 years agomod_status: Report total CPU time accurately when using a threaded
Jeff Trawick [Wed, 29 Oct 2003 20:56:28 +0000 (20:56 +0000)]
mod_status: Report total CPU time accurately when using a threaded
MPM.

Note: It worked before with linuxthreads and it still does.  But now
it works with normal thread implementations too.

PR:     23795

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

20 years agoForward port from 2.0:
Sander Striker [Sun, 26 Oct 2003 23:25:44 +0000 (23:25 +0000)]
Forward port from 2.0:

SECURITY [CAN-2003-0789]: mod_cgid: Resolve some mishandling of
the AF_UNIX socket used to communicate with the cgid daemon and
the CGI script.

Submitted by: Jeff Trawick

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

20 years agoFold in the CAN-2003-0542 regex patch.
Sander Striker [Fri, 24 Oct 2003 16:20:28 +0000 (16:20 +0000)]
Fold in the CAN-2003-0542 regex patch.

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

20 years agosync
André Malo [Thu, 23 Oct 2003 20:17:27 +0000 (20:17 +0000)]
sync

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

20 years ago* modules/ssl/ssl_engine_vars.c (ssl_var_log_handler_c): Fix
Joe Orton [Thu, 23 Oct 2003 13:12:38 +0000 (13:12 +0000)]
* modules/ssl/ssl_engine_vars.c (ssl_var_log_handler_c): Fix
segfault on a non-SSL request.

PR: 22741
Submitted by: Gary E. Miller <gem@rellim.com>

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

20 years agoWhen UseCanonicalName is set to OFF, allow ap_get_server_port to check
Bradley Nicholes [Wed, 22 Oct 2003 17:07:26 +0000 (17:07 +0000)]
When UseCanonicalName is set to OFF, allow ap_get_server_port to check
r->connection->local_addr->port before defaulting to server->port or
ap_default_port().

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

20 years agoSet the scoreboard state to indicate logging prior to running
Jeff Trawick [Wed, 22 Oct 2003 16:45:53 +0000 (16:45 +0000)]
Set the scoreboard state to indicate logging prior to running
logging hooks so that server-status will show 'L' for hung loggers
instead of 'W'.

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

20 years ago* proxy_http.c (ap_proxy_http_process_response): Send a valid
Joe Orton [Wed, 22 Oct 2003 16:09:58 +0000 (16:09 +0000)]
* proxy_http.c (ap_proxy_http_process_response): Send a valid
status-line even if the parsed status-line had no trailing spaces.
Remove the warning for this case as triggers for valid status-lines
too.

PR: 23998

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

20 years agoFix a cosmetic issue where OpenSSL 0.9.7 will dump the error stack
Joe Orton [Wed, 22 Oct 2003 15:04:11 +0000 (15:04 +0000)]
Fix a cosmetic issue where OpenSSL 0.9.7 will dump the error stack
during pass phrase entry.

* ssl_engine_pphrase.c (ssl_pphrase_Handle): Clear the OpenSSL error
stack before reading the private key.

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

20 years agoPrevent slow graceful restarts on some platforms:
Joe Orton [Wed, 22 Oct 2003 11:38:46 +0000 (11:38 +0000)]
Prevent slow graceful restarts on some platforms:

* prefork.c (ap_mpm_run): Only make as many dummy connections as slots
used, not as many as slots are available.

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

20 years agosync with APACHE_2_0_BRANCH
Jeff Trawick [Wed, 15 Oct 2003 23:21:46 +0000 (23:21 +0000)]
sync with APACHE_2_0_BRANCH

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

20 years agofix segfault which occured if the filename was not
André Malo [Wed, 15 Oct 2003 22:55:48 +0000 (22:55 +0000)]
fix segfault which occured if the filename was not
set, for example, when processing some error conditions.

PR: 23836

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

20 years agobackported this change to 2.0:
Stas Bekman [Tue, 14 Oct 2003 03:45:17 +0000 (03:45 +0000)]
backported this change to 2.0:

     fix the config parser to support <Foo>..</Foo> containers (no
     arguments in the opening tag) supported by httpd 1.3. Without
     this change mod_perl 2.0's <Perl> sections are broken.
PR:
Obtained from:
Submitted by:
Reviewed by:

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

20 years agoAdd a note about the special handling of log messages with a level of
Erik Abele [Tue, 14 Oct 2003 00:29:04 +0000 (00:29 +0000)]
Add a note about the special handling of log messages with a level of
'Notice'. Fixes PR#23724. German version included ;)

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

20 years agotag the pools created for requests and subrequests
Jeff Trawick [Mon, 13 Oct 2003 23:43:00 +0000 (23:43 +0000)]
tag the pools created for requests and subrequests

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

20 years agoFix a typo and remove an invalid section about the non-existent mod_ssl
Erik Abele [Mon, 13 Oct 2003 23:00:51 +0000 (23:00 +0000)]
Fix a typo and remove an invalid section about the non-existent mod_ssl
bugdb. According to Ralf there are no plans to fix it and this doc is
pretty out of date anyways. See also PR#18574.

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

20 years ago"Change the list of checks in the security model to more accurately reflect
Erik Abele [Sun, 12 Oct 2003 23:37:16 +0000 (23:37 +0000)]
"Change the list of checks in the security model to more accurately reflect
what happens, and in the correct order. Also fix the default locations, and
add a subsection about setting paranoid permissions."

Submitted by: Colm MacCarthaigh <colm@stdlib.net>

Additionally cleaned up the whole xml source to keep the docs consistent
(mostly cosmetic fixes, formatting, typos).

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

20 years agoThis doesn't go in here... it goes in the BACKPORT section of the STATUS
Cliff Woolley [Sat, 11 Oct 2003 21:12:39 +0000 (21:12 +0000)]
This doesn't go in here... it goes in the BACKPORT section of the STATUS
file that's on the APACHE_2_0_BRANCH

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

20 years agospelling fix
Stas Bekman [Sat, 11 Oct 2003 06:38:12 +0000 (06:38 +0000)]
spelling fix
PR:
Obtained from:
Submitted by:
Reviewed by:

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

20 years agofix the config parser to support <Foo>..</Foo> containers (no
Stas Bekman [Sat, 11 Oct 2003 06:37:45 +0000 (06:37 +0000)]
fix the config parser to support <Foo>..</Foo> containers (no
arguments in the opening tag) supported by httpd 1.3. Without
this change mod_perl 2.0's <Perl> sections are broken.
PR:
Obtained from:
Submitted by: "Philippe M. Chiasson" <gozer@cpan.org>
Reviewed by: stas

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

20 years agoa href updates, plus transformation.
Jason S. Lingohr [Sat, 11 Oct 2003 05:20:47 +0000 (05:20 +0000)]
a href updates, plus transformation.

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

20 years agoreflect backported change
Roy T. Fielding [Sat, 11 Oct 2003 02:12:03 +0000 (02:12 +0000)]
reflect backported change

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

20 years agomatch the comments in 2.0
Roy T. Fielding [Sat, 11 Oct 2003 02:08:33 +0000 (02:08 +0000)]
match the comments in 2.0

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

20 years agoadd a note about *:80 and change the example to use it.
André Malo [Fri, 10 Oct 2003 23:08:19 +0000 (23:08 +0000)]
add a note about *:80 and change the example to use it.

PR: 23606

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

20 years agoformatting only
André Malo [Fri, 10 Oct 2003 22:48:53 +0000 (22:48 +0000)]
formatting only

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

20 years agoremove a wrong not about file-to-file hooks.
André Malo [Fri, 10 Oct 2003 22:12:24 +0000 (22:12 +0000)]
remove a wrong not about file-to-file hooks.

PR: 23618

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

20 years agodo sync.
André Malo [Fri, 10 Oct 2003 18:22:55 +0000 (18:22 +0000)]
do sync.

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

20 years agoadd map_to_storage hook to mod_example
Jeff Trawick [Fri, 10 Oct 2003 09:19:12 +0000 (09:19 +0000)]
add map_to_storage hook to mod_example

Submitted by: Geoffrey Young <geoff@modperlcookbook.org>
Reviewed by:  Jeff Trawick

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

20 years agofix a typo
Cliff Woolley [Fri, 10 Oct 2003 03:50:58 +0000 (03:50 +0000)]
fix a typo

PR: 23713
Submitted by: millenix@zemos.net

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

20 years agomod_cgid: fix a hash table corruption problem which could
Jeff Trawick [Thu, 2 Oct 2003 11:58:57 +0000 (11:58 +0000)]
mod_cgid: fix a hash table corruption problem which could
result in the wrong script being cleaned up at the end of a
request.

Unique storage was not used for the key, as the code assumed
incorrectly that apr_hash_set() made a copy of the key.  Thus,
when the script pid was looked up at the end of the request,
some other script's pid could be found.

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

20 years agoCheck to make sure that the file name is not NULL before passing it to the
Bradley Nicholes [Tue, 30 Sep 2003 22:01:34 +0000 (22:01 +0000)]
Check to make sure that the file name is not NULL before passing it to the
strncmp() function.  At least on NetWare this prevents the strncmp() function
from faulting and also brings the code into sync with similar checks for a NULL
file name before calling strncmp() in other areas of this file.

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

20 years agoUpdate as a result of a backport.
Paul J. Reder [Tue, 30 Sep 2003 17:45:54 +0000 (17:45 +0000)]
Update as a result of a backport.

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

20 years agoMatch type of both arguments (get rid of compiler warning) in x ? y : z expression
Martin Kraemer [Tue, 30 Sep 2003 15:22:41 +0000 (15:22 +0000)]
Match type of both arguments (get rid of compiler warning) in x ? y : z expression

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

20 years agoCosmetics: remove redundancy
Martin Kraemer [Tue, 30 Sep 2003 09:30:06 +0000 (09:30 +0000)]
Cosmetics: remove redundancy

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

20 years agoTypo
Martin Kraemer [Tue, 30 Sep 2003 08:21:04 +0000 (08:21 +0000)]
Typo

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

20 years agoTypo
Martin Kraemer [Tue, 30 Sep 2003 08:15:36 +0000 (08:15 +0000)]
Typo

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

20 years agoUpdate to document a completed backport
Paul J. Reder [Mon, 29 Sep 2003 21:13:27 +0000 (21:13 +0000)]
Update to document a completed backport

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

20 years agomake sure we have prototype for strcasecmp()
Jeff Trawick [Mon, 29 Sep 2003 14:03:37 +0000 (14:03 +0000)]
make sure we have prototype for strcasecmp()

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

20 years agoBackport done.
Thom May [Mon, 29 Sep 2003 12:12:19 +0000 (12:12 +0000)]
Backport done.

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

20 years agoSwitch to the new 32-bit APR atomic API for better portability
Brian Pane [Mon, 29 Sep 2003 03:58:41 +0000 (03:58 +0000)]
Switch to the new 32-bit APR atomic API for better portability
(the old code assumed that apr_atomic_t and apr_uint32_t were interchangeable).
Also, add more detailed comments on how one of the synchronization
functions works.

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

20 years agoSetting lr = NULL on line 399 leads the the loop
Cliff Woolley [Sun, 28 Sep 2003 16:30:43 +0000 (16:30 +0000)]
Setting lr = NULL on line 399 leads the the loop
closing early (see line 343) and the ap_listeners list being
nonsense.

End result is a segfault if something is already listening on ::
on our port when httpd is started.

Submitted by: Colm MacCarthaigh <colm@stdlib.net>

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

20 years ago"Listen 80" just works now, using v4-only, v6-only, mapped address
Cliff Woolley [Sun, 28 Sep 2003 16:27:24 +0000 (16:27 +0000)]
"Listen 80" just works now, using v4-only, v6-only, mapped address
or non-mapped address.

Submitted by: Colm MacCarthaigh <colm@stdlib.net>

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

20 years agoThere is no longer any need for different Listen directives to
Cliff Woolley [Sun, 28 Sep 2003 16:23:47 +0000 (16:23 +0000)]
There is no longer any need for different Listen directives to
use mapped/non-mapped addresses.  Also cleared up that not all
platforms support v6-only sockets.

Submitted by:  Colm MacCarthaigh <colm@stdlib.net>

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

20 years agodocument linux TCP checksum offloading bugs.
Cliff Woolley [Sun, 28 Sep 2003 16:21:43 +0000 (16:21 +0000)]
document linux TCP checksum offloading bugs.

submitted by: Colm MacCarthaigh <colm@stdlib.net>

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

20 years ago* CHANGES
Sander Striker [Sat, 27 Sep 2003 18:47:41 +0000 (18:47 +0000)]
* CHANGES

  Update to account for backport.

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

20 years ago* CHANGES
Sander Striker [Sat, 27 Sep 2003 18:35:31 +0000 (18:35 +0000)]
* CHANGES

  Update to account for backport.

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

20 years ago* CHANGES
Sander Striker [Sat, 27 Sep 2003 18:25:24 +0000 (18:25 +0000)]
* CHANGES

  Update to account for backport.

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

20 years ago* CHANGES
Sander Striker [Sat, 27 Sep 2003 18:18:12 +0000 (18:18 +0000)]
* CHANGES

  Update to account for backport.

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

20 years agochange some error log messages to be more concise
Jeff Trawick [Thu, 25 Sep 2003 20:50:26 +0000 (20:50 +0000)]
change some error log messages to be more concise

Submitted by: Bill Rowe

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

20 years agoLog an error when requests for URIs which fail to map to a valid
Jeff Trawick [Thu, 25 Sep 2003 16:00:56 +0000 (16:00 +0000)]
Log an error when requests for URIs which fail to map to a valid
filesystem name are rejected with 403.

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

20 years agoThe problem that this patch solves is one where cookie names are mis-identified
Cliff Woolley [Tue, 23 Sep 2003 22:40:23 +0000 (22:40 +0000)]
The problem that this patch solves is one where cookie names are mis-identified
by mod_usertrack. This is because of the use of strstr() in spot_cookie() the
original mod_usertrack.c to find the name of the cookie. strstr(), by virtue of
looking for a substring instead of an exact match, can mis-identify the cookie
"MyID" as the cookie "ID" or "My". So, if you were looking for the value of the
cookie "ID", but only the cookie "MyID" was returned by the browser,
mod_usertrack.c would return the value of the "MyID" cookie in place of the
"ID" you were looking for.

Even more seriously, because strstr is invoked before the cookie name is
separated from its cookie value, a cookie and value like
"myCookie=thisisnotIDeal" will be a false positive if you told mod_usertrack
the cookie name was ID. Furthermore, using this example, "eal" will get logged
as the value of the cookie; now that strstr has incorrectly identified the
substring "ID" as the cookie name, the following "e" (assumed to be the "="
sign) gets discarded, and the remaining content used as the value of
the cookie.

Replacing the strstr() with a more robust regex match fixes this problem.

PR:    16661
Submitted by:   Manni Wood <manniwood@planet-save.com>

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

20 years ago SSL-C doesn't declare the char* file arg const, so we shouldn't either.
William A. Rowe Jr [Mon, 22 Sep 2003 19:26:21 +0000 (19:26 +0000)]
  SSL-C doesn't declare the char* file arg const, so we shouldn't either.

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

20 years agoFix mod_info to use the real config file name, not the default
Jeff Trawick [Fri, 19 Sep 2003 20:02:04 +0000 (20:02 +0000)]
Fix mod_info to use the real config file name, not the default
config file name.

Submitted by:   Aryeh Katz <aryeh@secured-services.com>
Reviewed by:    G�nter Knauf, Jeff Trawick

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

20 years agothis won't work with 5.003, so bump up the require to
Jeff Trawick [Fri, 19 Sep 2003 19:55:16 +0000 (19:55 +0000)]
this won't work with 5.003, so bump up the require to
5.004:

  my $cntopen = () = ($before =~ m|^\s*<[^/].*$|mg);

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

20 years agoRevert nd's standard vs. draft changes.
Erik Abele [Fri, 19 Sep 2003 14:58:04 +0000 (14:58 +0000)]
Revert nd's standard vs. draft changes.

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

20 years agoSilly me and my tabs.
Jason S. Lingohr [Fri, 19 Sep 2003 12:22:58 +0000 (12:22 +0000)]
Silly me and my tabs.

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

20 years agoCorrections/fixes & transformation update.
Jason S. Lingohr [Fri, 19 Sep 2003 10:41:09 +0000 (10:41 +0000)]
Corrections/fixes & transformation update.

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

20 years agoRFC 2617 is standard, not draft
André Malo [Thu, 18 Sep 2003 20:57:12 +0000 (20:57 +0000)]
RFC 2617 is standard, not draft

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

20 years agobring german sitemap up to date
André Malo [Thu, 18 Sep 2003 20:44:24 +0000 (20:44 +0000)]
bring german sitemap up to date

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

20 years agoadd relevant standards page to the sitemap.
André Malo [Thu, 18 Sep 2003 20:28:29 +0000 (20:28 +0000)]
add relevant standards page to the sitemap.

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

20 years agoCorrections/fixes, more to come. Transformation update.
Jason S. Lingohr [Thu, 18 Sep 2003 14:03:15 +0000 (14:03 +0000)]
Corrections/fixes, more to come.  Transformation update.

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

20 years agoUpdate transformation.
Jason S. Lingohr [Thu, 18 Sep 2003 10:07:25 +0000 (10:07 +0000)]
Update transformation.

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

20 years agoMinor fixes.
Jason S. Lingohr [Thu, 18 Sep 2003 09:47:04 +0000 (09:47 +0000)]
Minor fixes.

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

20 years agoUpdated trademarks to use the right entity, update transformation.
Jason S. Lingohr [Wed, 17 Sep 2003 13:07:31 +0000 (13:07 +0000)]
Updated trademarks to use the right entity, update transformation.

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

20 years agoREALLY sync with APACHE_2_0_BRANCH
Jeff Trawick [Wed, 17 Sep 2003 11:07:24 +0000 (11:07 +0000)]
REALLY sync with APACHE_2_0_BRANCH

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