1
0
mirror of https://github.com/apache/httpd.git synced 2026-01-26 19:01:35 +03:00
Commit Graph

396 Commits

Author SHA1 Message Date
Paul J. Reder
37060b992e Fix some minor formatting issues with ab. Part of this is
in reference to PR 8544, the rest I noticed while testing
     the PR fix. [Paul J. Reder]

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


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94898 13f79535-47bb-0310-9956-ffa450edef68
2002-05-01 21:17:18 +00:00
Bradley Nicholes
60934d2ca2 NetWare make files for building experimental modules mod_deflate,
mod_example and support utilities ab, htdbm and logresolve

Submitted by: Guenter Knauf [eflash@gmx.net]


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94883 13f79535-47bb-0310-9956-ffa450edef68
2002-04-30 21:54:53 +00:00
Roy T. Fielding
267591e39f Remove APR_WANT_SIGNAL from apr_want.h because code must include
apr_signal.h in order to get consistent definitions.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94872 13f79535-47bb-0310-9956-ffa450edef68
2002-04-30 01:29:11 +00:00
Jeff Trawick
d8a43f4959 finish getting apxs to work with a binary build
it now picks up any necessary ld environment variables from
the envvars file when invoking "httpd -l" to verify that
mod_so was included in the build


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94865 13f79535-47bb-0310-9956-ffa450edef68
2002-04-29 18:09:02 +00:00
Dirk-Willem van Gulik
353bf6e950 During the 1.3->2.0 migragrion; ab its #defined VERSION own string was replaced
by that of the base server distribution it sits in. Propably by accident.

This is propably not a good idea - as ideally one would like to be able to compare
ab runs as much as possible - even across releases of apache 2.0 - assuming ab or
the dependent APR has not changed (note to self: we do not track APR in our version
structure). This commit decouples the version strings for now. Though the actual
value may be nicely confusing.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94792 13f79535-47bb-0310-9956-ffa450edef68
2002-04-25 08:31:13 +00:00
Aaron Bannert
90ed8206a7 Document the recent AB changes since they have the potential to change
the meaning of test results.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94787 13f79535-47bb-0310-9956-ffa450edef68
2002-04-24 23:28:38 +00:00
Aaron Bannert
5b19a402e7 Major improvement in concurrent processing for AB:
- Enable non-blocking connects.
- Prevent quasi-blocking mode apr_recv (which would prevent AB from
  multiplexing over the entire descriptor set).
- Catch other fatal apr_recv() errors.

[This patch is slightly different than the one posted to the dev list,
but regardless thanks to the many people who reviewed this.]


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94782 13f79535-47bb-0310-9956-ffa450edef68
2002-04-24 17:09:59 +00:00
William A. Rowe Jr
ddb56aa7da Fix Restart and Stop from the service taskbar list.
PR: 7930
Obtained from:	http://nagoya.apache.org/bugzilla/show_bug.cgi?id=7930
Submitted by:	David Shane Holden <dpejesh@yahoo.com>
Reviewed by:	Mladen Turk, William Rowe


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94723 13f79535-47bb-0310-9956-ffa450edef68
2002-04-19 19:19:44 +00:00
Justin Erenkrantz
0e4e2245e1 Properly substitute sbindir as httpd's location in apachectl.
We install $(PROGRAMS) into $(sbindir) not $(bindir), so this is correct.

PR: 7840
Submitted by:	Andreas Hasenack <andreas@netbank.com.br>
Reviewed by:	Justin Erenkrantz


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94653 13f79535-47bb-0310-9956-ffa450edef68
2002-04-15 00:41:25 +00:00
Brian Pane
965c3a8fea fixed a typo
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94643 13f79535-47bb-0310-9956-ffa450edef68
2002-04-14 09:21:43 +00:00
William A. Rowe Jr
01ba81a1f4 Correct const'ness of argv in all support apps, and use the new
apr_app_initialize over apr_initialize for win32, and other platforms
  that may wish to tweak 'apr-ized' application support (e.g. Netware?)


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94633 13f79535-47bb-0310-9956-ffa450edef68
2002-04-13 19:35:18 +00:00
William A. Rowe Jr
01f26b0ff7 Eliminate cyclic dependency that broke 2.0.35 command line build
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94582 13f79535-47bb-0310-9956-ffa450edef68
2002-04-09 15:36:42 +00:00
William A. Rowe Jr
9464e18c00 Correct a simple typo
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94557 13f79535-47bb-0310-9956-ffa450edef68
2002-04-09 00:12:40 +00:00
Sander Striker
d14107e925 Remove hardcoded paths from MPMs and move them to a more central
place.  Expand paths in httpd-std.conf in a similar fashion as we do
in our headers.

