1
0
mirror of https://github.com/apache/httpd.git synced 2026-01-13 21:42:17 +03:00
Commit Graph

988 Commits

Author SHA1 Message Date
William A. Rowe Jr
c876e8476a Out of the sandbox and into prime time. Note... these should always and
only be regenerated immediately prior to the tag and roll.  Do not assume
  they are current with the sources in the development tree.  They should
  be generated as vc5 make files, since only vc5 makefiles are readable by
  both vc5 and vc6.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87479 13f79535-47bb-0310-9956-ffa450edef68
2000-12-21 01:46:22 +00:00
Allan K. Edwards
e3cf0931a3 prevent crash when connection closed before complete request received
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87478 13f79535-47bb-0310-9956-ffa450edef68
2000-12-21 01:44:28 +00:00
William A. Rowe Jr
0a37cdf9fe Correction, commited the vc5. Need vc6 in the tree. Humble appologies.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87475 13f79535-47bb-0310-9956-ffa450edef68
2000-12-21 01:25:10 +00:00
William A. Rowe Jr
4315b0c706 The Win32 overhaul, in summary;
Modules are named mod_foo.so
    Dynamic Libraries are named libfoo.dll, and are stored in bin/
    The former ApacheCoreDll is now libhttpd.dll
    Apache.exe moves to bin/
    The make install now copies include, lib, and libexec
    All build options are normalized, filenames adjusted appropriately


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87471 13f79535-47bb-0310-9956-ffa450edef68
2000-12-21 01:04:49 +00:00
Greg Ames
8b80bbc18b Send HTTP status line in ascii from ebcdic boxes...makes browsers much happier.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87467 13f79535-47bb-0310-9956-ffa450edef68
2000-12-20 23:13:01 +00:00
Jeff Trawick
351725e726 Switch to the APR-provided APR_CHARSET_EBCDIC feature test macro.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87460 13f79535-47bb-0310-9956-ffa450edef68
2000-12-20 16:44:01 +00:00
Ryan Bloom
b2c9db9fbb Remove a warning on some platforms.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87426 13f79535-47bb-0310-9956-ffa450edef68
2000-12-19 19:44:16 +00:00
Ryan Bloom
b5440c348a Force all Apache functions to be linked into the executable, whether they
are used or not.  This uses the same mechanism that is used for APR
and APR-util.  This may not be the correct solution, but it works, and that
is what I really care about.  This also renames CHARSET_EBCDIC to
AP_CHARSET_EBCDIC.  This is for namespace correctness, but it also makes
the exports script a bit easier.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87424 13f79535-47bb-0310-9956-ffa450edef68
2000-12-19 17:05:48 +00:00
Ryan Bloom
772355e125 Get all of the auth modules to the point that they will install and
be loadable into the server.  Our new build/install mechanism expects
that all modules will have a common name format.  The auth modules
didn't use that format, so we didn't install them properly.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87422 13f79535-47bb-0310-9956-ffa450edef68
2000-12-19 15:09:02 +00:00
Jeff Trawick
50cca38301 Remove an IPv4 dependency in do_double_reverse() by calling
apr_getaddrinfo() instead of gethostbyname().


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87402 13f79535-47bb-0310-9956-ffa450edef68
2000-12-18 20:31:17 +00:00
Jeff Trawick
c17ef15818 API routines ap_pgethostbyname() and ap_pduphostent() are no longer
available.  Use apr_getaddrinfo() instead.

