]> git.ipfire.org Git - thirdparty/apache/httpd.git/log
thirdparty/apache/httpd.git
22 years agoFix the prefix_stat function. (which does a stat call on the first
André Malo [Wed, 2 Apr 2003 21:01:09 +0000 (21:01 +0000)] 
Fix the prefix_stat function. (which does a stat call on the first
path segment). This function was still tailored for unix systems only.
It should work on other systems as well now.

Note that in 2.x we use the apr_filepath_root function that doesn't
exist in 1.3. It is replaced by some simple workaround stuff which
behaves similar.

Obtained from: 2.1 (r1.143)
Reviewed by: Brad Nicholes, Will Rowe

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/1.3.x@99178 13f79535-47bb-0310-9956-ffa450edef68

22 years agoRemove _unused_ code. The condition is never true, because
André Malo [Wed, 2 Apr 2003 20:54:09 +0000 (20:54 +0000)] 
Remove _unused_ code. The condition is never true, because
"A local rewrite in per-directory context" was caught much earlier.
I'd guess this piece of code was c&p accidentally...

Obtained from: 2.1 (r1.142)
Reviewed by: Brad Nicholes, Will Rowe

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/1.3.x@99177 13f79535-47bb-0310-9956-ffa450edef68

22 years agoNote desire to get 1.3.28 out the door
Jim Jagielski [Wed, 19 Mar 2003 15:27:51 +0000 (15:27 +0000)] 
Note desire to get 1.3.28 out the door

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/1.3.x@99027 13f79535-47bb-0310-9956-ffa450edef68

22 years agobackport from 2.x:
André Malo [Wed, 19 Mar 2003 14:01:08 +0000 (14:01 +0000)] 
backport from 2.x:
Prevent endless loops of internal redirects in mod_rewrite by
aborting after exceeding a limit of internal redirects. The
limit defaults to 10 and can be changed using the RewriteOptions
directive with the new MaxRedirects=n argument.
(The latter required some restructuring of the RewriteOptions
 evaluation code).

PR: 17462
Reviewed by: Will Rowe, Ian Holsman

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/1.3.x@99022 13f79535-47bb-0310-9956-ffa450edef68

22 years agoFix longstanding BS2000(OSD_POSIX) related bug -- a CGI program which
Martin Kraemer [Wed, 5 Mar 2003 15:50:29 +0000 (15:50 +0000)] 
Fix longstanding BS2000(OSD_POSIX) related bug -- a CGI program which
terminated quickly would cause an endless loop.
;-) Nobody noticed by now, so I guess few people used it.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/1.3.x@98892 13f79535-47bb-0310-9956-ffa450edef68

22 years agoNo objections, so put it in:
André Malo [Fri, 28 Feb 2003 13:36:03 +0000 (13:36 +0000)] 
No objections, so put it in:
Use the correct locations of srm.conf and access.conf when tailoring
the httpd.conf during the install process.

PR: 9446
Submitted by: Stanislav Brabec <utx@penguin.cz>

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/1.3.x@98841 13f79535-47bb-0310-9956-ffa450edef68

22 years agoBe more careful when dealing with limited buffers.
André Malo [Thu, 27 Feb 2003 03:47:37 +0000 (03:47 +0000)] 
Be more careful when dealing with limited buffers.

Oh my, I forgot it again. but now:

Reviewed by: Cliff Woolley, Bill Stoddard

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/1.3.x@98810 13f79535-47bb-0310-9956-ffa450edef68

22 years agoSkip some more close on exec magic for NetWare
Bradley Nicholes [Wed, 26 Feb 2003 22:24:01 +0000 (22:24 +0000)] 
Skip some more close on exec magic for NetWare

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/1.3.x@98806 13f79535-47bb-0310-9956-ffa450edef68

22 years agoSince NetWare doesn't have processes the entire issue of having to close
Bradley Nicholes [Wed, 26 Feb 2003 17:38:44 +0000 (17:38 +0000)] 
Since NetWare doesn't have processes the entire issue of having to close
handles before an exec is non-existent.  So just bypass the close on exec
magic cleanup stuff.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/1.3.x@98800 13f79535-47bb-0310-9956-ffa450edef68

22 years agoBe more pedantic when cleaning environment. Clean it
André Malo [Sat, 22 Feb 2003 18:00:31 +0000 (18:00 +0000)] 
Be more pedantic when cleaning environment. Clean it
immediately after startup.

PR: 2790, 10449
Submitted by: Jeff Stewart <jws@purdue.edu>

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/1.3.x@98761 13f79535-47bb-0310-9956-ffa450edef68

22 years agoinsert LoadModule/AddModule directives only outside of sections.
André Malo [Sat, 22 Feb 2003 17:06:20 +0000 (17:06 +0000)] 
insert LoadModule/AddModule directives only outside of sections.

PR: 8712, 9012

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/1.3.x@98759 13f79535-47bb-0310-9956-ffa450edef68

22 years agoFix suexec compile error under SUNOS4, where strerror() doesn't exist.
André Malo [Sat, 22 Feb 2003 15:25:44 +0000 (15:25 +0000)] 
Fix suexec compile error under SUNOS4, where strerror() doesn't exist.