Submitted by:	Pier Fumagalli <pier@betaversion.org>


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94431 13f79535-47bb-0310-9956-ffa450edef68
2002-04-04 09:15:44 +00:00
Dirk-Willem van Gulik
639b242b4a Made AB's use of the Host: header rfc2616 compliant as
reported by Taisuke Yamada <tai@iij.ad.jp>

PR:
Obtained from: Mailing list
Submitted by: Taisuke Yamada <tai@iij.ad.jp>
Reviewed by: Dirk-Willem van Gulik


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94355 13f79535-47bb-0310-9956-ffa450edef68
2002-04-01 04:32:40 +00:00
Dirk-Willem van Gulik
3ffd24a1f1 Removed email address on request - as obviscation was slammed down on the list - and Google is your friend in any case
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94315 13f79535-47bb-0310-9956-ffa450edef68
2002-03-29 19:20:40 +00:00
Sander Striker
a4d005cf66 Better test for the presence of $(sbindir) since that is where
we are going to install.

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


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94159 13f79535-47bb-0310-9956-ffa450edef68
2002-03-25 09:50:41 +00:00
Sander Striker
b2bb3f6764 Update callers of apr_explode_gmt to apr_time_exp_gmt. The
function was renamed in apr.

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


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94081 13f79535-47bb-0310-9956-ffa450edef68
2002-03-21 10:10:41 +00:00
Cliff Woolley
9999686615 What is "zop"? :)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94013 13f79535-47bb-0310-9956-ffa450edef68
2002-03-19 02:52:20 +00:00
Cliff Woolley
731f6ef006 Carriage returns??
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@93994 13f79535-47bb-0310-9956-ffa450edef68
2002-03-18 06:33:53 +00:00
Roy T. Fielding
845cbfd508 Update our copyright for this year.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@93918 13f79535-47bb-0310-9956-ffa450edef68
2002-03-13 20:48:07 +00:00
Jeff Trawick
78dd935a31 get some hardcoded paths out of apxs
PR:          10163 (but PR isn't completely solved with this commit)


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@93908 13f79535-47bb-0310-9956-ffa450edef68
2002-03-13 18:02:02 +00:00
Jeff Trawick
53d837b39b simplify the way we find the family of an apr_sockaddr_t
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@93884 13f79535-47bb-0310-9956-ffa450edef68
2002-03-12 23:15:54 +00:00
Ian Holsman
da35725071 apr-utils rename apr_ansi_time_to_apr_time and
apr_exploded_time_t.

PR:
Obtained from:
Submitted by:	Thom May <thom@planetarytramp.net>
Reviewed by:	Ian Holsman


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@93733 13f79535-47bb-0310-9956-ffa450edef68
2002-03-06 17:55:38 +00:00
Bradley Nicholes
e6d10bff2d Switching from a project build file to GNU make files
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@93665 13f79535-47bb-0310-9956-ffa450edef68
2002-03-01 22:21:25 +00:00
William A. Rowe Jr
70e4bebb7f Significant cleanup and enable wintty to -always- escape from the service
context when the run-as-user is LocalSystem or has access to the windows
  station and desktop.  The original method did not give us a visible tty
  unless the 'Allow Service to Interact with Desktop' toggle was set.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@93655 13f79535-47bb-0310-9956-ffa450edef68
2002-03-01 06:44:54 +00:00
William A. Rowe Jr
d057840899 Need broader permissions if we are to read and the set the flags that
apply to the console stream.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@93604 13f79535-47bb-0310-9956-ffa450edef68
2002-02-27 19:38:09 +00:00
William A. Rowe Jr
db99ee63f8 Must admit, my use case was focused on services. It seems that if we
had a console, we weren't reassigning stdhandles with AllocConsole().
  Open the conin/conout very explicitly, and clean up some other cruft.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@93601 13f79535-47bb-0310-9956-ffa450edef68
2002-02-27 17:38:20 +00:00
Greg Ames
cd94c05f4b one step closer to happiness on ebcdic boxes
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@93482 13f79535-47bb-0310-9956-ffa450edef68
2002-02-18 18:19:06 +00:00
William A. Rowe Jr
b6b88b967e What happened? 0.9.6b built just dandy without the flags... 0.9.6c won't
build for jack without these changes.  Of course they don't harm 0.9.6b
  builders either, unless they are outside of the states/EU/AU and find
  themselves free to ignore IP considerations.

  I'd really like to know _why_ 0.9.6c doesn't configure itself rationally.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@93381 13f79535-47bb-0310-9956-ffa450edef68
2002-02-12 23:19:32 +00:00
Aaron Bannert
b9351f186b Allow statically linked support binaries with the new
--enable-static-support flag, and enable this behavior in
the binbuild script. Also add a new --enable-static-htdbm
flag.

BTW, this takes care of 7/8th of a showstopper.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@93331 13f79535-47bb-0310-9956-ffa450edef68
2002-02-07 23:01:47 +00:00
Joshua Slive
5b313cc655 suexec: Allow HTTPS and SSL_* environment variables to be passed
through to CGI scripts.

PR: 9163
Submitted by:	Brian Reid <breid@customlogic.com>, Zvi Har'El <rl@math.technion.ac.il>
Reviewed by:	Joshua Slive, Lars Eilebrecht, Martin Kraemer


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@93223 13f79535-47bb-0310-9956-ffa450edef68
2002-02-04 15:18:45 +00:00
Jeff Trawick
e39e40da73 finish implementing --enable-static-checkgid
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@93187 13f79535-47bb-0310-9956-ffa450edef68
2002-02-02 21:33:03 +00:00
Jeff Trawick
a55e850bd9 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
2002-02-01 19:25:14 +00:00
Brian Pane
1cfef29a33 Fixed segfault in "-i" mode of ab
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@93043 13f79535-47bb-0310-9956-ffa450edef68
2002-01-27 06:38:25 +00:00
Jeff Trawick
37bdc63e3b clean up a bunch of warnings
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92931 13f79535-47bb-0310-9956-ffa450edef68
2002-01-19 12:16:48 +00:00
Ian Holsman
ae1b40b977 add htdbm to the Makefile.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92925 13f79535-47bb-0310-9956-ffa450edef68
2002-01-19 05:44:04 +00:00
Bradley Nicholes
00053faa90 Updates to allow the utilities to run on NetWare
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92919 13f79535-47bb-0310-9956-ffa450edef68
2002-01-18 23:28:20 +00:00
Cliff Woolley
01efb5bafa As long as the spelling police are on the prowl, I figured I might as well
pitch in.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92898 13f79535-47bb-0310-9956-ffa450edef68
2002-01-18 00:14:43 +00:00
William A. Rowe Jr
aff1454d34 *) Split all Win32 modules [excluding the core components mod_core,
mod_so, mod_win32 and the winnt mpm] into individual loadable
     modules, so the administrator may individually disable the former
     compiled-in modules by simply commenting out their LoadModule
     directives.  [William Rowe]

  *) Saved Win32 module authors and porters many future headaches, by
     duplicating the appropriate .h files such as os.h into the include
     directory, including in the build tree.  [William Rowe]

  Also noticed that version stamp resources weren't generated for proxy
  modules, this too is now fixed.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92804 13f79535-47bb-0310-9956-ffa450edef68
