]> granicus.if.org Git - apache/log
apache
22 years agobinbuild.sh: Make sure that we use the expat from our source
Jeff Trawick [Sat, 2 Feb 2002 20:30:03 +0000 (20:30 +0000)]
binbuild.sh: Make sure that we use the expat from our source
tree so that there aren't any surprises on the target machine.

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

22 years agov31 beta notes are now in the status
Ian Holsman [Sat, 2 Feb 2002 20:10:44 +0000 (20:10 +0000)]
v31 beta notes are now in the status
PR:
Obtained from:
Submitted by:
Reviewed by:

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

22 years agoRemove the CACHE_IN filter is we are not doing caching
Bill Stoddard [Sat, 2 Feb 2002 16:40:52 +0000 (16:40 +0000)]
Remove the CACHE_IN filter is we are not doing caching

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

22 years agoAdd a few more checks to determine a response should be cached.
Bill Stoddard [Sat, 2 Feb 2002 16:20:33 +0000 (16:20 +0000)]
Add a few more checks to determine a response should be cached.

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

22 years agoIt took all day, but we rolled .31.
Justin Erenkrantz [Sat, 2 Feb 2002 09:10:32 +0000 (09:10 +0000)]
It took all day, but we rolled .31.

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

22 years ago- Add note about EBCDIC.
Justin Erenkrantz [Sat, 2 Feb 2002 09:09:45 +0000 (09:09 +0000)]
- Add note about EBCDIC.
- ap_[r]getline rewrite has landed.  I think it is time for this STATUS
  item to be removed.  Is there anything more w.r.t. input filtering
  that needs to be addressed?

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

22 years agoFix the AC_OUTPUT() macro for the BSD users.
Greg Stein [Fri, 1 Feb 2002 23:22:29 +0000 (23:22 +0000)]
Fix the AC_OUTPUT() macro for the BSD users.

Submitted by: Zack Weinberg <zack@codesourcery.com>

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

22 years agoReintroduce the create_connection hook. This hook is required to enable
Bill Stoddard [Fri, 1 Feb 2002 22:16:31 +0000 (22:16 +0000)]
Reintroduce the create_connection hook. This hook is required to enable
modules to completely take over all network i/o from the core.

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

22 years agomod_cgid: Add retry logic for when the daemon can't fork fast
Jeff Trawick [Fri, 1 Feb 2002 22:08:34 +0000 (22:08 +0000)]
mod_cgid: Add retry logic for when the daemon can't fork fast
enough to keep up with new requests.  Start using
HTTP_SERVER_UNAVAILABLE instead of HTTP_INTERNAL_SERVER_ERROR
when we can't talk to the daemon.

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

22 years agoapxs: Let the LTFLAGS environment variable override the default --silent flag.
Jeff Trawick [Fri, 1 Feb 2002 19:25:14 +0000 (19:25 +0000)]
apxs: Let the LTFLAGS environment variable override the default --silent flag.
Previously you had to edit the generated apxs to get rid of --silent.

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

22 years agoMoved the #endif of APR_HAS_SHARED_MEMORY to include a reference
Bradley Nicholes [Fri, 1 Feb 2002 18:07:08 +0000 (18:07 +0000)]
Moved the #endif of APR_HAS_SHARED_MEMORY to include a reference
to the global variable ap_scoreboard_shm.  Since this variable was already
being excluded by APR_HAS_SHARED_MEMORY at the beginning of the
file.

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

22 years agobloody tags
Ian Holsman [Fri, 1 Feb 2002 17:57:43 +0000 (17:57 +0000)]
bloody tags
sorry for the spam
PR:
Obtained from:
Submitted by:
Reviewed by:

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

22 years agoand back to 32-dev
Ian Holsman [Fri, 1 Feb 2002 17:56:56 +0000 (17:56 +0000)]
and back to 32-dev
PR:
Obtained from:
Submitted by:
Reviewed by:

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

22 years agopush the scoreboard patch into .31
Ian Holsman [Fri, 1 Feb 2002 17:56:10 +0000 (17:56 +0000)]
push the scoreboard patch into .31
PR:
Obtained from:
Submitted by:
Reviewed by:

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

