]> granicus.if.org Git - apache/log
apache
23 years agoNo longer need to set ap_restart_time here as it's done in
Brian Havard [Wed, 7 Feb 2001 00:27:25 +0000 (00:27 +0000)]
No longer need to set ap_restart_time here as it's done in
ap_create_scoreboard().

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

23 years agoBack out previous change. dav/main/config.m4 adds its directory the the
Greg Stein [Tue, 6 Feb 2001 23:36:53 +0000 (23:36 +0000)]
Back out previous change. dav/main/config.m4 adds its directory the the
INCLUDES variable. No need to do it yet again.

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

23 years agoDon't include mpm.h from scoreboard.h as scoreboard.h is included from mpm.h.
Brian Havard [Tue, 6 Feb 2001 23:33:31 +0000 (23:33 +0000)]
Don't include mpm.h from scoreboard.h as scoreboard.h is included from mpm.h.
Instead, make the MPM type defined before including scoreboard.h.
PR:
Obtained from:
Submitted by:
Reviewed by:

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

23 years agoWe have a poor abstraction in the protocol. This is a temporary
Ryan Bloom [Tue, 6 Feb 2001 22:49:46 +0000 (22:49 +0000)]
We have a poor abstraction in the protocol.  This is a temporary
hack to fix the bug, but it will need to be fixed for real.  If
we find an error while sending out a custom error response, we back
up to the first non-OK request and send the data.  Then, when we send
the EOS from finalize_request_protocol, we go to the last request,
to ensure that we aren't sending an EOS to a request that has already
received one.  Because the data is sent on a different request than
the EOS, the error text never gets sent down the filter stack.  This
fixes the problem by finding the last request, and sending the data
with that request.
PR: 7165

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

23 years agoget perchild just a little closer to building; maybe somebody
Jeff Trawick [Tue, 6 Feb 2001 22:34:56 +0000 (22:34 +0000)]
get perchild just a little closer to building; maybe somebody
with a soft spot in their heart for perchild can spend the
remaining ten minutes to fix it;

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

23 years agoget Unix MPMs to build again after recent scoreboard changes
Jeff Trawick [Tue, 6 Feb 2001 22:22:59 +0000 (22:22 +0000)]
get Unix MPMs to build again after recent scoreboard changes

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

23 years agoJean Frederic says (and I verified his claim):
Martin Kraemer [Tue, 6 Feb 2001 21:47:50 +0000 (21:47 +0000)]
Jean Frederic says (and I verified his claim):
  After fighting with shlibtool I discovered that the problem was that
  libtool was called instead shlibtools.

  Of course it is easy to fix and it fixes mod_dav and mod_dav_fs [...]

Submitted by: jfrederic.clere@fujitsu-siemens.com

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

23 years agoRemove some STATUS items that relate to the scoreboard API. These were
Ryan Bloom [Tue, 6 Feb 2001 20:47:07 +0000 (20:47 +0000)]
Remove some STATUS items that relate to the scoreboard API.  These were
fixed with the mod_status changes last week.

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

23 years agoSetup the server start time correctly. This also gets the server uptime
Ryan Bloom [Tue, 6 Feb 2001 20:41:07 +0000 (20:41 +0000)]
Setup the server start time correctly.  This also gets the server uptime
to be reported correctly.  I have also moved this code into a common
location, so that individual MPMs do not need to worry about setting up
the start time.

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

23 years agoAdded note about later sections overriding earlier.
Chris Pepper [Tue, 6 Feb 2001 16:31:17 +0000 (16:31 +0000)]
Added note about later sections overriding earlier.
Removed note about order reversal in 1.2-1.3a versions.
Fixed a couple typos.
Matched up <p> & </p>.

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