2002-01-10 08:47:23 +00:00
Ryan Bloom
a14a4f5b66 Add the ability to pass flags to both apr_file_open and apr_mktemp.
The reason for this, is that it is very possible to want a temp
file that isn't deleted when the file is closed. It also makes sense
to have the flags in the apr_file_t if possible.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92766 13f79535-47bb-0310-9956-ffa450edef68
2002-01-08 06:26:10 +00:00
William A. Rowe Jr
f6ad1ee7e2 Fix the logo bitmap, since I missed this 'hand editing' the .rc file.
Submitted by:  Mladen Turk <mturk@mappingsoft.com>


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92637 13f79535-47bb-0310-9956-ffa450edef68
2001-12-28 16:40:31 +00:00
Ian Holsman
18caba24d8 allow htdbm to work with multiple DBM types by using a new option
'-T'

ps..
why doesn't this program use apr_getopt??


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92591 13f79535-47bb-0310-9956-ffa450edef68
2001-12-24 07:05:19 +00:00
Jeff Trawick
27ee3061f8 SH_LDFLAGS wasn't getting evaluated properly when it included
makefile variables

but, we stopped needing SH_LDFLAGS in apxs on AIX since we switched
to run-time linking and I never found out for sure that the use of
SH_LDFLAGS actually helped BeOS or OS/390, so I'm yanking out the
reference to SH_LDFLAGS