PR: 5913, 9977
Submitted by: Jonathan W Miner <Jonathan.W.Miner@lmco.com>

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/1.3.x@98756 13f79535-47bb-0310-9956-ffa450edef68

22 years agoUnix build: Add support for environment variable
Jeff Trawick [Wed, 19 Feb 2003 20:39:59 +0000 (20:39 +0000)] 
Unix build: Add support for environment variable
EXTRA_LDFLAGS_SHLIB, which allows the user to add to the hard-coded
ld flags specified for DSOs.  Compare with the existing LDFLAGS_SHLIB
environment variable, which allows the user to completely replace the
hard-coded ld flags specified for DSOs.

Reviewed by: Jim Jagielski, Justin Erenkrantz

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/1.3.x@98737 13f79535-47bb-0310-9956-ffa450edef68

22 years agofix a typo
Jeff Trawick [Wed, 19 Feb 2003 20:35:02 +0000 (20:35 +0000)] 
fix a typo

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/1.3.x@98736 13f79535-47bb-0310-9956-ffa450edef68

22 years agoeliminate a warning with DSOs on recent AIX versions by using the same
Jeff Trawick [Wed, 19 Feb 2003 15:50:40 +0000 (15:50 +0000)] 
eliminate a warning with DSOs on recent AIX versions by using the same
flags as on AIX 4

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/1.3.x@98732 13f79535-47bb-0310-9956-ffa450edef68

22 years agofix a typo in a comment
Jeff Trawick [Tue, 18 Feb 2003 14:47:18 +0000 (14:47 +0000)] 
fix a typo in a comment

Submitted by: jmc <jmc@prioris.mini.pw.edu.pl>

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/1.3.x@98706 13f79535-47bb-0310-9956-ffa450edef68

22 years agodrop the guess_domain function.
André Malo [Sun, 16 Feb 2003 04:42:24 +0000 (04:42 +0000)] 
drop the guess_domain function.

Our docs say about AuthDigestDomain:
This directive should always be specified and contain at least the (set of)
root URI(s) for this space. Omitting to do so will cause the client to send
the Authorization header for every request sent to this server.

guessing the parameter is somewhat bogus. guess_domain() also resulted sometimes
in relative URIs, non-URI strings or empty strings, which caused a lot of
problems.
According to the docs, the domain parameter will be omitted now,
if not specified. This is exactly, what one would expect.

PR: 16937 (related to)

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/1.3.x@98677 13f79535-47bb-0310-9956-ffa450edef68

22 years agoalways assume suexec-umask to be an octal value by prepending a "0".
André Malo [Wed, 12 Feb 2003 13:19:40 +0000 (13:19 +0000)] 
always assume suexec-umask to be an octal value by prepending a "0".

PR: 16984

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/1.3.x@98617 13f79535-47bb-0310-9956-ffa450edef68

22 years agoFix typo in suexec -V output.
André Malo [Mon, 10 Feb 2003 15:40:53 +0000 (15:40 +0000)] 
Fix typo in suexec -V output.

PR: 9034
Submitted by: Youichirou Koga <y-koga@apache.or.jp>

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/1.3.x@98605 13f79535-47bb-0310-9956-ffa450edef68

22 years agoWhile this is possible to ascertain by deduction, it just makes it easier to list the
Justin Erenkrantz [Tue, 4 Feb 2003 19:08:59 +0000 (19:08 +0000)] 
While this is possible to ascertain by deduction, it just makes it easier to list the
years 1.3 releases occurred explicitly.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/1.3.x@98578 13f79535-47bb-0310-9956-ffa450edef68

22 years agoupdate license to 2003.
André Malo [Mon, 3 Feb 2003 17:13:37 +0000 (17:13 +0000)] 
update license to 2003.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/1.3.x@98571 13f79535-47bb-0310-9956-ffa450edef68

22 years ago(backport from 2.x)
André Malo [Fri, 31 Jan 2003 02:25:36 +0000 (02:25 +0000)] 
(backport from 2.x)
Fix "Satisfy Any" logic. The access_checker has nothing to do with
auth_type.

PR: 9076

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/1.3.x@98555 13f79535-47bb-0310-9956-ffa450edef68

22 years agoBackport from 2.0: Allow RewriteEngine Off even if Options -FollowSymlinks
André Malo [Sun, 26 Jan 2003 22:46:31 +0000 (22:46 +0000)] 
Backport from 2.0: Allow RewriteEngine Off even if Options -FollowSymlinks

PR: 12395

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/1.3.x@98506 13f79535-47bb-0310-9956-ffa450edef68

22 years agoremove wrong parenthesis
André Malo [Sun, 26 Jan 2003 22:22:27 +0000 (22:22 +0000)] 
remove wrong parenthesis

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/1.3.x@98505 13f79535-47bb-0310-9956-ffa450edef68

22 years agoChange the log messages for setsockopt(TCP_NODELAY) and
Jeff Trawick [Thu, 23 Jan 2003 12:09:49 +0000 (12:09 +0000)] 
Change the log messages for setsockopt(TCP_NODELAY) and
getsockname() failures to log the client IP address and to
change the log level to debug.

Reviewed by: Roy Fielding, Jim Jagielski

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/1.3.x@98470 13f79535-47bb-0310-9956-ffa450edef68