The ap_pduphostent() code was moved to modules/proxy/proxy_util.c for
now since that is the only caller.  When the proxy's use of the
resolver is APR-ized this won't be needed anymore.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87399 13f79535-47bb-0310-9956-ffa450edef68
2000-12-18 17:52:05 +00:00
Jeff Trawick
fbeea294ef Stop using apr_get_hostname(). It doesn't support IPv6 and it
is redundant.  apr_getnameinfo() provides the same function.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87396 13f79535-47bb-0310-9956-ffa450edef68
2000-12-18 16:49:09 +00:00
Ryan Bloom
072741059e Make the server return HTTP_RANGE_NOT_SATISFIABLE if the all of the
requested ranges begin after the end of the response.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87390 13f79535-47bb-0310-9956-ffa450edef68
2000-12-17 20:58:30 +00:00
Ryan Bloom
b34037db5e Get byterange requests working with data that is generated by a handler
that does not add a content-length.  For example, mod_autoindex doesn't
set a content-length, but the byterange filter requires one.  We fix this
by computing the content-length in the byterange filter.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87389 13f79535-47bb-0310-9956-ffa450edef68
2000-12-17 18:04:14 +00:00
Ryan Bloom
40eae41078 Rename the apr_opendir symbol to apr_dir_open. This makes more sense,
and the rename was proposed a while ago inside of APR.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87385 13f79535-47bb-0310-9956-ffa450edef68
2000-12-17 03:35:39 +00:00
Allan K. Edwards
73c6ea589f Get exe CGI's working again on Windows
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87359 13f79535-47bb-0310-9956-ffa450edef68
2000-12-15 15:02:38 +00:00
Jeff Trawick
b1e8b050e9 The local_addr and remote_addr fields in the conn_rec are now
apr_sockaddr_t * instead of sockaddr_in.  This is a small step
towards IPv6 support.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87342 13f79535-47bb-0310-9956-ffa450edef68
2000-12-14 18:47:30 +00:00
Jeff Trawick
05be6a6716 Straighten up the first-time-through check in mod_cgid and add a CHANGES
entry for the bug fixes to mod_rewrite and mod_cgid.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87330 13f79535-47bb-0310-9956-ffa450edef68
2000-12-13 13:30:40 +00:00
Jeff Trawick
78309d6d21 Get rid of the once_through flag. It is never used and doesn't work
in DSO mode anyway.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87329 13f79535-47bb-0310-9956-ffa450edef68
2000-12-13 13:22:51 +00:00
Jeff Trawick
22a2fa9ddb Get mod_rewrite to work as a DSO by changing the way it
keeps track of whether or not its post config hook has
been called before.  Instead of a static variable (which
is replaced when the DSO is loaded a second time), use
userdata in the process pool.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87328 13f79535-47bb-0310-9956-ffa450edef68
2000-12-13 13:03:32 +00:00
Jeff Trawick
64bb50e427 Get mod_cgid to work as a DSO by changing the way it
keeps track of whether or not its post config hook has
been called before.  Instead of a static variable (which
is replaced when the DSO is loaded a second time), use
userdata in the process pool.

Still to go: mod_file_cache, mod_rewrite


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87321 13f79535-47bb-0310-9956-ffa450edef68
2000-12-13 04:03:19 +00:00
Jeff Trawick
a3d09c32f7 Change a couple of socket call failures from 404 errors to
500 errors.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87305 13f79535-47bb-0310-9956-ffa450edef68
2000-12-12 20:34:20 +00:00
Jeff Trawick
ca4c6afa60 Fix a comparison with ENOENT which was accidently broken during
the canonical error cleanup.

We wish to avoid reporting the boring error where we try to unlink
a socket which doesn't already exist.  We only want to report
interesting stuff.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87298 13f79535-47bb-0310-9956-ffa450edef68
2000-12-12 12:01:38 +00:00
Greg Stein
84e6349ae0 sdbm.h is now apr_sdbm.h
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87296 13f79535-47bb-0310-9956-ffa450edef68
2000-12-12 08:56:26 +00:00
Jeff Trawick
32afc7966d config.m4: support mod_ext_filter (I'd been using --with-module
until the recent build changes)
mod_ext_filter.c: get rid of a warning


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87287 13f79535-47bb-0310-9956-ffa450edef68
2000-12-11 19:02:15 +00:00
William A. Rowe Jr
4e842d60f1 The feature macro may appear a bit odd. I'm open to any better suggest.
Define AP_AUTH_DBM_USE_APR for apr dbm access, and apply the symbol to
  the win32 build.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87265 13f79535-47bb-0310-9956-ffa450edef68