22 years agoThere are really two issues here:
Justin Erenkrantz [Fri, 1 Feb 2002 17:51:17 +0000 (17:51 +0000)]
There are really two issues here:
- Can we *ever* build a static binary?  That *is* a showstopper, I agree.
  And, Aaron has volunteered to fix this soon-ish.
- Separate from that, is the question whether we should we *always* build a
  static binary?  That I do not believe I *is* a showstopper.  So, let's
  make the distinction and call for a vote.

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

22 years agoFixed the unload process so that the console command gets properly
Bradley Nicholes [Fri, 1 Feb 2002 17:29:27 +0000 (17:29 +0000)]
Fixed the unload process so that the console command gets properly
unregistered.  This fixes the 88 unreleased resources after termination

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

22 years agoCreate the scoreboard (in the parent) in a global pool context, so it
Aaron Bannert [Fri, 1 Feb 2002 17:25:13 +0000 (17:25 +0000)]
Create the scoreboard (in the parent) in a global pool context, so it
survives graceful restarts. This fixes a SEGV during graceful restarts.

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

22 years agoCreate the scoreboard (in the parent) in a global pool context, so it
Aaron Bannert [Fri, 1 Feb 2002 17:22:57 +0000 (17:22 +0000)]
Create the scoreboard (in the parent) in a global pool context, so it
survives graceful restarts. This fixes a SEGV during graceful restarts.

Children who attach to this scoreboard keep the same pool as before (pchild)
since they should detach/unmap when the child process exits.

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

22 years agoRecord my quasi-evident thought formally.
Justin Erenkrantz [Fri, 1 Feb 2002 16:53:07 +0000 (16:53 +0000)]
Record my quasi-evident thought formally.

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

22 years agoSome STATUS notes from jag
Jim Jagielski [Fri, 1 Feb 2002 15:04:12 +0000 (15:04 +0000)]
Some STATUS notes from jag

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

22 years agoWas 81 deg F here yesterday
Bill Stoddard [Fri, 1 Feb 2002 14:56:20 +0000 (14:56 +0000)]
Was 81 deg F here yesterday

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

22 years agoStill bright and sunny
Ken Coar [Fri, 1 Feb 2002 13:21:34 +0000 (13:21 +0000)]
Still bright and sunny

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

22 years agoBright and sunny
Ken Coar [Fri, 1 Feb 2002 13:16:00 +0000 (13:16 +0000)]
Bright and sunny

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

22 years agosome things just aren't important when compared with those horrible
Jeff Trawick [Fri, 1 Feb 2002 12:31:07 +0000 (12:31 +0000)]
some things just aren't important when compared with those horrible
whitespace problems :)

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

22 years ago One down, my fault
William A. Rowe Jr [Fri, 1 Feb 2002 06:25:20 +0000 (06:25 +0000)]
  One down, my fault

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

22 years agoUpdate some of the URLs and notes that have gotten stale.
Justin Erenkrantz [Fri, 1 Feb 2002 06:21:59 +0000 (06:21 +0000)]
Update some of the URLs and notes that have gotten stale.

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

22 years agoNo way.
Justin Erenkrantz [Fri, 1 Feb 2002 06:07:49 +0000 (06:07 +0000)]
No way.

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

22 years agoDon't let me forget about the scoreboard changes.
Aaron Bannert [Fri, 1 Feb 2002 06:05:51 +0000 (06:05 +0000)]
Don't let me forget about the scoreboard changes.

Perchild works, but only on some platforms.

** Vote if you will not support a GA until perchild is portable. **

Volunteer for fixing binbuild.

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

22 years agoQuestion everything.
Justin Erenkrantz [Fri, 1 Feb 2002 05:50:50 +0000 (05:50 +0000)]
Question everything.

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

22 years agomissed a '&'
Ian Holsman [Fri, 1 Feb 2002 04:07:48 +0000 (04:07 +0000)]
missed a '&'

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

22 years agoRecord my vote on the proposal to kill all the child processes
Brian Pane [Thu, 31 Jan 2002 23:32:53 +0000 (23:32 +0000)]
Record my vote on the proposal to kill all the child processes
if the parent crashes

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