23 years agoMake sure that mod_include's post_config hook always runs before
Ryan Bloom [Tue, 6 Feb 2001 16:21:14 +0000 (16:21 +0000)]
Make sure that mod_include's post_config hook always runs before
mod_cgi(d)'s post_config hook.  Mod_include creates a hash table in the
post_config stage that mod_cgi(d) uses during it's post_config stage, so
it must be done in this order.
Submitted by:  Brian Havard <brianh@kheldar.apana.org.au>

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

23 years agomove the instantiation of includes_module out of mod_include.h
Jeff Trawick [Tue, 6 Feb 2001 15:55:06 +0000 (15:55 +0000)]
move the instantiation of includes_module out of mod_include.h

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

23 years agoaxe an unused parm to make_child(); this gets rid of a warning
Jeff Trawick [Tue, 6 Feb 2001 15:52:27 +0000 (15:52 +0000)]
axe an unused parm to make_child(); this gets rid of a warning
on AIX about not having a prototype for time()

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

23 years agoGet OS/2 MPM running again after the reunification of the scoreboard code.
Brian Havard [Tue, 6 Feb 2001 15:16:05 +0000 (15:16 +0000)]
Get OS/2 MPM running again after the reunification of the scoreboard code.
mod_status still doesn't work right, I'll look into that next.

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

23 years agoFix for dav/fs to find the mod_dav.h ionclude file
Martin Kraemer [Tue, 6 Feb 2001 14:15:38 +0000 (14:15 +0000)]
Fix for dav/fs to find the mod_dav.h ionclude file
Submitted by: jfrederic.clere@fujitsu-siemens.com

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

23 years agoupdate for the latest build system
Chuck Murcko [Tue, 6 Feb 2001 10:46:23 +0000 (10:46 +0000)]
update for the latest build system
PR:
Obtained from:
Submitted by:
Reviewed by:

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

23 years agoIf we are in the middle of a brigade loop, we don't want to always check
Ryan Bloom [Tue, 6 Feb 2001 04:13:45 +0000 (04:13 +0000)]
If we are in the middle of a brigade loop, we don't want to always check
the first bucket in the brigade.

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

23 years agoMove the logic for creating CGI processes from mod_include to mod_cgi(d).
Ryan Bloom [Mon, 5 Feb 2001 22:57:21 +0000 (22:57 +0000)]
Move the logic for creating CGI processes from mod_include to mod_cgi(d).
This removes a good deal of duplicate logic for creating CGI scripts.

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

23 years agoTweak the AP_MIN_SENDFILE_BYTES. Not using sendfile on Windows
Bill Stoddard [Mon, 5 Feb 2001 18:28:47 +0000 (18:28 +0000)]
Tweak the AP_MIN_SENDFILE_BYTES.  Not using sendfile on Windows
in the general (non byterange) case is a HUGE performance hit (> 50% in many cases).
I also suspect most byterange requests will be for substantially more bytes (a pageful
out of a larger document for example). In the uncommon (I believe) cases where
fewer bytes are requested, 250 bytes per packet is not too abusive of the network.

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

23 years agoap_new_connection() returns NULL if an error occurred (prefork MPM
Jeff Trawick [Mon, 5 Feb 2001 15:04:32 +0000 (15:04 +0000)]
ap_new_connection() returns NULL if an error occurred (prefork MPM
and ap_new_connection() were changed last week)

I have skipped putting the change into WinNT MPM and mod_proxy.  I
left a note in the mod_proxy code; for the NT MPM I think I can talk
somebody into doing the right thing for me.

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

23 years agoI hereby propose that the ASF buy that guy a compiler.
Jeff Trawick [Mon, 5 Feb 2001 12:55:11 +0000 (12:55 +0000)]
I hereby propose that the ASF buy that guy a compiler.

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

23 years ago*) add activity handling: OPTIONS and MKACTIVITY
Greg Stein [Mon, 5 Feb 2001 12:34:39 +0000 (12:34 +0000)]
*) add activity handling: OPTIONS and MKACTIVITY
*) fix HTTP status code in MKWORKSPACE handling
*) add can_be_activity and make_activity hooks to dav_hooks_vsn

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