if/when we need such a thing in apxs, we'll have a new variable so
we can distinguish between special flags needed for Apache core
DSOs (which might have stuff specific to some Apache core DSO that
was discovered during Apache configurat) vs. special flags needed
by any DSO

PR:
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92575 13f79535-47bb-0310-9956-ffa450edef68
2001-12-22 04:17:56 +00:00
Jeff Trawick
1f5c20551c get binbuild to do the right thing with envvars (install/edit as
appropriate)

fix a problem in the load-library-path setting (wrong kind of
quotes were used)


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92494 13f79535-47bb-0310-9956-ffa450edef68
2001-12-15 21:50:19 +00:00
Jeff Trawick
7dc8e9bfab Move any load library path environment variables out of
apachectl and into a separate environment variable file which
can be more easily tailored by the admin.  The environment
variable file as built by Apache may have additional system-
specific settings.  For example, on OS/390 we tailor the heap
settings to allow lots of threads.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92490 13f79535-47bb-0310-9956-ffa450edef68
2001-12-15 13:56:36 +00:00
Jeff Trawick
6f730a1a64 change Apache/apr/apr-util to use run-time linking on AIX
currently, a kludge (-uXML_Parse) is needed to get a reference to expat
in the Apache executable programs; I think this is related to the fact
that expat libtool is getting generated a little differently than apr
libtool and is choosing to build a different flavor of shared library


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92435 13f79535-47bb-0310-9956-ffa450edef68
2001-12-12 19:39:55 +00:00
Jeff Trawick
a880503796 make sure mod_foo.so is installed by apxs -i
also, it is the .so file that needs to be executable, not the .la file


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92376 13f79535-47bb-0310-9956-ffa450edef68
2001-12-07 19:06:58 +00:00
Jeff Trawick
0006fb7e1b Allow apxs to be used to build DSOs on AIX without requiring the
user to hard-code the list of import files.  (This should help
on OS/390 and BeOS as well.)

Trivial change: just stick the value of SH_LDFLAGS on the
libtool --mode=link line.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92327 13f79535-47bb-0310-9956-ffa450edef68
2001-12-05 03:02:45 +00:00
Greg Ames
8d4ef324f4 get binbuild working when apr, apr-util, and expat are built shared in
directories that are not well known to the loader.

How it works:
* libtool figures out the name of this system's library path environment
  variable (i.e. LD_LIBRARY_PATH, LIBPATH, DYLD_LIBRARY_PATH) at apr
  configure time (existing code)
* save this variable name in SHLIBPATH_VAR in APRVARS
* substitute this name when apachectl is created
* uncomment the lines containing this variable during binbuild
* install_bindist.sh updates the path to lib/ when the binary is
  installed (existing code)

not done yet, but a good idea:
* create a file or directory containing all environment variable settings
  for apachectl.  Others env vars need to be tweaked, at least on AIX and
  OS/390, so keeping them separate should reduce headaches long term.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92299 13f79535-47bb-0310-9956-ffa450edef68
2001-12-03 18:00:04 +00:00