22 years agoVote time.
Justin Erenkrantz [Thu, 31 Jan 2002 23:19:47 +0000 (23:19 +0000)]
Vote time.

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

22 years agoIf the RedirectMatch target is an abs_path, make it an absoluteURI
Ken Coar [Thu, 31 Jan 2002 20:38:08 +0000 (20:38 +0000)]
If the RedirectMatch target is an abs_path, make it an absoluteURI

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

22 years agofix redirects for directories. fixup_dir was munging the URI before other
Greg Ames [Thu, 31 Jan 2002 19:54:53 +0000 (19:54 +0000)]
fix redirects for directories.  fixup_dir was munging the URI before other
fixup hooks (such as fixup_redir in mod_alias) had a chance to redirect
the original directory URI.

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

22 years agoRemoved the call for now to shutdown the listeners so that threads don't end
Bradley Nicholes [Thu, 31 Jan 2002 19:21:34 +0000 (19:21 +0000)]
Removed the call for now to shutdown the listeners so that threads don't end
up stuck on blocking socket calls during shutdown.  I need to figure out a
cleaner way of preventing this problem.

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

22 years ago Fix RedirectMatch so it won't emit invalid Location fields.
Ken Coar [Thu, 31 Jan 2002 18:44:48 +0000 (18:44 +0000)]
Fix RedirectMatch so it won't emit invalid Location fields.

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

22 years agoooops, pin the tail on the correct donkey. mod_alias is being bad,
Greg Ames [Thu, 31 Jan 2002 18:15:09 +0000 (18:15 +0000)]
ooops, pin the tail on the correct donkey.  mod_alias is being bad,
dunno about mod_rewrite.

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

22 years agoAnother showstopper.. protocol violation, this time.
Ken Coar [Thu, 31 Jan 2002 15:46:19 +0000 (15:46 +0000)]
Another showstopper.. protocol violation, this time.

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

22 years agocorrect the broken URL
Greg Ames [Thu, 31 Jan 2002 15:01:00 +0000 (15:01 +0000)]
correct the broken URL

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

22 years agoUse symbolic names
Martin Kraemer [Thu, 31 Jan 2002 14:55:05 +0000 (14:55 +0000)]
Use symbolic names

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

22 years agoCheck for timegm() and for tm_gmtoff in struct tm.
Martin Kraemer [Thu, 31 Jan 2002 14:51:37 +0000 (14:51 +0000)]
Check for timegm() and for tm_gmtoff in struct tm.
These are used for the USE_MDTM case in proxy_ftp.

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

22 years agoAdd MDTM support if supported by the FTP server, and if either
Martin Kraemer [Thu, 31 Jan 2002 14:48:51 +0000 (14:48 +0000)]
Add MDTM support if supported by the FTP server, and if either
timegm() exists or struct tm has a tm_gmtoff field (needed for
easily converting the time string to a GMT timestamp).
Escaping for ftp path arguments now uses a dedicated escaping
routine (in order to only escape globbing characters, not all
shell meta characters).
Execute the SIZE query with the same TYPE setting as the RETR transfer,
because the SIZE may be calculated differently for ASCII files.

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

22 years agoA LF here, a CR there, a CRLF for all else...
Justin Erenkrantz [Thu, 31 Jan 2002 05:31:39 +0000 (05:31 +0000)]
A LF here, a CR there, a CRLF for all else...

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

22 years ago32-dev is now it
Ian Holsman [Thu, 31 Jan 2002 05:28:43 +0000 (05:28 +0000)]
32-dev is now it
PR:
Obtained from:
Submitted by:
Reviewed by:

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

22 years agoits tag time
Ian Holsman [Thu, 31 Jan 2002 05:22:37 +0000 (05:22 +0000)]
its tag time
v31 is being tagged

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

22 years ago The missing xcopy's <.a bit was a showstopper, but to ensure any win32
William A. Rowe Jr [Thu, 31 Jan 2002 01:25:49 +0000 (01:25 +0000)]
  The missing xcopy's <.a bit was a showstopper, but to ensure any win32
  command.com/cmd.exe lives with us, add the <.y for all copy commands
  where the file could already exist.

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