23 years agos/l/r/ in ap_send_http_header protototype
Doug MacEachern [Mon, 5 Feb 2001 03:31:43 +0000 (03:31 +0000)]
s/l/r/ in ap_send_http_header protototype

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

23 years agoMove release.h to ap_release.h. This was done to namespace protect the
Ryan Bloom [Mon, 5 Feb 2001 03:15:20 +0000 (03:15 +0000)]
Move release.h to ap_release.h.  This was done to namespace protect the
release header file.  While doing this, I also made sure that the file
was only included once.
Submitted by: Greg Stein

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

23 years agoMove the APACHE_RELEASE macro to release.h
Ryan Bloom [Mon, 5 Feb 2001 01:12:47 +0000 (01:12 +0000)]
Move the APACHE_RELEASE macro to release.h

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

23 years agoRemove the Announcement file from the build tree. It has been moved to
Ryan Bloom [Mon, 5 Feb 2001 01:08:27 +0000 (01:08 +0000)]
Remove the Announcement file from the build tree.  It has been moved to
the Apache web site, in preparation for the first tag using the new tag
and release strategy.

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

23 years agoMove the server version information out of httpd.h and into release.h.
Ryan Bloom [Mon, 5 Feb 2001 01:02:27 +0000 (01:02 +0000)]
Move the server version information out of httpd.h and into release.h.
This is in preparation of the first tag with the new tag and release
strategy.

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

23 years agoMore mod_status work... Get Current Time, Restart Time and Server uptime
Bill Stoddard [Sun, 4 Feb 2001 03:12:49 +0000 (03:12 +0000)]
More mod_status work... Get Current Time, Restart Time and Server uptime
displaying properly.

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

23 years agoThe windows MPM has one child process.
Bill Stoddard [Sun, 4 Feb 2001 03:09:28 +0000 (03:09 +0000)]
The windows MPM has one child process.

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

23 years agofix minor prototype inconsistencies noticed with C::Scan
Doug MacEachern [Sun, 4 Feb 2001 03:00:15 +0000 (03:00 +0000)]
fix minor prototype inconsistencies noticed with C::Scan

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

23 years agoSo server-status displays "Server uptime" correctly
Bill Stoddard [Sat, 3 Feb 2001 21:11:34 +0000 (21:11 +0000)]
So server-status displays "Server uptime" correctly

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

23 years agoImproved(?) docco.
Ben Laurie [Sat, 3 Feb 2001 20:25:13 +0000 (20:25 +0000)]
Improved(?) docco.

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

23 years agoAdd SERVER_STARTING and SERVER_DEAD child states to the Windows MPM.
Bill Stoddard [Sat, 3 Feb 2001 19:58:04 +0000 (19:58 +0000)]
Add SERVER_STARTING and SERVER_DEAD child states to the Windows MPM.

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

23 years agoTrack a bit more child status in the Windows MPM
Bill Stoddard [Sat, 3 Feb 2001 19:37:12 +0000 (19:37 +0000)]
Track a bit more child status in the Windows MPM

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

23 years agocleanups need to return apr_status_t
Jeff Trawick [Sat, 3 Feb 2001 00:32:20 +0000 (00:32 +0000)]
cleanups need to return apr_status_t

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

23 years agoPass the thread number along to the new thread for use in the conn->id field.
Bill Stoddard [Fri, 2 Feb 2001 23:39:24 +0000 (23:39 +0000)]
Pass the thread number along to the new thread for use in the conn->id field.

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

23 years agoA child is not a thread is not a child
Bill Stoddard [Fri, 2 Feb 2001 23:36:14 +0000 (23:36 +0000)]
A child is not a thread is not a child

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

23 years agoOoops, that S and D are right next to each other.
Bill Stoddard [Fri, 2 Feb 2001 22:31:00 +0000 (22:31 +0000)]
Ooops, that S and D are right next to each other.

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