22 years agoNo need to treat EBCDIC differently.
Martin Kraemer [Thu, 23 Jan 2003 10:50:51 +0000 (10:50 +0000)] 
No need to treat EBCDIC differently.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/1.3.x@98468 13f79535-47bb-0310-9956-ffa450edef68

22 years ago Update the resource link; submitted by B. W. Fitzpatrick
William A. Rowe Jr [Wed, 22 Jan 2003 04:45:08 +0000 (04:45 +0000)] 
  Update the resource link; submitted by B. W. Fitzpatrick

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/1.3.x@98439 13f79535-47bb-0310-9956-ffa450edef68

22 years agotake Brad's lead and export some new API functions from httpd on
Jeff Trawick [Fri, 17 Jan 2003 12:23:10 +0000 (12:23 +0000)] 
take Brad's lead and export some new API functions from httpd on
AIX

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/1.3.x@98307 13f79535-47bb-0310-9956-ffa450edef68

22 years agoUpdated the mod_usertrack build parameters
Bradley Nicholes [Thu, 16 Jan 2003 22:49:49 +0000 (22:49 +0000)] 
Updated the mod_usertrack build parameters

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/1.3.x@98296 13f79535-47bb-0310-9956-ffa450edef68

22 years agoAdded new APIs that were missing
Bradley Nicholes [Thu, 16 Jan 2003 22:49:16 +0000 (22:49 +0000)] 
Added new APIs that were missing

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/1.3.x@98295 13f79535-47bb-0310-9956-ffa450edef68

22 years agoHave Makefile.tmpl use the platform's apache/src/os directory for os.h
David McCreedy [Tue, 14 Jan 2003 21:21:41 +0000 (21:21 +0000)] 
Have Makefile.tmpl use the platform's apache/src/os directory for os.h
dependency instead of hardcoded os/unix/os.h file.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/1.3.x@98271 13f79535-47bb-0310-9956-ffa450edef68

22 years ago[Cygwin]: Fix the problem that the generated httpd.conf contains lines like:
Martin Kraemer [Thu, 9 Jan 2003 09:28:21 +0000 (09:28 +0000)] 
[Cygwin]: Fix the problem that the generated httpd.conf contains lines like:
"AddModule mod_alias.dll" instead of "AddModule mod_alias.c"

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/1.3.x@98220 13f79535-47bb-0310-9956-ffa450edef68