22 years agoEliminate variables where unneeded; move ";type=" checking code to front;
Martin Kraemer [Wed, 30 Jan 2002 22:41:59 +0000 (22:41 +0000)]
Eliminate variables where unneeded; move ";type=" checking code to front;
drop redundant log messages (covered by proxy_ftp_command());
do checks for /%2f as in apache-1.3.24;
escape path argument in SIZE command

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

22 years agoChange the Windows MPM to only use the pre_mpm phase in the parent process.
Ryan Bloom [Wed, 30 Jan 2002 22:35:57 +0000 (22:35 +0000)]
Change the Windows MPM to only use the pre_mpm phase in the parent process.
The child processes use the child_init phase to reattach to the shared
memory.  This makes Windows work like Unix, which should make it easier
for module authors to write portable modules.

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

22 years agochange filter's/handlers to static.
Ian Holsman [Wed, 30 Jan 2002 18:53:33 +0000 (18:53 +0000)]
change filter's/handlers to static.
changed a directive to a flag (which is what it was)
Submitted by:  Jeff Trawick

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

22 years agoadd a ProxyTimeout directive
Ian Holsman [Wed, 30 Jan 2002 18:46:56 +0000 (18:46 +0000)]
add a ProxyTimeout directive

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

22 years agoWhoops, forgot to update this 'way back when..
Ken Coar [Wed, 30 Jan 2002 18:38:09 +0000 (18:38 +0000)]
Whoops, forgot to update this 'way back when..

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

22 years agoout damn warnings out
Ian Holsman [Wed, 30 Jan 2002 18:05:26 +0000 (18:05 +0000)]
out damn warnings out

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

22 years agoFix a type-d'oh
Ken Coar [Wed, 30 Jan 2002 16:53:44 +0000 (16:53 +0000)]
Fix a type-d'oh

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

22 years agoIf we die we need to write an epitaph..
Ken Coar [Wed, 30 Jan 2002 16:11:10 +0000 (16:11 +0000)]
If we die we need to write an epitaph..

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

22 years agoUpdate documentation, and lowercase all html tags
Martin Kraemer [Wed, 30 Jan 2002 15:51:01 +0000 (15:51 +0000)]
Update documentation, and lowercase all html tags

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

22 years agoMinor tipos
Martin Kraemer [Wed, 30 Jan 2002 15:30:09 +0000 (15:30 +0000)]
Minor tipos

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

22 years agoOf course, more wildcard characters
Martin Kraemer [Wed, 30 Jan 2002 15:14:39 +0000 (15:14 +0000)]
Of course, more wildcard characters

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

22 years agoDescribe the proxy_ftp changes:
Martin Kraemer [Wed, 30 Jan 2002 15:12:57 +0000 (15:12 +0000)]
Describe the proxy_ftp changes:
FTP directory listings are now always retrieved in ASCII mode.
The FTP proxy properly escapes URI's and HTML in the generated
listing, and escapes the path components when talking to the FTP
server. It is now possible to browse the root directory by using
a url like:   ftp://user@host/%2f/ (ported from apache_1.3.24)
Also, the last path component may contain wildcard characters
'*' and '?', and if they do, a directory listing is created instead
of a file retrieval. Example: ftp://user@host/httpd/server/*.c

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

22 years agoPort the "squid %2f hack" from apache_1.3.24.
Martin Kraemer [Wed, 30 Jan 2002 15:07:48 +0000 (15:07 +0000)]
Port the "squid %2f hack" from apache_1.3.24.
It is now possible to browse the root directory by using a url
like:   ftp://user@host/%2f/
Also, the last path component may contain wildcard characters
'*' and '?', and if they do, a directory listing is created instead
of a file retrieval. Example: ftp://user@host/httpd/server/*.c

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

22 years agoOops, sorry. Lost one line.
Martin Kraemer [Wed, 30 Jan 2002 14:59:46 +0000 (14:59 +0000)]
Oops, sorry. Lost one line.

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

22 years agoSomething sets the content_encoding, even if a directory listing
Martin Kraemer [Wed, 30 Jan 2002 14:56:42 +0000 (14:56 +0000)]
Something sets the content_encoding, even if a directory listing
is going to be returned. Hack: unset the content_encoding if
dirlisting == TRUE.

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

