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

196 Commits

Author SHA1 Message Date
Jeff Trawick
f82af68aa4 mod_ssl: Add hooks to allow other modules to perform processing at
several stages of initialization and connection handling.  See
mod_ssl_openssl.h.

This is enough to allow implementation of Certificate Transparency
outside of mod_ssl.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1587607 13f79535-47bb-0310-9956-ffa450edef68
2014-04-15 15:25:03 +00:00
Jim Jagielski
9e645ff241 we need to remove this fluff as well
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1553146 13f79535-47bb-0310-9956-ffa450edef68
2013-12-23 16:35:18 +00:00
Joe Orton
c19caf3219 Don't link support/* against systemd libs.
* Makefile.in: Link httpd using $(HTTPD_LIBS).

* configure.in: Add systemd to HTTPD_LIBS rather than LIBS.  Add PCRE
  libs to HTTPD_LIBS.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1528034 13f79535-47bb-0310-9956-ffa450edef68
2013-10-01 10:25:02 +00:00
Graham Leggett
c5e77d9fa0 Install cache_common.h as required by mod_cache.h. Allows external modules
to use mod_cache.
Submitted by Niklas Edmundsson.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1422855 13f79535-47bb-0310-9956-ffa450edef68
2012-12-17 11:26:20 +00:00
Graham Leggett
81185b29db Export mod_xml2enc.h so that others can use the module.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1399413 13f79535-47bb-0310-9956-ffa450edef68
2012-10-17 20:17:46 +00:00
Joe Orton
beaee8f4e3 suexec: Support use of setgid/setuid capability bits on Linux, a
weaker set of privileges than the full setuid/setgid root binary.

* configure.in: Add --enable-suexec-capabilites flag.

* Makefile.in: If configured, use setcap instead of chmod 7555 on
  installed suexec binary.

* modules/arch/unix/mod_unixd.c (unixd_pre_config): Drop test for
  setuid bit if capability bits are used.

* docs/manual/: Add docs.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1342065 13f79535-47bb-0310-9956-ffa450edef68
2012-05-23 21:38:39 +00:00
Stefan Fritsch
4fca50f997 Install multiple files per install.sh invocation
Libtool and BSD install support installing several files in one run.
Add support to install.sh and instdso.sh, too.
Replace for-loops in the Makefiles.

This reduces 'make install' time by approx. 50% because we save
lots of calls to the huge libtool shell script.

The AIX-specific magic in instdso.sh could use some testing.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1237447 13f79535-47bb-0310-9956-ffa450edef68
2012-01-29 20:11:55 +00:00
Stefan Fritsch
bbf60bffa7 Add a validate-xml target
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1234642 13f79535-47bb-0310-9956-ffa450edef68
2012-01-22 23:19:57 +00:00
Graham Leggett
2cb5dbf511 Distinguish properly between the bindir and sbindir directories when
installing binaries. Previously all binaries were silently installed to
sbindir, whether they were system administration commands or not.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1220846 13f79535-47bb-0310-9956-ffa450edef68
2011-12-19 17:00:49 +00:00
Stefan Fritsch
b3cde50489 Add APLOGNO() macro for unique tags for every log message.
Add some scripts to make adding these tags easier.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1209743 13f79535-47bb-0310-9956-ffa450edef68
2011-12-02 22:26:54 +00:00
Rainer Jung
67b5ac9664 Fix installation of conf/extra/proxy-html.conf.
Otherwise httpd does no longer start, because
it is the only extra file required in the main
config at the moment.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1200699 13f79535-47bb-0310-9956-ffa450edef68
2011-11-11 02:32:19 +00:00
Stefan Fritsch
9209ff117f Fix selection of loaded modules on AIX because its grep doesn't understand \< and \>
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1200064 13f79535-47bb-0310-9956-ffa450edef68
2011-11-10 00:41:20 +00:00
Rainer Jung
fc2ea4121c Load all modules in the generated default configuration
when using --enable-load-all-modules with configure.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1199467 13f79535-47bb-0310-9956-ffa450edef68
2011-11-08 21:25:28 +00:00
Rainer Jung
573dd37ec6 Fix make variable reference.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1199423 13f79535-47bb-0310-9956-ffa450edef68
2011-11-08 20:02:33 +00:00
Stefan Fritsch
4a36c5ba4c By default, only load those modules that are either required
or explicitly selected by a configure --enable-foo argument. The
LoadModule statements for modules enabled by --enable-mods-shared=most
and friends will be commented out.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1199027 13f79535-47bb-0310-9956-ffa450edef68
2011-11-08 00:20:24 +00:00
Stefan Fritsch
b41c0b1170 Revert r1141203:
remove ap_ldap.h in make distclean



