]> granicus.if.org Git - apache/log
apache
22 years agofix a build failure with some non-gcc compilers...
Jeff Trawick [Fri, 10 May 2002 10:56:43 +0000 (10:56 +0000)]
fix a build failure with some non-gcc compilers...

an example message: "The ":" operator is not allowed between
"const char*" and "int"."

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

22 years agomod_setenvif optimizations
Brian Pane [Fri, 10 May 2002 07:53:43 +0000 (07:53 +0000)]
mod_setenvif optimizations

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

22 years agoPerformance fix: When a BrowserMatch or SetEnvIf pattern doesn't
Brian Pane [Fri, 10 May 2002 07:51:16 +0000 (07:51 +0000)]
Performance fix: When a BrowserMatch or SetEnvIf pattern doesn't
actually require regular expression parsing, use a fast string search
instead.

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

22 years agoPerformance fix: replaced the strcasecmp calls in ap_make_content_type()
Brian Pane [Fri, 10 May 2002 06:47:13 +0000 (06:47 +0000)]
Performance fix: replaced the strcasecmp calls in ap_make_content_type()
with apr_strmatch()

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

22 years agoAddress PR 8963
William A. Rowe Jr [Fri, 10 May 2002 03:56:53 +0000 (03:56 +0000)]
Address PR 8963

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

22 years ago Afraid these are likely generated, just something to watch out for
William A. Rowe Jr [Fri, 10 May 2002 03:55:41 +0000 (03:55 +0000)]
  Afraid these are likely generated, just something to watch out for
  in the future.  Address PR 8963

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

22 years agoRemoved extraneous whitespace.
Cliff Woolley [Thu, 9 May 2002 18:53:40 +0000 (18:53 +0000)]
Removed extraneous whitespace.
PR: 8944
Submitted by: Alex Batko <abatko@cs.mcgill.ca>

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

22 years agoTypo patrol.
Joshua Slive [Thu, 9 May 2002 18:04:02 +0000 (18:04 +0000)]
Typo patrol.

PR: 8943

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

22 years agoThe default for DefaultType is text/plain, not text/html.
Joshua Slive [Thu, 9 May 2002 17:33:12 +0000 (17:33 +0000)]
The default for DefaultType is text/plain, not text/html.

PR: 8927

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

22 years agoMassive transform commit. Nothing to see here. Please move along.
Joshua Slive [Thu, 9 May 2002 16:14:27 +0000 (16:14 +0000)]
Massive transform commit.  Nothing to see here.  Please move along.

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

22 years agoA few directives where missing from the index because of some obscure xslt
Joshua Slive [Thu, 9 May 2002 16:12:06 +0000 (16:12 +0000)]
A few directives where missing from the index because of some obscure xslt
thing that I don't really understand ;-)

PR: 8938

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

22 years agoFix a mod_ssl build problem on OS/390.
Jeff Trawick [Thu, 9 May 2002 10:53:28 +0000 (10:53 +0000)]
Fix a mod_ssl build problem on OS/390.

This is admittedly rather ugly code to come up with a unique 4-byte
identifier for the thread.  Since our threads are pthreads and a pthread
maps 1:1 to a TCB, the address of the TCB is sufficient.   Yes, every
TCB sees a different piece of real storage mapped to the first page,
so the code does make sense.

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

22 years agoCorrect grammer.
Yoshiki Hayashi [Thu, 9 May 2002 06:17:30 +0000 (06:17 +0000)]
Correct grammer.

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

22 years agoAPR_PROC_MUTEX_IS_GLOBAL is the condition where apr_global_mutex_t
Jeff Trawick [Wed, 8 May 2002 13:19:54 +0000 (13:19 +0000)]
APR_PROC_MUTEX_IS_GLOBAL is the condition where apr_global_mutex_t
and apr_proc_mutex_t are interchangeable

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

22 years agoAdd transformation of mod_suexec.ja.xml.
Yoshiki Hayashi [Wed, 8 May 2002 08:09:17 +0000 (08:09 +0000)]
Add transformation of mod_suexec.ja.xml.

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