22 years agoFor the ftp commands CWD and RETR, do escaping for the path elements,
Martin Kraemer [Wed, 30 Jan 2002 14:54:18 +0000 (14:54 +0000)]
For the ftp commands CWD and RETR, do escaping for the path elements,
because FTP servers do globbing, which we do not want for filenames
from the directory listing.
PR:
Obtained from:
Submitted by:
Reviewed by:

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

22 years ago Fix nmake -f makefile.win clean on win32.
William A. Rowe Jr [Wed, 30 Jan 2002 13:40:42 +0000 (13:40 +0000)]
  Fix nmake -f makefile.win clean on win32.

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

22 years agoIn the debug log, say 'decline' instead of 'reject' when DECLINEing
Martin Kraemer [Wed, 30 Jan 2002 12:40:39 +0000 (12:40 +0000)]
In the debug log, say 'decline' instead of 'reject' when DECLINEing

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

22 years agoRemove more spmt_os2 MPM leftovers.
Brian Havard [Wed, 30 Jan 2002 12:32:07 +0000 (12:32 +0000)]
Remove more spmt_os2 MPM leftovers.

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

22 years agoget rid of a bunch of warnings about unused variables
Jeff Trawick [Wed, 30 Jan 2002 11:56:26 +0000 (11:56 +0000)]
get rid of a bunch of warnings about unused variables

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

22 years agozap a warning on AIX... given that time_t isn't an APR construct
Jeff Trawick [Wed, 30 Jan 2002 11:54:15 +0000 (11:54 +0000)]
zap a warning on AIX...  given that time_t isn't an APR construct
I don't know of a better fix

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

22 years agoOops: wrong variable
Martin Kraemer [Wed, 30 Jan 2002 09:55:33 +0000 (09:55 +0000)]
Oops: wrong variable

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

22 years agoSimplify the complexity by using a common proxy_ftp_command() routine.
Martin Kraemer [Wed, 30 Jan 2002 09:47:22 +0000 (09:47 +0000)]
Simplify the complexity by using a common proxy_ftp_command() routine.
Strip the ";type=X" suffix from the header generated in dir listings.
Set type to ASCII for directory listings. Use common get_PWD() routine.

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

22 years agoUpdated to support the use of the ap_mpm_pod API in worker
Brian Pane [Wed, 30 Jan 2002 06:34:12 +0000 (06:34 +0000)]
Updated to support the use of the ap_mpm_pod API in worker

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

22 years agoAdded logic to the worker MPM to skip the poll before accept
Brian Pane [Wed, 30 Jan 2002 06:33:18 +0000 (06:33 +0000)]
Added logic to the worker MPM to skip the poll before accept
if there's only one listener socket (based on the implementation
in the prefork MPM).  This also enables us to do single-listener
unserialized accept

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

22 years ago Need the long name of the build model for ssl/abs (e.g. Release/Debug).
William A. Rowe Jr [Wed, 30 Jan 2002 05:17:58 +0000 (05:17 +0000)]
  Need the long name of the build model for ssl/abs (e.g. Release/Debug).

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

22 years agomake it compile on win32
Ian Holsman [Wed, 30 Jan 2002 04:37:29 +0000 (04:37 +0000)]
make it compile on win32

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

22 years agoCleanup some fallout from the recent install_transport_filters commit.
Bill Stoddard [Wed, 30 Jan 2002 04:34:11 +0000 (04:34 +0000)]
Cleanup some fallout from the recent install_transport_filters commit.
Deprecate ap_proxy_pre_http_connection.

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

22 years agoSimplify the exit paths of ap_rgetline by creating a second brigade for
Justin Erenkrantz [Wed, 30 Jan 2002 02:06:09 +0000 (02:06 +0000)]
Simplify the exit paths of ap_rgetline by creating a second brigade for
use when we do AP_MODE_SPECULATIVE.  This allows us to delete the
brigades earlier.

(In practice, it really doesn't matter if we delete the brigade or not
since it will be destroyed when it's pool is destroyed, but we'll try
to be nice.)

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