22 years agoTry to set REUSEADDR even on BS2000 (and ignore errors in older
Martin Kraemer [Thu, 9 Jan 2003 09:24:10 +0000 (09:24 +0000)] 
Try to set REUSEADDR even on BS2000 (and ignore errors in older
versions of the TCP stack)

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/1.3.x@98219 13f79535-47bb-0310-9956-ffa450edef68

22 years agoTPF-specific patch to skip fcntl() on sockets.
David McCreedy [Mon, 23 Dec 2002 17:27:46 +0000 (17:27 +0000)] 
TPF-specific patch to skip fcntl() on sockets.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/1.3.x@98099 13f79535-47bb-0310-9956-ffa450edef68

22 years agoUse ap_select rather than select to account for OS implementation.
Bill Stoddard [Mon, 23 Dec 2002 16:12:41 +0000 (16:12 +0000)] 
Use ap_select rather than select to account for OS implementation.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/1.3.x@98094 13f79535-47bb-0310-9956-ffa450edef68

22 years ago Teach win32 about magic_cleanups to toggle the INHERIT bit for handles.
William A. Rowe Jr [Thu, 19 Dec 2002 21:22:23 +0000 (21:22 +0000)] 
  Teach win32 about magic_cleanups to toggle the INHERIT bit for handles.

  This can only work for NT, since 9x cannot alter a handle's INHERIT bit
  without a DuplicateHandle() and then closing the original handle, which
  just doesn't fit into this API very well.

  {Actually, could be done with a bit of convolutions for FILE and fd,
  but this won't work by the ap_note_cleanups_for_h() api.)

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/1.3.x@98045 13f79535-47bb-0310-9956-ffa450edef68

22 years agoClean up the compact/verbose cookie code to prevent a lot of
Jim Jagielski [Wed, 18 Dec 2002 22:43:08 +0000 (22:43 +0000)] 
Clean up the compact/verbose cookie code to prevent a lot of
overlap. Who knows, maybe a 3rd format might pop up one
day. If this breaks, note who to blame for it
PR:
Obtained from:
Submitted by:
Reviewed by:

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/1.3.x@98034 13f79535-47bb-0310-9956-ffa450edef68

22 years ago Another day, another bug while slogging through 1.3.
William A. Rowe Jr [Wed, 18 Dec 2002 22:31:40 +0000 (22:31 +0000)] 
  Another day, another bug while slogging through 1.3.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/1.3.x@98033 13f79535-47bb-0310-9956-ffa450edef68

22 years ago Apply a fix already in Apache 2.0 (and add quality weights) to prevent
William A. Rowe Jr [Wed, 18 Dec 2002 22:27:54 +0000 (22:27 +0000)] 
  Apply a fix already in Apache 2.0 (and add quality weights) to prevent
  us from attempting to serve .gif or any other flavor of negotiated
  resources.

  This patch fixes the Accept: header of the autoindex request so that
  it's subrequests look for text/ only, with weights applied to recover
  .html, then .txt, then some other flavor of text/* in their absense.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/1.3.x@98032 13f79535-47bb-0310-9956-ffa450edef68

22 years ago Resolve 80% of the HEADER/README not recognized on Win32 bug (PR 7300).
William A. Rowe Jr [Wed, 18 Dec 2002 22:24:41 +0000 (22:24 +0000)] 
  Resolve 80% of the HEADER/README not recognized on Win32 bug (PR 7300).

  Since Apache 1.3 does NOT normalize file names, but instead always lower
  cases the names, HEADER.txt or HEADER.html would never, ever be noted
  as a match.  This is different from Apache 2.0, which can deal with the
  proper names and match only HEADER.* or header.* files based on the
  origin filename.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/1.3.x@98031 13f79535-47bb-0310-9956-ffa450edef68

22 years ago Resolve an unused variables warning on win32.
William A. Rowe Jr [Wed, 18 Dec 2002 22:22:08 +0000 (22:22 +0000)] 
  Resolve an unused variables warning on win32.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/1.3.x@98030 13f79535-47bb-0310-9956-ffa450edef68

22 years ago Now we need ntohl() linkage
William A. Rowe Jr [Wed, 18 Dec 2002 19:33:57 +0000 (19:33 +0000)] 
  Now we need ntohl() linkage

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/1.3.x@98014 13f79535-47bb-0310-9956-ffa450edef68

22 years ago Went a little #endif happy in rev 1.1863
William A. Rowe Jr [Wed, 18 Dec 2002 19:31:03 +0000 (19:31 +0000)] 
  Went a little #endif happy in rev 1.1863

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/1.3.x@98013 13f79535-47bb-0310-9956-ffa450edef68

22 years ago Quietly tolerate opening Apache.dsw from within VC7.0
William A. Rowe Jr [Wed, 18 Dec 2002 18:43:46 +0000 (18:43 +0000)] 
  Quietly tolerate opening Apache.dsw from within VC7.0

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/1.3.x@98012 13f79535-47bb-0310-9956-ffa450edef68

22 years agoRemove email address because of SPAM.
David McCreedy [Tue, 17 Dec 2002 19:15:16 +0000 (19:15 +0000)] 
Remove email address because of SPAM.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/1.3.x@97990 13f79535-47bb-0310-9956-ffa450edef68

22 years agoRemoved TPF-specific USE_TPF_SCOREBOARD in favor of shared memory.
David McCreedy [Tue, 17 Dec 2002 19:06:10 +0000 (19:06 +0000)] 
Removed TPF-specific USE_TPF_SCOREBOARD in favor of shared memory.
Also improved shutdown/restart of the server on TPF.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/1.3.x@97983 13f79535-47bb-0310-9956-ffa450edef68

22 years agoAdd in the new CookiePrefix and CookieFormat directives that allow
Jim Jagielski [Mon, 16 Dec 2002 13:17:38 +0000 (13:17 +0000)] 
Add in the new CookiePrefix and CookieFormat directives that allow
for the tracking cookie to have an arbitrary string prepended or
to choose a normal or "compact" cookie.

PR:
Obtained from: Fast Search & Transfer (contributed)
Submitted by: P�l L�berg <pallo@initio.no>
Reviewed by: Rasmus, Jim

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/1.3.x@97962 13f79535-47bb-0310-9956-ffa450edef68

22 years agoWhere the OS allows, we now proactively use the various _ex and
Jim Jagielski [Thu, 12 Dec 2002 16:09:52 +0000 (16:09 +0000)] 
Where the OS allows, we now proactively use the various _ex and
magic cleanups to close fds (lock files, log files and sockets)
to prevent them from leaking into 3rd party modules that don't
call ap_cleanup_for_exec() before forking off subprocesses.

Expect some possible fine-tuning.

Obtained from:
Submitted by:
Reviewed by:

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/1.3.x@97896 13f79535-47bb-0310-9956-ffa450edef68

22 years agoAdd forgotten ap_pclosef() inthe error branch
Martin Kraemer [Wed, 11 Dec 2002 21:17:10 +0000 (21:17 +0000)] 
Add forgotten ap_pclosef() inthe error branch

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/1.3.x@97866 13f79535-47bb-0310-9956-ffa450edef68

22 years agoOops -- Fix typo
Martin Kraemer [Wed, 11 Dec 2002 12:24:27 +0000 (12:24 +0000)] 
Oops -- Fix typo

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/1.3.x@97843 13f79535-47bb-0310-9956-ffa450edef68

22 years agoFix socket_magic_cleanup() to not dump core when invoked
Martin Kraemer [Wed, 11 Dec 2002 12:23:52 +0000 (12:23 +0000)] 
Fix socket_magic_cleanup() to not dump core when invoked

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/1.3.x@97842 13f79535-47bb-0310-9956-ffa450edef68

22 years agoFix condition that arises when the server is configured as a proxy gateway (aka reverse
Bill Stoddard [Tue, 10 Dec 2002 20:18:25 +0000 (20:18 +0000)] 
Fix condition that arises when the server is configured as a proxy gateway (aka reverse
proxy) and multiple processes are serving the same backend file at the same time.
 Only one of the processes will actually succeed at saving the file, the others will
fail with the message "[error] (17)File exists: proxy: error linking cache file ...".
Changing the message level from APLOG_ERR to APLOG_INFO will keep this message
out of the logs w/o major overhaul of this code.

PR: 2746

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/1.3.x@97837 13f79535-47bb-0310-9956-ffa450edef68

22 years agoGet rid of somewhat long-standing issue regarding large values
Jim Jagielski [Mon, 9 Dec 2002 20:21:00 +0000 (20:21 +0000)] 
Get rid of somewhat long-standing issue regarding large values
of precision causing a buffer to be clobbered in the vformatter
function (eg: ap_snprintf)
PR:
Obtained from:
Submitted by:
Reviewed by:

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/1.3.x@97822 13f79535-47bb-0310-9956-ffa450edef68

22 years agoImplemented ap_os_default_port() to allow NetWare to resolve the correct
Bradley Nicholes [Mon, 9 Dec 2002 17:23:58 +0000 (17:23 +0000)] 
Implemented ap_os_default_port() to allow NetWare to resolve the correct
default port based on the request method.  This fixes a problem with URL
reconstruction on a redirect.

Submitted by: Pavel Novy (novy@feld.cvut.cz)

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/1.3.x@97821 13f79535-47bb-0310-9956-ffa450edef68

22 years agoSimplify back to true flag usage of domagic; good catch by Justin.
Jim Jagielski [Sun, 8 Dec 2002 20:51:43 +0000 (20:51 +0000)] 
Simplify back to true flag usage of domagic; good catch by Justin.

PR:
Obtained from:
Submitted by:
Reviewed by:

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/1.3.x@97799 13f79535-47bb-0310-9956-ffa450edef68

22 years ago *) Added new ap_register_cleanup_ex() API function which allows
Jim Jagielski [Sun, 8 Dec 2002 19:09:55 +0000 (19:09 +0000)] 
  *) Added new ap_register_cleanup_ex() API function which allows
     for a "magic" cleanup function to be run at register time
     rather than at cleanup time. Also added the
     ap_note_cleanups_for_(socket|fd|file)_ex() API functions
     which allows for control over whether that magic cleanup
     should be called or not. This does not change the default
     behavior of the non-"ex" function (eg: ap_register_cleanup).
     At present, the magic cleanup is simply code that performs
     a CLOSEXEC, but that can be modified (hmmm... maybe an
     API issue?)

PR:
Obtained from:
Submitted by:
Reviewed by: Martin

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/1.3.x@97798 13f79535-47bb-0310-9956-ffa450edef68

22 years ago[PORT] Take advantage of OpenBSD's arc4random() function for the
Martin Kraemer [Mon, 25 Nov 2002 10:31:31 +0000 (10:31 +0000)] 
[PORT] Take advantage of OpenBSD's arc4random() function for the
initial secret

Submitted by: Henning Brauer <hb-apache-dev@bsws.de>

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/1.3.x@97643 13f79535-47bb-0310-9956-ffa450edef68

22 years agoClear errno before calling strtol, and add in some comments.
Aaron Bannert [Wed, 20 Nov 2002 22:38:26 +0000 (22:38 +0000)] 
Clear errno before calling strtol, and add in some comments.

Obtained from:  Philippe M. Chiasson <gozer@cpan.org>,
                Geoffrey Young <geoff@modperlcookbook.org>
Submitted by: Aaron Bannert

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/1.3.x@97578 13f79535-47bb-0310-9956-ffa450edef68

22 years agoWe shouldn't be assigning the output of strtol to an unsigned short. So,
Justin Erenkrantz [Mon, 18 Nov 2002 19:24:23 +0000 (19:24 +0000)] 
We shouldn't be assigning the output of strtol to an unsigned short.  So,
we'll change port to be a long and then do the correct range checking and
downcasting.

Suggested by: Roy Fielding

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/1.3.x@97564 13f79535-47bb-0310-9956-ffa450edef68

22 years agoIf Listen directive is not a port, but just an IP, emit an error condition as
Justin Erenkrantz [Sun, 17 Nov 2002 22:29:14 +0000 (22:29 +0000)] 
If Listen directive is not a port, but just an IP, emit an error condition as
this case is ambiguous.  ('Listen 127.0.0.1' doesn't make any sense.)

(Rich came up with the problem.  Cliff came up with the error text.  Justin
 did the ap_strtol call.)

Reviewed by: Cliff Woolley, Rich Bowen

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/1.3.x@97553 13f79535-47bb-0310-9956-ffa450edef68

22 years agoRemove unused var
Jim Jagielski [Thu, 14 Nov 2002 16:38:31 +0000 (16:38 +0000)] 
Remove unused var

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/1.3.x@97518 13f79535-47bb-0310-9956-ffa450edef68

22 years agoUpdate timeout algorithm in free_proc_chain. Try polling the existing subprocess
Bill Stoddard [Tue, 12 Nov 2002 22:44:06 +0000 (22:44 +0000)] 
Update timeout algorithm in free_proc_chain.  Try polling the existing subprocess
a few times before going into a 3 second sleep. Often we find that the subprocess
will exit within milliseconds.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/1.3.x@97500 13f79535-47bb-0310-9956-ffa450edef68

22 years ago d'oh!
Ken Coar [Tue, 12 Nov 2002 22:42:53 +0000 (22:42 +0000)] 
d'oh!

Submitted by: Jim Jagielski

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/1.3.x@97499 13f79535-47bb-0310-9956-ffa450edef68

22 years ago Add a SERVER_ADDR keyword to match the CGI environment variable,
Ken Coar [Tue, 12 Nov 2002 19:59:16 +0000 (19:59 +0000)] 
Add a SERVER_ADDR keyword to match the CGI environment variable,
to allow conditional setting according to the IP address on
which the server received the request.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/1.3.x@97496 13f79535-47bb-0310-9956-ffa450edef68

22 years agoTypo
Martin Kraemer [Tue, 5 Nov 2002 09:44:53 +0000 (09:44 +0000)] 
Typo

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/1.3.x@97403 13f79535-47bb-0310-9956-ffa450edef68

22 years agoSetting Listen changes where you are listening. Hence, s/in addition
Rich Bowen [Mon, 4 Nov 2002 17:20:19 +0000 (17:20 +0000)] 
Setting Listen changes where you are listening. Hence, s/in addition
to/instead of/
Thanks to Peter Nelson for pointing this out.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/1.3.x@97392 13f79535-47bb-0310-9956-ffa450edef68

22 years agonote release date
Cliff Woolley [Thu, 31 Oct 2002 05:57:52 +0000 (05:57 +0000)] 
note release date

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/1.3.x@97361 13f79535-47bb-0310-9956-ffa450edef68

22 years agoSimple JCL update for TPF Platform.
David McCreedy [Mon, 28 Oct 2002 20:29:06 +0000 (20:29 +0000)] 
Simple JCL update for TPF Platform.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/1.3.x@97338 13f79535-47bb-0310-9956-ffa450edef68

22 years agocsd and dupped_csd are sockets, so they ought to handled in ap_note_cleanups_for_sock...
Martin Kraemer [Fri, 25 Oct 2002 21:12:23 +0000 (21:12 +0000)] 
csd and dupped_csd are sockets, so they ought to handled in ap_note_cleanups_for_socket().
(Not noticed before because ap_note_cleanups_for_socket() and ap_note_cleanups_for_fd() simply close the fd,
except for OSs where closesocket() in different from close())

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/1.3.x@97306 13f79535-47bb-0310-9956-ffa450edef68

22 years agoWhen we detect a child exiting with APEXIT_CHILDFATAL in process_child_status(),
Martin Kraemer [Mon, 21 Oct 2002 13:41:57 +0000 (13:41 +0000)] 
When we detect a child exiting with APEXIT_CHILDFATAL in process_child_status(),
we simply exit(). Remove the pid file too, because it makes no sense after
the parent has terminated.
I assume that a better strategy here would be to kill(getpid(), SIGTERM) to
enforce a regular shutdown sequence, killing the other child processes too.
At the moment, they might be left running and blocking the server socket.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/1.3.x@97275 13f79535-47bb-0310-9956-ffa450edef68

22 years agoHere too
rasmus [Wed, 16 Oct 2002 20:37:04 +0000 (20:37 +0000)] 
Here too

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/1.3.x@97248 13f79535-47bb-0310-9956-ffa450edef68

22 years ago Reclassifying per Ryan's request
William A. Rowe Jr [Wed, 16 Oct 2002 20:32:02 +0000 (20:32 +0000)] 
  Reclassifying per Ryan's request

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/1.3.x@97246 13f79535-47bb-0310-9956-ffa450edef68

22 years agoLooks like these platforms are present now.
Martin Kraemer [Mon, 14 Oct 2002 21:14:09 +0000 (21:14 +0000)] 
Looks like these platforms are present now.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/1.3.x@97212 13f79535-47bb-0310-9956-ffa450edef68

22 years agoSome versions of tr (noticed on a special Solaris8 version) fail to accept
Martin Kraemer [Thu, 10 Oct 2002 16:36:21 +0000 (16:36 +0000)] 
Some versions of tr (noticed on a special Solaris8 version) fail to accept
the "tr '[a-z]' '[A-Z]'" syntax.  Fall back to some heuristics to create
a workable ap_config_auto.h anyway.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/1.3.x@97174 13f79535-47bb-0310-9956-ffa450edef68

22 years agoupdate binary status
Bradley Nicholes [Thu, 10 Oct 2002 16:35:17 +0000 (16:35 +0000)] 
update binary status

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/1.3.x@97173 13f79535-47bb-0310-9956-ffa450edef68

22 years agoUpdate
Martin Kraemer [Thu, 10 Oct 2002 16:18:04 +0000 (16:18 +0000)] 
Update

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/1.3.x@97172 13f79535-47bb-0310-9956-ffa450edef68

22 years agoClean up of stuff that are no longer applicable or have expired from
Jim Jagielski [Fri, 4 Oct 2002 18:10:11 +0000 (18:10 +0000)] 
Clean up of stuff that are no longer applicable or have expired from
stale cache :)

Also, we are ready for 1.3.27 binaries
PR:
Obtained from:
Submitted by:
Reviewed by:

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/1.3.x@97108 13f79535-47bb-0310-9956-ffa450edef68

22 years agoSometimes I'm a dope. No need to allocate a bunch a space... we just
Jim Jagielski [Thu, 3 Oct 2002 20:51:53 +0000 (20:51 +0000)] 
Sometimes I'm a dope. No need to allocate a bunch a space... we just
want to see if there's any whitespace past the number.
PR:
Obtained from:
Submitted by:
Reviewed by:

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/1.3.x@97094 13f79535-47bb-0310-9956-ffa450edef68

22 years agoPORT: Enable SINGLE_LISTEN_UNSERIALIZED_ACCEPT for AIX 4.3.2
Jeff Trawick [Thu, 3 Oct 2002 19:58:09 +0000 (19:58 +0000)] 
PORT: Enable SINGLE_LISTEN_UNSERIALIZED_ACCEPT for AIX 4.3.2
and above.  Rewrite configure logic for modern levels of
AIX to support future releases of AIX with no changes to
Apache.

This is basically a housekeeping matter to avoid having separate
stanzas for each AIX release and to add some finer detail to
the -DAIX=xxx value so that we know when to enable
SINGLE_LISTEN_UNSERIALIZED_ACCEPT.

I suspect that this fixes the recognition of AIX on ia64, but
nobody complained when it was broken and I don't know where to
find such a beast.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/1.3.x@97091 13f79535-47bb-0310-9956-ffa450edef68

22 years agoI have to stop addressing letters to "Glasgow, England" if I want them
Mark J. Cox [Wed, 2 Oct 2002 20:39:32 +0000 (20:39 +0000)] 
I have to stop addressing letters to "Glasgow, England" if I want them
to show up.
PR:
Obtained from:
Submitted by:
Reviewed by:

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/1.3.x@97061 13f79535-47bb-0310-9956-ffa450edef68

22 years agoAaron reminded me that this was in 1.3 as well.
Ryan Bloom [Wed, 2 Oct 2002 20:11:31 +0000 (20:11 +0000)] 
Aaron reminded me that this was in 1.3 as well.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/1.3.x@97060 13f79535-47bb-0310-9956-ffa450edef68

22 years agoPrint out the DYNAMIC_MODULE_LIMIT (=64) on the "httpd -V" page.
Martin Kraemer [Tue, 1 Oct 2002 14:24:23 +0000 (14:24 +0000)] 
Print out the DYNAMIC_MODULE_LIMIT (=64) on the "httpd -V" page.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/1.3.x@97042 13f79535-47bb-0310-9956-ffa450edef68

22 years agoUpdate place of work.
Aaron Bannert [Mon, 30 Sep 2002 17:32:48 +0000 (17:32 +0000)] 
Update place of work.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/1.3.x@97036 13f79535-47bb-0310-9956-ffa450edef68

22 years agoAnd we are now up to 1.3.28-dev
Jim Jagielski [Mon, 30 Sep 2002 16:42:11 +0000 (16:42 +0000)] 
And we are now up to 1.3.28-dev

PR:
Obtained from:
Submitted by:
Reviewed by:

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/1.3.x@97034 13f79535-47bb-0310-9956-ffa450edef68

22 years agoApply remaining patches for 1.3.27.
Jim Jagielski [Mon, 30 Sep 2002 16:35:22 +0000 (16:35 +0000)] 
Apply remaining patches for 1.3.27.
Mark as 1.3.27.
Get ready for tagging.
PR:
Obtained from:
Submitted by:
Reviewed by:

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/1.3.x@97032 13f79535-47bb-0310-9956-ffa450edef68

22 years agoEscape the request in the error_log file when encountering an invalid method
Martin Kraemer [Mon, 30 Sep 2002 11:58:22 +0000 (11:58 +0000)] 
Escape the request in the error_log file when encountering an invalid method

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/1.3.x@97029 13f79535-47bb-0310-9956-ffa450edef68

22 years agoMake sure that we indeed had a '/' in the pattern.
Martin Kraemer [Mon, 30 Sep 2002 11:17:40 +0000 (11:17 +0000)] 
Make sure that we indeed had a '/' in the pattern.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/1.3.x@97028 13f79535-47bb-0310-9956-ffa450edef68

22 years agoab.c was using strncat incorrectly as well as not checking for possible
Jim Jagielski [Sat, 28 Sep 2002 23:40:20 +0000 (23:40 +0000)] 
ab.c was using strncat incorrectly as well as not checking for possible
buffer overflow.
PR:
Obtained from:
Submitted by:
Reviewed by:

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/1.3.x@97007 13f79535-47bb-0310-9956-ffa450edef68

22 years agoUpdate TPF JCL examples.
David McCreedy [Fri, 27 Sep 2002 21:49:17 +0000 (21:49 +0000)] 
Update TPF JCL examples.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/1.3.x@96993 13f79535-47bb-0310-9956-ffa450edef68

22 years agoAdd VisualAge TPF Apache link example.
David McCreedy [Fri, 27 Sep 2002 21:44:51 +0000 (21:44 +0000)] 
Add VisualAge TPF Apache link example.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/1.3.x@96992 13f79535-47bb-0310-9956-ffa450edef68

22 years agoMark globals
Jim Jagielski [Fri, 27 Sep 2002 17:40:24 +0000 (17:40 +0000)] 
Mark globals
PR:
Obtained from:
Submitted by:
Reviewed by:

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/1.3.x@96990 13f79535-47bb-0310-9956-ffa450edef68

22 years agoScratch another its - this patchs allows me to hugely simply auth modules
Dirk-Willem van Gulik [Wed, 25 Sep 2002 23:22:34 +0000 (23:22 +0000)] 
Scratch another its - this patchs allows me to hugely simply auth modules
which use non 4xx methods for auth (such as cookies, referers ,etc).

Submitted by Sander van Zoest (for a slightly different reason) - see
explanation below.

From: Sander van Zoest
To: dev@httpd.apache.org

It is common practice to set Cookie's to pass along on HTTP
redirects for "login" authentication.

When implementing P3P <http://www.w3.org/P3P/> using
mod_headers.c the Header directive only sets r->headers_out
and does not pass the headers along for non-2XX responses
such as error pages and redirects.

To provide this functionality we added the ErrorHeader
directive which populates r->err_headers_out instead.

Below follows a patch for 1.3.X by Michael Radwin <radwin_at_yahoo-inc.com>.

I have some code that attempts to add Directive to 2.0.X, but
it seems that output_filters are shortcuted on 3XX responses.
While now by setting the Header directive it also passes the headers
along at for all non-2XX responses except 3XX responses.

Cheers,

--
Sander van Zoest

PR: 9181
Obtained from: Michael Radwin
Submitted by: Sander van Zoest
Reviewed by: Dirk-Willem van Gulik

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/1.3.x@96981 13f79535-47bb-0310-9956-ffa450edef68

22 years agoScratched a major itch - got bitten by config directory globbing sucking
Dirk-Willem van Gulik [Wed, 25 Sep 2002 22:54:16 +0000 (22:54 +0000)] 
Scratched a major itch - got bitten by config directory globbing sucking
in an editor backup file once too many. Applied the patch as submitted
by Sander van Zoest (Bug id 12712) whichs makes it possible to limit
the scope with simple but effective wild cards.

PR: 12712
Obtained from: Sander van Zoest
Submitted by: Sander van Zoest
Reviewed by: Dirk-Willem van Gulik

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/1.3.x@96980 13f79535-47bb-0310-9956-ffa450edef68

22 years agoScratched a major itch - got bitten by config directory globbing sucking
Dirk-Willem van Gulik [Wed, 25 Sep 2002 22:52:45 +0000 (22:52 +0000)] 
Scratched a major itch - got bitten by config directory globbing sucking
in an editor backup file once too many. Applied the patch as submitted
by Sander van Zoest (Bug id 12712) whichs makes it possible to limit
the scope with simple but effective wild cards.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/1.3.x@96979 13f79535-47bb-0310-9956-ffa450edef68

22 years agoAdd the ShmemUIDisUser directive and logic. Apache does not require
Jim Jagielski [Sat, 21 Sep 2002 17:18:34 +0000 (17:18 +0000)] 
Add the ShmemUIDisUser directive and logic. Apache does not require
that the SysV shared memory segment be reset to the uid/gid of
User/Group. In fact, it's not wise that it do so. However, there are
some 3rd party "add ons" that require/expect this behavior...
So allow admins to do so, assuming they know the impacts.
PR:
Obtained from:
Submitted by:
Reviewed by:

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/1.3.x@96941 13f79535-47bb-0310-9956-ffa450edef68

22 years agoFix a problem with the definition of union semun which broke
Jeff Trawick [Fri, 20 Sep 2002 10:13:57 +0000 (10:13 +0000)] 
Fix a problem with the definition of union semun which broke
System V semaphores on systems where sizeof(int) != sizeof(long).

PR:               12072
Submitted by:   <winterling@de.ibm.com>
Reviewed by:   Jeff Trawick, Justin Erenkrantz

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/1.3.x@96927 13f79535-47bb-0310-9956-ffa450edef68

22 years agoLine in the sand
Jim Jagielski [Wed, 18 Sep 2002 15:36:26 +0000 (15:36 +0000)] 
Line in the sand

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/1.3.x@96874 13f79535-47bb-0310-9956-ffa450edef68

22 years agoMake the protocol parsing case insensitive... 'http/1.1' was being
Jim Jagielski [Tue, 17 Sep 2002 01:09:19 +0000 (01:09 +0000)] 
Make the protocol parsing case insensitive... 'http/1.1' was being
tagged as invalid if ProtocolReqCheck was active.

PR:
Obtained from:
Submitted by:
Reviewed by:

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/1.3.x@96856 13f79535-47bb-0310-9956-ffa450edef68

22 years agoNetWare: Fix the comment for LogRotateInterval. It rotates after n minutes,
Bradley Nicholes [Fri, 13 Sep 2002 22:02:48 +0000 (22:02 +0000)] 
NetWare: Fix the comment for LogRotateInterval.  It rotates after n minutes,
not seconds

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/1.3.x@96795 13f79535-47bb-0310-9956-ffa450edef68

22 years agoChange TPF's mutex mechanism. Add additional info to TPF diagnostic msg.
David McCreedy [Tue, 10 Sep 2002 22:51:15 +0000 (22:51 +0000)] 
Change TPF's mutex mechanism.  Add additional info to TPF diagnostic msg.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/1.3.x@96755 13f79535-47bb-0310-9956-ffa450edef68