22 years agoFix if-modified-since on win32, I think. It should fix it in theory.
Cliff Woolley [Wed, 8 May 2002 02:17:04 +0000 (02:17 +0000)]
Fix if-modified-since on win32, I think.  It should fix it in theory.
Verification would be nice.  At least I know it still works on Unix.  ;)

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

22 years agoUse the ap_get_server_xxx() calls to return the info rather than short cutting it...
Bradley Nicholes [Tue, 7 May 2002 23:41:36 +0000 (23:41 +0000)]
Use the ap_get_server_xxx() calls to return the info rather than short cutting it with the server_rec.  This avoids port showing up as 0 and also respects the UseCanonicalName setting in the .conf file.

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

22 years agoComin' at ya from the WWDC with my thoughts
Justin Erenkrantz [Tue, 7 May 2002 23:30:17 +0000 (23:30 +0000)]
Comin' at ya from the WWDC with my thoughts

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

22 years agoChanging *any* default behavior is a bad idea without _very_ careful
Cliff Woolley [Tue, 7 May 2002 22:31:38 +0000 (22:31 +0000)]
Changing *any* default behavior is a bad idea without _very_ careful
consideration, IMO, as it can silently break existing configs.  Principle
of least astonishment applies.  Besides, the security argument is bubkus.
Security through obscurity at best, and hardly even that.

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

22 years agobleh... bad idea.
Greg Stein [Tue, 7 May 2002 19:21:49 +0000 (19:21 +0000)]
bleh... bad idea.

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

22 years agoAdded my vote on minimal server version reporting
Brian Pane [Tue, 7 May 2002 18:22:59 +0000 (18:22 +0000)]
Added my vote on minimal server version reporting

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

22 years agovote:change default config so that we only report our version instead
Ian Holsman [Tue, 7 May 2002 18:14:25 +0000 (18:14 +0000)]
vote:change default config so that we only report our version instead
of everything
PR:
Obtained from:
Submitted by:
Reviewed by:

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

22 years agoFixed how the NetWare import and exports lists are accessed by the make files.
Bradley Nicholes [Tue, 7 May 2002 17:42:28 +0000 (17:42 +0000)]
Fixed how the NetWare import and exports lists are accessed by the make files.

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

22 years agoUpdated the NetWare import and exports lists for the caching modules
Bradley Nicholes [Tue, 7 May 2002 17:39:16 +0000 (17:39 +0000)]
Updated the NetWare import and exports lists for the caching modules

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

22 years agoAdded caching modules to the NetWare build project
Bradley Nicholes [Tue, 7 May 2002 17:38:06 +0000 (17:38 +0000)]
Added caching modules to the NetWare build project

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

22 years agoget proxy CONNECT to work on EBCDIC machines
Jeff Trawick [Tue, 7 May 2002 15:06:32 +0000 (15:06 +0000)]
get proxy CONNECT to work on EBCDIC machines

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

22 years agoget "make extraclean" and probably "make distclean" to work on AIX
Jeff Trawick [Tue, 7 May 2002 14:51:32 +0000 (14:51 +0000)]
get "make extraclean" and probably "make distclean" to work on AIX
again...  $(RM) isn't defined everywhere (GNU make built-in?), so
invoke rm the way we invoke it elsewhere in the makefile

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

22 years agoFix long-standing typo (as of 1.17 when mod_info was ported to apache-2.0):
Martin Kraemer [Tue, 7 May 2002 13:53:17 +0000 (13:53 +0000)]
Fix long-standing typo (as of 1.17 when mod_info was ported to apache-2.0):
The containers would be printed as
   <Name ...>
   </,Name>
instead of the proper termination
   </Name>
(or was it intended?)
PR:
Obtained from:
Submitted by:
Reviewed by:

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

22 years agoFix win32 build breakage
Cliff Woolley [Tue, 7 May 2002 08:01:46 +0000 (08:01 +0000)]
Fix win32 build breakage

Submitted by:  Jerry Baker

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