22 years agoNow how did this slip by. Fixes a segfault. I tested this code, really...
Bill Stoddard [Wed, 30 Jan 2002 01:57:53 +0000 (01:57 +0000)]
Now how did this slip by. Fixes a segfault. I tested this code, really...

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

22 years agoget prefork to build again.
Greg Ames [Tue, 29 Jan 2002 22:31:25 +0000 (22:31 +0000)]
get prefork to build again.

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

22 years agonew directive 'ProxyPreserveHost' which allows the incoming host line to
Ian Holsman [Tue, 29 Jan 2002 21:08:37 +0000 (21:08 +0000)]
new directive 'ProxyPreserveHost'  which allows the incoming host line to
be sent to the proxied server.

Submitted by: g.russell@ieee.org (1.3 version)
Reviewed by: Ian Holsman/Graham Legget/Chuck Murcko

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

22 years agojust make it a bit more explicit
Ian Holsman [Tue, 29 Jan 2002 19:33:25 +0000 (19:33 +0000)]
just make it a bit more explicit

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

22 years agoThis patch restores most of Ryan's patch (11/12/2001) to remove the
Bill Stoddard [Tue, 29 Jan 2002 19:02:04 +0000 (19:02 +0000)]
This patch restores most of Ryan's patch (11/12/2001) to remove the
client_socket from the conn_rec.  Diffs from Ryan's patch include:

- rename the create_connection hook to install_transport_filters
- move the point of invocation of the hook till after the call to
  after ap_update_vhost_given_ip to enable the hook to use vhost
  config info in its decision making.

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

22 years agoconfiguration change.
Ian Holsman [Tue, 29 Jan 2002 19:00:45 +0000 (19:00 +0000)]
configuration change.
allow a '!' directive to stop proxying these requests
eg.

  ProxyPass /services/images/     !
  ProxyPass /services/            http://service-machine/services/

which will stop requests to /services/images/ from being proxied

Submitted by: Jukka Pihl <jukka.pihl@entirem.com>
Reviewed by: Ian Holsman, Graham Legget, Chuck Murcko

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

22 years ago BuildBin never made it to this home. Makefile.win got lost, since it
William A. Rowe Jr [Tue, 29 Jan 2002 18:19:17 +0000 (18:19 +0000)]
  BuildBin never made it to this home.  Makefile.win got lost, since it
  would have been invoked from another path, trying to validate that the
  apr and apr-util repositories had been checked out.  Too much trouble :)

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

22 years ago Move the _tryssl targets across to the BuildBin target
William A. Rowe Jr [Tue, 29 Jan 2002 18:16:54 +0000 (18:16 +0000)]
  Move the _tryssl targets across to the BuildBin target

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

22 years ago Trust MS to manage it's project.
William A. Rowe Jr [Tue, 29 Jan 2002 18:15:13 +0000 (18:15 +0000)]
  Trust MS to manage it's project.

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

22 years ago By popular demand and some of my own observations - here is a build
William A. Rowe Jr [Tue, 29 Jan 2002 18:13:33 +0000 (18:13 +0000)]
  By popular demand and some of my own observations - here is a build
  target one can use as a dummy, without 'installing binaries'.  Now
  Win32's makefile.win will simply kick off BuildBin and let it fire
  off all the targets from a command line build.  This will help to
  resolve some of the misses on incremental builds.

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

22 years agoIf the ftp proxy could not guess the output format of the ftp server's
Martin Kraemer [Tue, 29 Jan 2002 17:56:42 +0000 (17:56 +0000)]
If the ftp proxy could not guess the output format of the ftp server's
directory listing, it makes another attempt: it tries a format similar to
the output of "ls -s1" (optional whitespace followed by size, followed by
whitespace, followed by filename, where filename may contain no more whitespace).
This format works at least with one FTP server for which previously only
the (non-clickable) output was displayed.

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