23 years agoBegin restructuring scoreboard code to enable adding back in
Bill Stoddard [Fri, 2 Feb 2001 21:32:34 +0000 (21:32 +0000)]
Begin restructuring scoreboard code to enable adding back in
the ability to use IPC other than shared memory.
Get mod_status working on Windows again.

Still to do:
Rename some of the function APIs. Replace all calls to reinit_scoreboard with
ap_create_scoreboard. Add back in support for scoreboard files.

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

23 years agoShould consider APRizing the entire module. For now, use HAVE_TIMES
Bill Stoddard [Fri, 2 Feb 2001 19:28:06 +0000 (19:28 +0000)]
Should consider APRizing the entire module. For now, use HAVE_TIMES
to indicate if we have the necessary structures.  This is part of getting
mod_status working on Windows

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

23 years agoavoid warning in non-AP_DEBUG build
Jeff Trawick [Fri, 2 Feb 2001 18:15:42 +0000 (18:15 +0000)]
avoid warning in non-AP_DEBUG build

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

23 years agoavoid duplicate symbol warnings on some platforms (e.g., AIX)
Jeff Trawick [Fri, 2 Feb 2001 16:47:44 +0000 (16:47 +0000)]
avoid duplicate symbol warnings on some platforms (e.g., AIX)

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

23 years agoFix some bogosity dealing with the mapping from process and thread
Jeff Trawick [Fri, 2 Feb 2001 15:52:09 +0000 (15:52 +0000)]
Fix some bogosity dealing with the mapping from process and thread
numbers to ids and back.

This gets mpmt_pthread working again (it was hanging/looping before this).
I don't know whether or not dexter had the same problem.

Submitted by: Jeff Trawick and Greg Ames

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

23 years agoRemove duplicate function declaration
Bill Stoddard [Fri, 2 Feb 2001 15:08:52 +0000 (15:08 +0000)]
Remove duplicate function declaration

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

23 years agokeep mod_cgid from segfaulting on SIGHUP; it assumed
Jeff Trawick [Thu, 1 Feb 2001 22:09:08 +0000 (22:09 +0000)]
keep mod_cgid from segfaulting on SIGHUP; it assumed
access to a pid, but that wasn't passed to apr_register_other_child

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

23 years agoBring mod_status for 2.0 back in line with mod_status for 1.3. This is
Ryan Bloom [Thu, 1 Feb 2001 21:55:16 +0000 (21:55 +0000)]
Bring mod_status for 2.0 back in line with mod_status for 1.3.  This is
basically a straight port of the 1.3 module to 2.0.  The MPMs need to be
modified a bit to work with mod_status, but prefork, mpmt_pthread, and
dexter have already been changed.  I will fix perchild tonight.  There
is a lot of common code that can be abstracted, and there seems to be a
small bug with regard to what mpmt_pthread and dexter report as current
connections.  ExtendedStatus does work again, although until the bug
mentioned above is fixed, it isn't as useful on mpmt_pthread and dexter.

Next week, I will look at allowing other modules to add data to the
STATUS page and possibly to the scoreboard itself.

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

23 years agohandle a TCP connection reset between the time we accept the connection
Jeff Trawick [Thu, 1 Feb 2001 17:21:49 +0000 (17:21 +0000)]
handle a TCP connection reset between the time we accept the connection
and when apr_get_sockaddr() does getsockname() or getpeername()

this change will be rolled into the other MPMs later

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

23 years ago This file will go away. For this moment, the s/FindFirstFile/apr_stat/
William A. Rowe Jr [Thu, 1 Feb 2001 15:58:09 +0000 (15:58 +0000)]
  This file will go away.  For this moment, the s/FindFirstFile/apr_stat/
  fixes parsing of utf-8 resources against the NTFS filesystem.  The only
  remaining utf-8 change is to the config parser [which is simple - any
  unicode config file (FFFE/FEFF lead word) will be utf-8 encrypted].

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