2000-12-08 18:27:53 +00:00
William A. Rowe Jr
a0087fb494 Back out the .dsp changes (my bad - jumped to fast.)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87263 13f79535-47bb-0310-9956-ffa450edef68
2000-12-08 17:39:25 +00:00
William A. Rowe Jr
9af3de80e5 Adjustments to dav for apr_dbm_open args change
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87262 13f79535-47bb-0310-9956-ffa450edef68
2000-12-08 17:38:05 +00:00
Ryan Bloom
02ce223e3a Get Apache filters and Apr-util buckets using the same values for
blocking and non-blocking reads.  This allows us to use the mode parameter
passed to a filter to read from the bucket correctly.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87256 13f79535-47bb-0310-9956-ffa450edef68
2000-12-08 01:26:31 +00:00
Greg Stein
9787943f19 *) remove STANDARD_LIBS line; it is unused/unneeded
*) simplify by removing the extra AC_DEFUN() in each file


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87247 13f79535-47bb-0310-9956-ffa450edef68
2000-12-07 10:40:01 +00:00
Greg Stein
32bf158d43 *) add check for mod_so
*) juse use APACHE_MODULE (the custom defun only saved a single arg)
*) toss AC_SUBST(STANDARD_LIBS) line; it isn't used/needed


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87246 13f79535-47bb-0310-9956-ffa450edef68
2000-12-07 10:31:16 +00:00
Ryan Bloom
1e453f2369 Port httpd to the newest MMAP api.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87243 13f79535-47bb-0310-9956-ffa450edef68
2000-12-07 05:01:01 +00:00
Ryan Bloom
6449efc0f3 Make mod_include use a hash table to associate directive tags with
functions.  This allows modules to implement their own SSI tags easily.
The idea is simple enough, a module can insert it's own tag and function
combination into a hash table provided by mod_include.  While mod_include
parses an SSI file, when it encounters a tag in the file, it does a
hash lookup to find the function that implements that tag, and passes
all of the relevant data to the function.  That function is then
responsible for processing the tag and handing the remaining data back
to mod_include for further processing.
Submitted by:	Paul J. Reder <rederpj@raleigh.ibm.com>
Reviewed by:	Ryan Bloom


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87241 13f79535-47bb-0310-9956-ffa450edef68
2000-12-07 03:32:54 +00:00
Ryan Bloom
cc58804018 Remove an incorrect comment.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87239 13f79535-47bb-0310-9956-ffa450edef68
2000-12-07 00:17:52 +00:00
Ryan Bloom
093d36130b Add cgi and cgid back into the configuration system.
Submitted by:	Paul J. Reder <rederpj@raleigh.ibm.com>


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87237 13f79535-47bb-0310-9956-ffa450edef68
2000-12-06 18:41:05 +00:00
Greg Stein
f044f56706 switch to apr_dbm.h and the updated naming
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87233 13f79535-47bb-0310-9956-ffa450edef68
2000-12-06 08:10:36 +00:00
Greg Stein
ac775f9235 apache_need_sdbm is no longer applicable. clean it out.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87232 13f79535-47bb-0310-9956-ffa450edef68
2000-12-06 08:07:44 +00:00
William A. Rowe Jr
bf57cf0335 The -big- fix, all the proper linkages for BaseAddr.ref plus a bit.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87221 13f79535-47bb-0310-9956-ffa450edef68
2000-12-05 20:36:03 +00:00
William A. Rowe Jr
56560e4293 A bit of inclusion for the apr-util package.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87213 13f79535-47bb-0310-9956-ffa450edef68
2000-12-05 17:38:40 +00:00
William A. Rowe Jr
f119cafbaa This patch illustrates the new locations, and makes the majority of the
adjustments.  Now to actually try to build the thing.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87212 13f79535-47bb-0310-9956-ffa450edef68
2000-12-05 16:37:50 +00:00
Ryan Bloom
b2d2ce84b2 Add a couple of files that I missed earlier today.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87196 13f79535-47bb-0310-9956-ffa450edef68
2000-12-05 03:51:41 +00:00
Ryan Bloom
c512685df5 Ignore all the files that are generated during a build
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87195 13f79535-47bb-0310-9956-ffa450edef68
2000-12-05 03:48:26 +00:00
Ryan Bloom
a5a1891da1 Get Apache to configure completely again. This still doesn't build, but
now we are getting very close.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87187 13f79535-47bb-0310-9956-ffa450edef68
2000-12-04 22:33:51 +00:00
Ryan Bloom
d412995055 Get the modules configuration stuff working correctly. This just deals
with STANDARD modules and Protocol, not MPMs.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87186 13f79535-47bb-0310-9956-ffa450edef68
2000-12-04 21:38:51 +00:00
Ryan Bloom
a87a761b37 Start to add back the config.m4 and Makefile.in's that were separated out
during the repository move.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87184 13f79535-47bb-0310-9956-ffa450edef68
2000-12-04 20:34:48 +00:00
Jeff Trawick
4c8baf6170 Get rid of ap_new_apr_connection(). ap_new_connection() now has
fewer parameters: the local and remote socket addresses were removed
from the parameter list because all required information is available
via the APR socket.

I haven't tested the most important part -- the WinNT MPM changes
-- but it compiles and it looks okay :)  If the WinNT MPM works on
Win98 these days let me know.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87181 13f79535-47bb-0310-9956-ffa450edef68
2000-12-04 19:24:10 +00:00
Ryan Bloom
5c0cb21aca Remove mod_mmap_static. This has been replaced by mod_file_cache, and
there is no reason to keep this duplicate code


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87165 13f79535-47bb-0310-9956-ffa450edef68
2000-12-03 07:02:33 +00:00
Jeff Trawick
a6978fb91e include <strings.h> for the strcasecmp() and strncasecmp() prototypes;
AIX doesn't have prototypes for these in string.h


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87149 13f79535-47bb-0310-9956-ffa450edef68
2000-12-01 21:49:26 +00:00
Ryan Bloom
f98dcb99c5 Enable logging a cookie with mod_log_config
Submitted by:	Sander van Zoest <sander@covalent.net>


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87136 13f79535-47bb-0310-9956-ffa450edef68
2000-11-30 00:31:03 +00:00
William A. Rowe Jr
af4581a4cd Fix some const confusion with simpler code.
XXX note that 1.3.13 grew the xmethods in some recent patch:
  typedef struct {
    table *action_types;       /* Added with Action... */
    char *scripted[METHODS];   /* Added with Script... */
    array_header *xmethods;    /* Added with Script -- extension methods */
  } action_dir_config;
  XXx seems like whoever applied needs to port forward to 2.0 :-)


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87133 13f79535-47bb-0310-9956-ffa450edef68
2000-11-29 19:39:17 +00:00