git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/revert-ap-ldap@1150161 13f79535-47bb-0310-9956-ffa450edef68
2011-07-23 17:07:41 +00:00
Rainer Jung
c1197d4d83 Move PCRE_LIBS from HTTPD_LDFLAGS to
PROGRAM_LDADD.

Otherwise -lpcre comes before libmain which leads
to undefined recences during linking of httpd.

Followup to r1142739.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1142893 13f79535-47bb-0310-9956-ffa450edef68
2011-07-05 05:48:24 +00:00
Stefan Fritsch
7a26dacc38 remove ap_ldap.h in make distclean
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1141203 13f79535-47bb-0310-9956-ffa450edef68
2011-06-29 19:16:36 +00:00
Jeff Trawick
44ad1574ba apache_probes.h is generated by configure
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@892250 13f79535-47bb-0310-9956-ffa450edef68
2009-12-18 13:52:48 +00:00
William A. Rowe Jr
d0cbb2c54b Note style flaw, this is rather inappropriate on a global basis, no?
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@808719 13f79535-47bb-0310-9956-ffa450edef68
2009-08-28 01:26:07 +00:00
William A. Rowe Jr
aed4311df4 catch missing .h for install
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@808680 13f79535-47bb-0310-9956-ffa450edef68
2009-08-27 23:31:46 +00:00
Brian Havard
60fbe11de1 Bring back OS/2 support.
Reverses r758929 with a little bit of conflict resolution.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@807930 13f79535-47bb-0310-9956-ffa450edef68
2009-08-26 08:56:13 +00:00
William A. Rowe Jr
bc8cdc7896 Here's the simpler solution to the two groups of mappers/ modules...
The mod_so and mod_watchdog are truly not mappers/ at all.  Very open
to better names than modules/core/ but these are clearly API's which
are to be consumed by the httpd core, or generically, any module.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@772848 13f79535-47bb-0310-9956-ffa450edef68
2009-05-08 05:46:28 +00:00
Jeff Trawick
f72c7532f1 install mod_serf.h
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@759698 13f79535-47bb-0310-9956-ffa450edef68
2009-03-29 14:37:48 +00:00
Jeff Trawick
ee32468a33 remove OS/2 platform support
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@758929 13f79535-47bb-0310-9956-ffa450edef68
2009-03-26 23:47:52 +00:00
Jeff Trawick
d91f998069 MPM header files are private; don't install them
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@758002 13f79535-47bb-0310-9956-ffa450edef68
2009-03-24 20:31:51 +00:00
Mladen Turk
24407caabc Add watchdog module header to dist include
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@745164 13f79535-47bb-0310-9956-ffa450edef68
2009-02-17 17:28:33 +00:00
Graham Leggett
457ebd6222 Export and install the mod_rewrite.h header to ensure the optional
rewrite_mapfunc_t and ap_register_rewrite_mapfunc functions are
available to third party modules.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@704726 13f79535-47bb-0310-9956-ffa450edef68
2008-10-14 22:39:32 +00:00
William A. Rowe Jr
864dc3f7d4 mod_core.h moved to include/
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@664237 13f79535-47bb-0310-9956-ffa450edef68
2008-06-07 01:47:34 +00:00
William A. Rowe Jr
132636f829 mod_request.h / mod_auth.h moved to include/
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@664170 13f79535-47bb-0310-9956-ffa450edef68
2008-06-06 22:35:30 +00:00
Graham Leggett
c239e59ea5 Move the public mod_request.h header out of the include directory and back to modules/filters.
The current build of exports.c assumes that everything in include is part of the core, and so
putting the header there creates link errors.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@648254 13f79535-47bb-0310-9956-ffa450edef68
2008-04-15 13:53:32 +00:00
Graham Leggett
e9e1438e14 Make sure the mod_session.h public header is exported correctly to the rest of the server.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@645597 13f79535-47bb-0310-9956-ffa450edef68
2008-04-07 16:32:41 +00:00
Dirk-Willem van Gulik
0fdf9c187b Also install the so, rewrite and cache header files.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@620135 13f79535-47bb-0310-9956-ffa450edef68
2008-02-09 15:12:52 +00:00
Guenter Knauf
4e0d66f3fb Enabled to configure the https port as we do with http port too.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@606316 13f79535-47bb-0310-9956-ffa450edef68
2007-12-21 20:59:03 +00:00
Martin Kraemer
541385d7b6 Add forgotten '||true' to prevent 'make install-man' from returning an error if rsync is not present on the platform
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@531875 13f79535-47bb-0310-9956-ffa450edef68
2007-04-24 10:56:14 +00:00
André Malo
558abd49fa make mod_dbd.h available for all who need it
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@321489 13f79535-47bb-0310-9956-ffa450edef68
2005-10-15 20:51:05 +00:00
Justin Erenkrantz
c2a9a985f8 Use rsync to install manual and htdocs to speed up installation times.
* Makefile.in: Update install-man and install-htdocs to use rsync if available,
  otherwise fail back to current cp -rp and rm -rf .svn/ strategy.