23 years agoCorrect a typo in httpd.conf.
Tony Finch [Thu, 1 Feb 2001 10:24:11 +0000 (10:24 +0000)]
Correct a typo in httpd.conf.
Submitted by:   Kunihiro Tanaka <tanaka@apache.or.jp>
PR:             7154

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

23 years agoMF 1.3 the fis for the mod_rewrite stupidity.
Tony Finch [Thu, 1 Feb 2001 10:03:42 +0000 (10:03 +0000)]
MF 1.3 the fis for the mod_rewrite stupidity.

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

23 years agoGet the correct IP address if ServerName isn't set and we can't
Tony Finch [Thu, 1 Feb 2001 09:59:25 +0000 (09:59 +0000)]
Get the correct IP address if ServerName isn't set and we can't
find a fully-qualified domain name at startup.
PR:             7170
Submitted by:   Danek Duvall <dduvall@eng.sun.com>

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

23 years ago Fix the remaining APR_FINFO_NORM occurances. Again, followup is needed
William A. Rowe Jr [Wed, 31 Jan 2001 23:11:05 +0000 (23:11 +0000)]
  Fix the remaining APR_FINFO_NORM occurances.  Again, followup is needed
  to actually test any field outside the scope of APR_FINFO_MIN.

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

23 years agoThis fixes a performance problem with directory indexing on Windows.
Bill Stoddard [Wed, 31 Jan 2001 22:58:53 +0000 (22:58 +0000)]
This fixes a performance problem with directory indexing on Windows.

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

23 years ago Eliminate all assumptions that finfo.protection reflects the existance
William A. Rowe Jr [Wed, 31 Jan 2001 22:45:35 +0000 (22:45 +0000)]
  Eliminate all assumptions that finfo.protection reflects the existance
  or absense of a file.  finfo.filetype is defined as 0 if APR_NOFILE,
  or a non-zero value if the file could be apr_stat()'ed.

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

23 years agoapr_stat() in http_request.c only needs size, type, mtime, ctime & atime values from
Bill Stoddard [Wed, 31 Jan 2001 20:01:16 +0000 (20:01 +0000)]
apr_stat() in http_request.c only needs size, type, mtime, ctime & atime values from
the file. Modify apr_stat() under windows to accomodate apr_stat( APR_FINFO_MIN)

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

23 years agoget Apache building again after the change to make_exports.awk
Greg Ames [Wed, 31 Jan 2001 18:56:35 +0000 (18:56 +0000)]
get Apache building again after the change to make_exports.awk

yeah, I know, this shouldn't be necessary.  you're preaching to the choir.
but this does the job until make_exports.awk gets slightly more robust.

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

23 years agouse memset() instead of bzero(); APR no longer tries to guarantee
Jeff Trawick [Wed, 31 Jan 2001 02:15:12 +0000 (02:15 +0000)]
use memset() instead of bzero(); APR no longer tries to guarantee
the existence of bzero()

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

23 years agoadd missing newline to end of file
Jeff Trawick [Tue, 30 Jan 2001 12:30:41 +0000 (12:30 +0000)]
add missing newline to end of file
Submitted by: jean-frederic clere <jfrederic.clere@fujitsu.siemens.es>
Reviewed by: Jeff Trawick

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

23 years agoMy pgp key...
Bill Stoddard [Tue, 30 Jan 2001 02:01:12 +0000 (02:01 +0000)]
My pgp key...

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

23 years agoMore doc improvements.
Ben Laurie [Mon, 29 Jan 2001 22:29:23 +0000 (22:29 +0000)]
More doc improvements.

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

23 years agoback out recent breakage. If the lstat isn't executed, finfo isn't
Greg Ames [Mon, 29 Jan 2001 22:19:17 +0000 (22:19 +0000)]
back out recent breakage.  If the lstat isn't executed, finfo isn't
initialized, and the code was looking at random garbage.