22 years ago Many of our platform's apr_dir_read() aren't returning APR_FINFO_TYPE,
William A. Rowe Jr [Tue, 29 Jan 2002 17:46:30 +0000 (17:46 +0000)]
  Many of our platform's apr_dir_read() aren't returning APR_FINFO_TYPE,
  so we will take the long way through (and the long way for LNK's as well.)

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

22 years ago Prepare for some changes to the .dsw - phase 1.
William A. Rowe Jr [Tue, 29 Jan 2002 17:22:20 +0000 (17:22 +0000)]
  Prepare for some changes to the .dsw - phase 1.

  Add /USEENV for msdev so the user with awk.exe in the path can resolve.

  Add _dummy: for a new compile-all target.

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

22 years agoFix handling of \r\n at the end of FTP directory listings (\r characters
Martin Kraemer [Tue, 29 Jan 2002 17:07:26 +0000 (17:07 +0000)]
Fix handling of \r\n at the end of FTP directory listings (\r characters
were left in the output and would create additional line breaks in most
browsers)

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

22 years agoFor NoProxy connections (when no backend->connection is needed), a NULL
Martin Kraemer [Tue, 29 Jan 2002 16:55:07 +0000 (16:55 +0000)]
For NoProxy connections (when no backend->connection is needed), a NULL
pointer would be dereferenced. Check it more thoroughly.

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

22 years agoScriptAlias requires mod_cgi
Joshua Slive [Tue, 29 Jan 2002 15:46:58 +0000 (15:46 +0000)]
ScriptAlias requires mod_cgi

Submitted by: TD - Sales International Holland B.V. <td@salesint.com>

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

22 years ago* Prefer compatibility with both HTML-4 and XHTML (rather than XHTML only)
Martin Kraemer [Tue, 29 Jan 2002 15:31:28 +0000 (15:31 +0000)]
* Prefer compatibility with both HTML-4 and XHTML (rather than XHTML only)
* Properly escape URIs and HTML in the FTP filename list
* Avoid a pointer underrun

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

22 years agoAdd some more apr_ types
Martin Kraemer [Tue, 29 Jan 2002 15:27:30 +0000 (15:27 +0000)]
Add some more apr_ types

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

22 years agoconst is nice
Jeff Trawick [Tue, 29 Jan 2002 12:30:52 +0000 (12:30 +0000)]
const is nice

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

22 years agoNo need to use strcpy() where a ptr assignment is ok
Martin Kraemer [Tue, 29 Jan 2002 09:09:47 +0000 (09:09 +0000)]
No need to use strcpy() where a ptr assignment is ok

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

22 years agoDon't let the default handler try to serve a raw directory. At
Jeff Trawick [Tue, 29 Jan 2002 04:54:05 +0000 (04:54 +0000)]
Don't let the default handler try to serve a raw directory.  At
best you get gibberish.  Much worse things can happen depending
on the OS.

This can happen when autoindex isn't loaded.

On AIX, I had a directory file which was reported to be 1536 bytes
in size.  mmap() failed so we went to the fall-back logic.
The first read() got 624 bytes and the next read() got 0
(supposedly EOF).  This confused us greatly, we kept allocating
buffers and reading and exercised the paging space.

Reviewed by:  Bill Rowe

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

22 years agoTake advantage of the new pre_config return value when apr_proc_detach
Aaron Bannert [Tue, 29 Jan 2002 02:41:46 +0000 (02:41 +0000)]
Take advantage of the new pre_config return value when apr_proc_detach
fails. I'll be making some changes to apr_proc_detach, and it will be
nice to be able to report runtime errors.

Tested on worker but the code changes are identical on other MPMs.

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

22 years agoAdded MOD_Auth_Digest to the build project
Bradley Nicholes [Tue, 29 Jan 2002 00:42:34 +0000 (00:42 +0000)]
Added MOD_Auth_Digest to the build project

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

22 years agoAdded some type casting to the appropriate types to avoid type mismatches
Bradley Nicholes [Tue, 29 Jan 2002 00:23:30 +0000 (00:23 +0000)]
Added some type casting to the appropriate types to avoid type mismatches
on the CodeWarrior compiler

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

22 years agoI think this was supposed to have been bumped a couple times since
Aaron Bannert [Tue, 29 Jan 2002 00:00:39 +0000 (00:00 +0000)]
I think this was supposed to have been bumped a couple times since
the 14th, and was perhaps forgotten about? In any case, it needs to
be bumped now -- pre_config hook return type has changed.

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