22 years agoAdd DeflateBufferSize directive to replace hardcoded FILTER_BUFSIZE
Justin Erenkrantz [Tue, 7 May 2002 00:35:16 +0000 (00:35 +0000)]
Add DeflateBufferSize directive to replace hardcoded FILTER_BUFSIZE
definition.  Also speeds up ctx init since it takes the buffer and does
a malloc rather than a calloc on it.

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

22 years agoUpdate mod_deflate's documentation.
Justin Erenkrantz [Tue, 7 May 2002 00:33:22 +0000 (00:33 +0000)]
Update mod_deflate's documentation.

Note that this does NOT include the transformation since I can't find a
version of Xerces or Xalan which does not produce major diffs to what
we have checked in.  So, we need to standardize on a set of jars -
otherwise, if I were to commit what I get when running build.sh, it'd be
massive.  (I'd suggest a tarball of jars on the docs-project site or even
in http://httpd.apache.org/dev/dist somewhere.)

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

22 years agoReverse the hook ordering for mod_userdir and mod_alias so
Joshua Slive [Tue, 7 May 2002 00:17:11 +0000 (00:17 +0000)]
Reverse the hook ordering for mod_userdir and mod_alias so
that Alias/ScriptAlias will override Userdir.

PR: 8841
Reviewed by: Justin Erenkrantz

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

22 years agoUh, yeah, make this work.
Justin Erenkrantz [Tue, 7 May 2002 00:02:09 +0000 (00:02 +0000)]
Uh, yeah, make this work.

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

22 years agoFor those with just xalan-c, drop a hint on what to do.
Justin Erenkrantz [Mon, 6 May 2002 23:58:55 +0000 (23:58 +0000)]
For those with just xalan-c, drop a hint on what to do.

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

22 years agoIf we determine that we shouldn't be involved in this request, remove
Justin Erenkrantz [Mon, 6 May 2002 23:37:15 +0000 (23:37 +0000)]
If we determine that we shouldn't be involved in this request, remove
ourselves from the filter chain (so we don't duplicate this path
each time a brigade comes through).

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

22 years agoIt isn't a fatal condition if there is no lockfile name, so switch from
Justin Erenkrantz [Mon, 6 May 2002 22:59:56 +0000 (22:59 +0000)]
It isn't a fatal condition if there is no lockfile name, so switch from
APR_EINVAL to APR_SUCCESS.  (rewritelock_remove already returns SUCCESS in
this case.)

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

22 years agoMove mod_deflate from experimental to filters to represent our belief
Justin Erenkrantz [Mon, 6 May 2002 22:23:52 +0000 (22:23 +0000)]
Move mod_deflate from experimental to filters to represent our belief
in its stability.

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

22 years agoUpdate to reflect the release.
Sander Striker [Mon, 6 May 2002 22:14:09 +0000 (22:14 +0000)]
Update to reflect the release.

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

22 years agoProtect us from this dirty hack that gets SysV Sem working again
Aaron Bannert [Mon, 6 May 2002 21:00:50 +0000 (21:00 +0000)]
Protect us from this dirty hack that gets SysV Sem working again
on mod_rewrite. This, along with the original usage of a unix-only
function in mod_rewrite, is a temporary stopgap measure designed only
to workaround limitations in APR's handling of permission attributes.
It shall be removed as soon as that interface is improved.

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

22 years agoGet proxy CONNECT basically working (IE seems to be happy with secure
Jeff Trawick [Mon, 6 May 2002 18:47:22 +0000 (18:47 +0000)]
Get proxy CONNECT basically working (IE seems to be happy with secure
connections).

The to-do of fixing client I/O so it goes through the filters still
remains.  But it will be nice if it will work until somebody gets
around to doing that.

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

22 years agoNote the mod_rewrite hang fix.
Aaron Bannert [Mon, 6 May 2002 18:30:18 +0000 (18:30 +0000)]
Note the mod_rewrite hang fix.

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

22 years agoFix mod_rewrite hang when APR uses SysV Semaphores. Before we were
Aaron Bannert [Mon, 6 May 2002 18:24:03 +0000 (18:24 +0000)]
Fix mod_rewrite hang when APR uses SysV Semaphores. Before we were
silently failing when locking/unlocking the mutex, since httpd
child processes didn't have permissions to access the root-created
semaphore.

PR: 8143

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

22 years agoAdd unixd_set_global_mutex_perms so we can set permissions on things like
Aaron Bannert [Mon, 6 May 2002 18:19:53 +0000 (18:19 +0000)]
Add unixd_set_global_mutex_perms so we can set permissions on things like
SysV Semaphores in the core and modules.

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

22 years agoAdd some error checking in mod_rewrite for the mutex lock/unlock calls.
Aaron Bannert [Mon, 6 May 2002 18:04:53 +0000 (18:04 +0000)]
Add some error checking in mod_rewrite for the mutex lock/unlock calls.

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

22 years agoUpdated the NetWare make file to match the latest changes
Bradley Nicholes [Mon, 6 May 2002 17:35:39 +0000 (17:35 +0000)]
Updated the NetWare make file to match the latest changes

Submitted by: Jean-Jacques Clar [jjclar@novell.com]

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

22 years agoProtect from buffer overflow when populating a HEAP based cache object.
Bill Stoddard [Mon, 6 May 2002 17:23:49 +0000 (17:23 +0000)]
Protect from buffer overflow when populating a HEAP based cache object.

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

22 years agoFix compile break on Netware.
Bill Stoddard [Mon, 6 May 2002 16:17:49 +0000 (16:17 +0000)]
Fix compile break on Netware.

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

22 years agomod_mem_cache/mod_cache requires APR_HAS_ATOMIC_* feature macros.
Bill Stoddard [Mon, 6 May 2002 16:14:39 +0000 (16:14 +0000)]
mod_mem_cache/mod_cache requires APR_HAS_ATOMIC_* feature macros.

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

22 years agoThis looks complete.
Bill Stoddard [Mon, 6 May 2002 15:31:40 +0000 (15:31 +0000)]
This looks complete.

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

22 years agofix the type of the pointer returned by the hash lookup
Jeff Trawick [Mon, 6 May 2002 14:02:50 +0000 (14:02 +0000)]
fix the type of the pointer returned by the hash lookup

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

22 years agoCast the constness away when the object is returned to the caller/owner of
Bill Stoddard [Mon, 6 May 2002 13:12:03 +0000 (13:12 +0000)]
Cast the constness away when the object is returned to the caller/owner of
the object.

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

22 years agoFetch the filename to be cached from the file bucket rather than
Bill Stoddard [Mon, 6 May 2002 13:03:28 +0000 (13:03 +0000)]
Fetch the filename to be cached from the file bucket rather than
from the request_rec.

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

22 years agoDone
Bill Stoddard [Mon, 6 May 2002 12:42:36 +0000 (12:42 +0000)]
Done

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

22 years agoBe more tolerant.
Ben Laurie [Mon, 6 May 2002 12:04:56 +0000 (12:04 +0000)]
Be more tolerant.

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

22 years agoUpdated to work with the DTD.
patrikj [Mon, 6 May 2002 11:56:42 +0000 (11:56 +0000)]
Updated to work with the DTD.

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

22 years agoAdded several strings.
patrikj [Mon, 6 May 2002 10:05:29 +0000 (10:05 +0000)]
Added several strings.
Tried to group strings according to usage.
Tried to comment where strings are used.

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

22 years agoReplaced all hard-coded strings with localized versions.
patrikj [Mon, 6 May 2002 10:04:30 +0000 (10:04 +0000)]
Replaced all hard-coded strings with localized versions.
Some clean ups.

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

22 years agofor 2.0.36: showstoppers = 0;
Cliff Woolley [Mon, 6 May 2002 09:21:41 +0000 (09:21 +0000)]
for 2.0.36: showstoppers = 0;
for 2.0.37: showstoppers = 1;

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

22 years agocleanup old-school backward uses of APR_BRIGADE_CONCAT to use
Cliff Woolley [Mon, 6 May 2002 09:11:50 +0000 (09:11 +0000)]
cleanup old-school backward uses of APR_BRIGADE_CONCAT to use
APR_BRIGADE_PREPEND instead, plus optimize away a bunch of repetitive
brigade destructions/creations by hanging onto ctx->saved even after
we empty it out.

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

22 years agoAdded DTD.
patrikj [Mon, 6 May 2002 08:35:22 +0000 (08:35 +0000)]
Added DTD.

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

22 years agoRenamed <modulelist> into <modulefilelist>, so as not to clash with <directivesynopsi...
patrikj [Mon, 6 May 2002 08:31:44 +0000 (08:31 +0000)]
Renamed <modulelist> into <modulefilelist>, so as not to clash with <directivesynopsis>/<modulelist>.

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

22 years agoSimple Makefile for those who prefer make over ant.
patrikj [Mon, 6 May 2002 08:25:03 +0000 (08:25 +0000)]
Simple Makefile for those who prefer make over ant.

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

22 years agoRemoving a field in a core structure (r->boundary) merits a MMN bump,
Justin Erenkrantz [Mon, 6 May 2002 08:21:10 +0000 (08:21 +0000)]
Removing a field in a core structure (r->boundary) merits a MMN bump,
unfortunately.  They got 2 GAs out of the old MMN.

Reviewed by: Cliff Woolley

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

22 years agoAdded <directiveindex>, <moduleindex>, and <modulefilelist>.
patrikj [Mon, 6 May 2002 08:19:07 +0000 (08:19 +0000)]
Added <directiveindex>, <moduleindex>, and <modulefilelist>.

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

22 years agoSimplify a bit
Cliff Woolley [Mon, 6 May 2002 08:14:52 +0000 (08:14 +0000)]
Simplify a bit

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

22 years agoUpdate generated file.
Yoshiki Hayashi [Mon, 6 May 2002 07:54:35 +0000 (07:54 +0000)]
Update generated file.

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

22 years agoFix typo.
Yoshiki Hayashi [Mon, 6 May 2002 07:54:16 +0000 (07:54 +0000)]
Fix typo.

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

22 years agoRewrite ap_byterange_filter so that it can work with data that does not
Justin Erenkrantz [Mon, 6 May 2002 07:43:40 +0000 (07:43 +0000)]
Rewrite ap_byterange_filter so that it can work with data that does not
have a predetermined C-L - such as data that passes through mod_include.
Previously, these requests would generate 416 since when the byterange
filter ran, r->clength would be 0.  r->clength is only guaranteed to
be valid after C-L filter is run, but we need C-L to run after us so
that our data can have a proper C-L returned.  So, we need to rearrange
the code so that we can deal with this case.

Highlights:
- Remove r->boundary since it is possible to have this self-contained in
  boundary's ctx.  (May require MMN bump?)
- Remove call to parse_byteranges in ap_set_byterange since this would
  wrongly return -1 for dynamic responses.  We have to wait until we
  see EOS to call parse_byteranges.
- Move bound_head computation inside the num_parts == 2 check.
- Change a NULL brigade check to APR_BRIGADE_EMPTY
- Move the 416 error return to after we've run through all ranges and
  found none of them to be valid.

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

22 years agoFirst cut of Japanese translation of module docs.
Yoshiki Hayashi [Mon, 6 May 2002 07:18:44 +0000 (07:18 +0000)]
First cut of Japanese translation of module docs.
These files don't play nicely with current transformation scripts yet.

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

22 years agoReformat/rephrase some things.
Justin Erenkrantz [Mon, 6 May 2002 05:25:52 +0000 (05:25 +0000)]
Reformat/rephrase some things.

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

22 years agoAdded an optional function (ap_register_rewrite_mapfunc) which allows
Cliff Woolley [Mon, 6 May 2002 03:10:24 +0000 (03:10 +0000)]
Added an optional function (ap_register_rewrite_mapfunc) which allows
third-party modules to extend mod_rewrite's "int:" internal RewriteMap
functionality.

Concept by:  Tahiry Ramanamampanoharana <nomentsoa@hotmail.com>

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

22 years agoChanged to a <dl> in warning note to comply with the DTD.
patrikj [Mon, 6 May 2002 01:22:31 +0000 (01:22 +0000)]
Changed to a <dl> in warning note to comply with the DTD.

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

22 years agogrr... mod_mem_cache didn't take kindly to that constness fix. So I'm
Cliff Woolley [Mon, 6 May 2002 01:10:24 +0000 (01:10 +0000)]
grr... mod_mem_cache didn't take kindly to that constness fix.  So I'm
reverting it and will just have to live with the warning for now.  FirstBill,
what's The Right Way to fix this?  Should we drop all the const qualifiers
in there, or should cache_hash_set() return a const void * and mod_mem_cache
should cast away the const, or what?

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

22 years agocache_hash_set was dropping the const qualifier from its return value
Cliff Woolley [Mon, 6 May 2002 00:58:47 +0000 (00:58 +0000)]
cache_hash_set was dropping the const qualifier from its return value

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

22 years agomod_mem_cache needs cache_hash.lo in order to link properly
Cliff Woolley [Mon, 6 May 2002 00:58:16 +0000 (00:58 +0000)]
mod_mem_cache needs cache_hash.lo in order to link properly

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

22 years agoFix compile break:
Cliff Woolley [Sun, 5 May 2002 22:28:03 +0000 (22:28 +0000)]
Fix compile break:
mod_mem_cache.c: In function `cleanup_cache_mem':
mod_mem_cache.c:251: too many arguments to function `cache_hash_first'
make[4]: *** [mod_mem_cache.slo] Error 1

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

22 years agoIntroduce a dedicated cache hash adt that does not rely on pools. This
Bill Stoddard [Sat, 4 May 2002 19:54:39 +0000 (19:54 +0000)]
Introduce a dedicated cache hash adt that does not rely on pools. This
cures a storage leak when garbage collecting expired entries out of the
hash table. cache_hash is just apr_hash with some of the function removed
and reimplemented to use malloc/free in place of apr_pool calls.

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

22 years agoMention PR 8462 fix
Brian Pane [Sat, 4 May 2002 06:14:04 +0000 (06:14 +0000)]
Mention PR 8462 fix

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

22 years agoFix for PR 8462: When tokenizing an unquoted string literal, don't
Brian Pane [Sat, 4 May 2002 06:10:59 +0000 (06:10 +0000)]
Fix for PR 8462: When tokenizing an unquoted string literal, don't
consume a ')' that immediately follows it.

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

22 years agoTypo in a link.
Joshua Slive [Sat, 4 May 2002 01:52:34 +0000 (01:52 +0000)]
Typo in a link.

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

22 years agoRemove autom4te.cache when doing make distclean.
Justin Erenkrantz [Fri, 3 May 2002 21:22:03 +0000 (21:22 +0000)]
Remove autom4te.cache when doing make distclean.

We can't specify it in DISTCLEAN_TARGETS because it is a directory.
Perhaps we could modify DISTCLEAN_TARGETS to delete dirs too, but
that's outside the scope of what Thom (or I) want to deal with now.

Submitted by: Thom May <thom@planetarytramp.net>
Reviewed by: Justin Erenkrantz

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

22 years agoFix generated httpd.conf to respect layout for LoadModule lines.
Justin Erenkrantz [Fri, 3 May 2002 21:09:05 +0000 (21:09 +0000)]
Fix generated httpd.conf to respect layout for LoadModule lines.
PR: 8170
Submitted by: Thom May <thom@planetarytramp.net>
Reviewed by: Justin Erenkrantz

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

22 years agoSimplify the cleanup logic a bit. Fix a bug that could leave freed entries
Bill Stoddard [Fri, 3 May 2002 20:13:57 +0000 (20:13 +0000)]
Simplify the cleanup logic a bit. Fix a bug that could leave freed entries
the cache hash table.

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

22 years agoDon't open for business before the cache objec is fully initialized.
Bill Stoddard [Fri, 3 May 2002 19:09:28 +0000 (19:09 +0000)]
Don't open for business before the cache objec is fully initialized.

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

22 years agoTypo fix.
Joshua Slive [Fri, 3 May 2002 18:44:49 +0000 (18:44 +0000)]
Typo fix.

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

22 years agoTry to get sitemap up to date. Maybe some day there will be an automated way
Joshua Slive [Fri, 3 May 2002 18:43:26 +0000 (18:43 +0000)]
Try to get sitemap up to date.  Maybe some day there will be an automated way
to do this...

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

22 years agoKeep rollin', rollin', rollin'
Justin Erenkrantz [Fri, 3 May 2002 05:50:40 +0000 (05:50 +0000)]
Keep rollin', rollin', rollin'
Though the streams are swollen,
Keep them dogies rollin', Rawhide!

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

22 years agoBy using _setn instead of _set, this call is setting a pointer to a stack variable
Bradley Nicholes [Thu, 2 May 2002 22:03:58 +0000 (22:03 +0000)]
By using _setn instead of _set, this call is setting a pointer to a stack variable
in the hash entry.  Once initialize_module() returns, the key pointer in the
hash entry is invalid.  This causes a fault the next time that the hash entry
key is checked.  Calling the _set() version will store a copy of the key which
has the same lifetime as the hash table entry.

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

22 years agofix a typo
Cliff Woolley [Thu, 2 May 2002 20:16:34 +0000 (20:16 +0000)]
fix a typo

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

22 years agoDone
Bill Stoddard [Thu, 2 May 2002 20:00:17 +0000 (20:00 +0000)]
Done

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

22 years agoWin32: Fix bug in mpm_win32 which allowed multiple threads to access
Bill Stoddard [Thu, 2 May 2002 19:54:07 +0000 (19:54 +0000)]
Win32: Fix bug in mpm_win32 which allowed multiple threads to access
the same scoreboard slot across graceful restarts.

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

22 years agoMissed a closing tag.
Joshua Slive [Thu, 2 May 2002 17:53:14 +0000 (17:53 +0000)]
Missed a closing tag.

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

22 years agoUpdate the filter documentation to mention AddInput/OutputFilter and
Joshua Slive [Thu, 2 May 2002 17:52:21 +0000 (17:52 +0000)]
Update the filter documentation to mention AddInput/OutputFilter and
DEFLATE.

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

22 years agoFurther cleanup of mod_mime docs:
Joshua Slive [Thu, 2 May 2002 17:46:35 +0000 (17:46 +0000)]
Further cleanup of mod_mime docs:
- Shorten up the summary a little.
- Remove some cross-references where the link is already in the directive text.

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

22 years agoSome cleanup, cross-referencing, and description additions for mod_mime.
Joshua Slive [Thu, 2 May 2002 15:10:28 +0000 (15:10 +0000)]
Some cleanup, cross-referencing, and description additions for mod_mime.

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

22 years agoUpdate transformations.
Joshua Slive [Thu, 2 May 2002 14:37:13 +0000 (14:37 +0000)]
Update transformations.

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

22 years agoBe a little more specific about what Location matches against.
Joshua Slive [Thu, 2 May 2002 14:34:36 +0000 (14:34 +0000)]
Be a little more specific about what Location matches against.

PR: 8569

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

22 years agoBring tutorial page updates forward from 1.3, but preserve the "this may be
Joshua Slive [Thu, 2 May 2002 14:28:52 +0000 (14:28 +0000)]
Bring tutorial page updates forward from 1.3, but preserve the "this may be
out of date" warning.

PR: 8696

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

22 years agoPerformance fixes:
Brian Pane [Thu, 2 May 2002 03:19:44 +0000 (03:19 +0000)]
Performance fixes:
* eliminate some copying of sub-parts of the content type in analyze_ct()
* take advantage of the fact that we know the lengths of those sub-parts
  in find_ct() to avoid having to recompute their length for concatenation

The charset handling code needs the same type of optimization eventually.

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

22 years agoFix some minor formatting issues with ab. Part of this is
Paul J. Reder [Wed, 1 May 2002 21:17:18 +0000 (21:17 +0000)]
Fix some minor formatting issues with ab. Part of this is
     in reference to PR 8544, the rest I noticed while testing
     the PR fix. [Paul J. Reder]

Submitted By: Carlo Marcelo Arenas Belon
Reviewed By:  Paul J. Reder

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