This gets the server a little closer to starting on apache.org.  There's still
an issue with mod_include not resolving apr_get_username when it's dynamically
loaded.

Submitted by: Jeff Trawick

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

23 years agoClean up the cgid module now that it supports suexec.
Ryan Bloom [Mon, 29 Jan 2001 19:42:16 +0000 (19:42 +0000)]
Clean up the cgid module now that it supports suexec.

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

23 years ago Fixed a typo..
Ken Coar [Mon, 29 Jan 2001 19:15:49 +0000 (19:15 +0000)]
Fixed a typo..

Submitted by: Steve Ciccarelli <Tenefel@aol.com>
Reviewed by: Ken Coar

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

23 years agofix gcc warning
Jeff Trawick [Mon, 29 Jan 2001 17:58:01 +0000 (17:58 +0000)]
fix gcc warning

mod_include.c: In function `find_file':
mod_include.c:1281: warning: suggest parentheses around assignment used as truth value

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

23 years agoget mod_rewrite to compile with xlc on AIX; it still compiles with
Jeff Trawick [Mon, 29 Jan 2001 16:36:26 +0000 (16:36 +0000)]
get mod_rewrite to compile with xlc on AIX; it still compiles with
gcc, of course

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

23 years agoMake mod_cgid work with SuExec. This has been tested and works reliably
Ryan Bloom [Mon, 29 Jan 2001 05:41:04 +0000 (05:41 +0000)]
Make mod_cgid work with SuExec.  This has been tested and works reliably
on my machine, but since this is security related, this should be tested
and scrutinized by as many people as possible.

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

23 years ago *) Adopt apr user/group name features for mod_rewrite. Eliminates some
William A. Rowe Jr [Mon, 29 Jan 2001 00:03:11 +0000 (00:03 +0000)]
  *) Adopt apr user/group name features for mod_rewrite.  Eliminates some
     'extra' stat's for user/group since they should never occur, and now
     resolves the SCRIPT_USER and SCRIPT_GROUP, including on WinNT NTFS
     volumes.

  No-one commented on loosing the 'stat' calls, can anyone invent a scenario
  where they could be required?  Also, I don't like the casts either, so if
  you have a better solution, don't whine, just fix it :)

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

23 years ago *) Adopt apr features to simplify mod_includes. This changes the
William A. Rowe Jr [Sun, 28 Jan 2001 23:57:25 +0000 (23:57 +0000)]
  *) Adopt apr features to simplify mod_includes.  This changes the
     behavior of the USER_NAME variable, unknown uid's are now reported
     as USER_NAME="<unknown>" rather than the old user#000 result.
     WinNT now resolves USER_NAME on NTFS volumes.  [William Rowe]

  ** Also fixes yet another stat result, allowing APR_INCOMPLETE

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

23 years ago Moved several CHANGES back to APR where they belonged in the first place,
William A. Rowe Jr [Sun, 28 Jan 2001 23:51:53 +0000 (23:51 +0000)]
  Moved several CHANGES back to APR where they belonged in the first place,
  Adopt apr features for simplifing mod_userdir, and accept the new
  Win32/OS2 exceptions without hiccuping

  Also note a potentially serious flaw - others please review.

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

23 years ago Moving a small OS2'ism into APR, it's pw_dir excludes the username.
William A. Rowe Jr [Sun, 28 Jan 2001 23:45:56 +0000 (23:45 +0000)]
  Moving a small OS2'ism into APR, it's pw_dir excludes the username.
  Return the expected result.  Also noted the headers/os2errno changes
  from early this morning.

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

23 years agoMore docco cleanup.
Ben Laurie [Sun, 28 Jan 2001 22:50:01 +0000 (22:50 +0000)]
More docco cleanup.

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

23 years agoImprove documentation.
Ben Laurie [Sun, 28 Jan 2001 20:55:54 +0000 (20:55 +0000)]
Improve documentation.

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

23 years agoMake docs target work.
Ben Laurie [Sun, 28 Jan 2001 20:06:18 +0000 (20:06 +0000)]
Make docs target work.

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

23 years agotranslation
Eric Cholet [Sun, 28 Jan 2001 19:01:01 +0000 (19:01 +0000)]
translation

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

23 years ago Cleanup some headers. pcre uses the _WIN32 symbol, not WIN32
William A. Rowe Jr [Sun, 28 Jan 2001 18:46:08 +0000 (18:46 +0000)]
  Cleanup some headers.  pcre uses the _WIN32 symbol, not WIN32

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

23 years ago Add newly invented mod_include.h to the project view
William A. Rowe Jr [Sun, 28 Jan 2001 18:38:24 +0000 (18:38 +0000)]
  Add newly invented mod_include.h to the project view

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

23 years ago Another starting point, by no means complete.
William A. Rowe Jr [Sun, 28 Jan 2001 18:26:38 +0000 (18:26 +0000)]
  Another starting point, by no means complete.

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

23 years agofix spelling
Eric Cholet [Sun, 28 Jan 2001 17:49:54 +0000 (17:49 +0000)]
fix spelling

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

23 years agoconsistent use of entities
Eric Cholet [Sun, 28 Jan 2001 17:37:46 +0000 (17:37 +0000)]
consistent use of entities

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

23 years agoremove trailing CRs
Eric Cholet [Sun, 28 Jan 2001 17:26:53 +0000 (17:26 +0000)]
remove trailing CRs

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

23 years ago The single missing space caused dependency parser breakage on win32.
William A. Rowe Jr [Sun, 28 Jan 2001 14:21:07 +0000 (14:21 +0000)]
  The single missing space caused dependency parser breakage on win32.
  Fixed.

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

23 years ago Back out a bit of yesterday's patch, since the explicit return
William A. Rowe Jr [Sun, 28 Jan 2001 14:00:56 +0000 (14:00 +0000)]
  Back out a bit of yesterday's patch, since the explicit return
  handles this correctly.

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

23 years agoClean up the help text for some of the options. (cosmetic)
Roy T. Fielding [Sun, 28 Jan 2001 07:55:44 +0000 (07:55 +0000)]
Clean up the help text for some of the options. (cosmetic)

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

23 years agoReplace configure --with-optim option by using and saving the
Roy T. Fielding [Sun, 28 Jan 2001 07:41:15 +0000 (07:41 +0000)]
Replace configure --with-optim option by using and saving the
environment variable OPTIM instead.  This is needed because configure
options do not support multiple flags separated by spaces.

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

23 years agoForce --with-optim and --with-port to have argument values, since
Roy T. Fielding [Sun, 28 Jan 2001 06:46:23 +0000 (06:46 +0000)]
Force --with-optim and --with-port to have argument values, since
they result in later compile errors otherwise.

I would have removed --with-optim in favor of just setting it with
an environment variable, but then it wouldn't be saved in config.nice.
A better solution is needed because these arguments can only accept
a single value (quotes and spaces are stripped).  Perhaps setting
OPTIM within config.nice?  First things first.

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

23 years agoFix some byterange handling. If we get a byte range that looks like
Ryan Bloom [Sun, 28 Jan 2001 04:07:03 +0000 (04:07 +0000)]
Fix some byterange handling.  If we get a byte range that looks like
"-999999" where that is past the end of the file, we should return
a PARTIAL CONTENT status code, and return the whole file as one big
byterange.  This matches the 1.3 handling now.  [Ryan Bloom]

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

23 years agoUse the new error bucket to report HTTP_RANGE_NOT_SATISFIABLE from
Ryan Bloom [Sun, 28 Jan 2001 03:38:21 +0000 (03:38 +0000)]
Use the new error bucket to report HTTP_RANGE_NOT_SATISFIABLE from
the byterange filter.  This is much safer than returning the error
directly.

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

23 years agoMake the error bucket a real meta-data bucket. This means that the
Ryan Bloom [Sun, 28 Jan 2001 03:36:02 +0000 (03:36 +0000)]
Make the error bucket a real meta-data bucket.  This means that the
bucket length is 0, and a read returns NULL data.  If one of these
buckets is passed down after the headers are sent, this data will
just be ignored.
Submitted by: Greg Stein

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

23 years agoThe prefork MPM wasn't killing child processes correctly if a restart
Ryan Bloom [Sun, 28 Jan 2001 03:00:03 +0000 (03:00 +0000)]
The prefork MPM wasn't killing child processes correctly if a restart
signal was received while the process was serving a request.  The child
process would become the equivalent of a second parent process.  If
we break out of the accept loop, then we need to do die after cleaning
up after ourselves.

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

23 years agoMake the Prefork MPM use SIGWINCH instead of SIGUSR1 for graceful restarts.
Ryan Bloom [Sun, 28 Jan 2001 01:16:37 +0000 (01:16 +0000)]
Make the Prefork MPM use SIGWINCH instead of SIGUSR1 for graceful restarts.

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

23 years agoAdd a devshed tutorial.
Joshua Slive [Sun, 28 Jan 2001 01:02:54 +0000 (01:02 +0000)]
Add a devshed tutorial.

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

23 years agoAdding references to html'ized man pages where appropriate.
Joshua Slive [Sun, 28 Jan 2001 00:19:30 +0000 (00:19 +0000)]
Adding references to html'ized man pages where appropriate.

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

23 years ago Another module to cooperate with APR_FINFO_
William A. Rowe Jr [Sat, 27 Jan 2001 23:35:21 +0000 (23:35 +0000)]
  Another module to cooperate with APR_FINFO_

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

23 years ago- Remove documentation on command line options from invoking.html
Joshua Slive [Sat, 27 Jan 2001 23:32:36 +0000 (23:32 +0000)]
- Remove documentation on command line options from invoking.html
  since the man pages are now in the html docs.
- Move information on "starting the server" from install.html to
  a more proper location "invoking.html"
- Add a few more details here and there.

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

23 years ago Eliminate a gp fault on mpm_winnt since we don't have a scoreboard table.
William A. Rowe Jr [Sat, 27 Jan 2001 23:29:39 +0000 (23:29 +0000)]
  Eliminate a gp fault on mpm_winnt since we don't have a scoreboard table.

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

23 years agoBring the HTML man pages up to speed with the nroff ones and
Joshua Slive [Sat, 27 Jan 2001 23:16:22 +0000 (23:16 +0000)]
Bring the HTML man pages up to speed with the nroff ones and
change the format slightly.

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

23 years agoBring a couple man pages a little closer to the 2.0 reality.
Joshua Slive [Sat, 27 Jan 2001 23:09:45 +0000 (23:09 +0000)]
Bring a couple man pages a little closer to the 2.0 reality.

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

23 years ago Use the appropriate APR_FINFO_flags for the apr_stat/lstat/getfileinfo
William A. Rowe Jr [Sat, 27 Jan 2001 21:28:28 +0000 (21:28 +0000)]
  Use the appropriate APR_FINFO_flags for the apr_stat/lstat/getfileinfo
  calls to avoid ownership and permissions on Win32 when they are not
  required, and until they are implemented.

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

23 years agoBeOS BONE shouldn't be using this BeOS R5 check, so alter the check to make it
David Reid [Sat, 27 Jan 2001 20:03:23 +0000 (20:03 +0000)]
BeOS BONE shouldn't be using this BeOS R5 check, so alter the check to make it
work correctly.  Shouldn't this be APR'ized?

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

23 years ago Sunny and warm (if 30`F meets your definition of warm :-)
William A. Rowe Jr [Sat, 27 Jan 2001 18:52:42 +0000 (18:52 +0000)]
  Sunny and warm (if 30`F meets your definition of warm :-)

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