* configure.in: Look for rsync.
* acinclude.m4: Include RSYNC in exported config_vars.mk

(Incorporates suggestions on rsync flags from colm.)

Reviewed by: colm, trawick (concept), niq (concept)


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@292718 13f79535-47bb-0310-9956-ffa450edef68
2005-09-30 13:01:39 +00:00
Paul Querna
9f6b440739 As recommended by nd, build docs for all languages.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@291558 13f79535-47bb-0310-9956-ffa450edef68
2005-09-26 04:44:16 +00:00
Paul Querna
8172622940 * Makefile.in
(docs): If the "docs-build" project is available, trigger its build system
   to turn the XML sources into HTML.  Otherwise, display a URL to the
   instructions on how to use the docs build.

* build/rules.mk.in:
  (.PHONEY): docs is a fake target.

Submitted By: Daniel Rall <dlr apache.org>


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@291480 13f79535-47bb-0310-9956-ffa450edef68
2005-09-25 22:45:39 +00:00
Joe Orton
b8274244fa Sanitize the installed config_vars.mk to remove references to the
build and source directories, and to remove variables which are
internal to the httpd build system:

* build/config_vars.sh.in: New file.

* Makefile.in (build/config_vars.out): New target.
(install-build): Install build/config_vars.out as config_vars.mk.

* configure.in: Add include path for srclib/pcre to INCLUDES rather
than CPPFLAGS, and use a topdir-relative not absolute path name.
Generate build/config_vars.sh.

Reviewed by: Paul Querna
PR: 20874, 28145


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@190392 13f79535-47bb-0310-9956-ffa450edef68
2005-06-13 12:49:58 +00:00
Joe Orton
d8d87c71ee * Makefile.in (install-build): Make installed config.nice 0755 too.
Submitted by: Daniel Rall <dlr apache.org>


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@189963 13f79535-47bb-0310-9956-ffa450edef68
2005-06-10 14:17:49 +00:00
Joe Orton
99351e7f70 * Makefile.in (install-build): Fix variable names.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@189939 13f79535-47bb-0310-9956-ffa450edef68
2005-06-10 11:09:10 +00:00
Joe Orton
30d100bceb * Makefile.in (install-build): Install mkdir.sh since it's used by the
installed special.mk now; install instdso.sh as 0755.

* support/apxs.in: Fix Makefile template created by -g.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@189928 13f79535-47bb-0310-9956-ffa450edef68
2005-06-10 09:18:14 +00:00
Joe Orton
5cdbe84ebe * Makefile.in (install-build, install-headers, install-conf): Minor
cleanup: use MKINSTALLDIRS unconditionally since mkdir.sh already
checks whether the target exists; use INSTALL_DATA throughout.  Stop
trying to install os/*/os-inline.c which don't exist any more.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@189585 13f79535-47bb-0310-9956-ffa450edef68
2005-06-08 14:49:54 +00:00
Joe Orton
6d5abbac87 * Makefile.in (DISTCLEAN_TARGETS): Clean up more files generated by
configure.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@189557 13f79535-47bb-0310-9956-ffa450edef68
2005-06-08 08:32:44 +00:00
Justin Erenkrantz
99cc1e829f * Makefile.in: Fix brokenness with VPATH builds as the .conf files do not exist
in srcdir and sh panics; also fix one whitespace issue.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@188844 13f79535-47bb-0310-9956-ffa450edef68
2005-06-07 18:54:25 +00:00
Jean-Frederic Clere
dce9ea54e0 Fix 32787 and the problems I have when using
--enable-experimental-libtool. (libtool is
an excutable in this case).


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@170920 13f79535-47bb-0310-9956-ffa450edef68
2005-05-19 12:38:57 +00:00
Joshua Slive
8d32896c9c Make sure we don't overwrite existing config if it
has a name other than httpd.conf.

Submitted by: Rici Lake


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@161776 13f79535-47bb-0310-9956-ffa450edef68
2005-04-18 17:16:21 +00:00
Joshua Slive
fa4e866600 Merged the simple-conf branch changes r159781:160695 into the trunk.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@160696 13f79535-47bb-0310-9956-ffa450edef68
2005-04-09 16:59:15 +00:00
Joe Orton
502606508c Support use of an external copy of the PCRE library:
* configure.in: Set abs_{builddir,srcdir} higher.  Add --with-pcre
flag; build against external PCRE library if used.

* Makefile.in (install-include): Don't install pcre headers any more.

* srclib/Makefile.in (SUBDIRS): Remove.

PR: 27550 (part two)
Submitted by: Andres Salomon <dilinger voxel.net>, Joe Orton


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@153400 13f79535-47bb-0310-9956-ffa450edef68
2005-02-11 14:08:24 +00:00