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

54 Commits

Author SHA1 Message Date
Jim Jagielski
a54621aca4 "final" rename :)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1454386 13f79535-47bb-0310-9956-ffa450edef68
2013-03-08 13:47:04 +00:00
Jim Jagielski
99b9928ac6 rename extension module... tunnel is more accurate
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1453876 13f79535-47bb-0310-9956-ffa450edef68
2013-03-07 14:06:57 +00:00
Jim Jagielski
7930e87462 Rough start for simple, tunneling websocket proxy support.
Compiles at this stage and that's all I know :)

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1452911 13f79535-47bb-0310-9956-ffa450edef68
2013-03-05 17:29:28 +00:00
Stefan Fritsch
21cc07a470 Make APACHE_MODULE() accept an optional prerequisite module for configure.
Introduce the following configure time dependencies:
  mod_proxy_* (except proxy_html) require mod_proxy
  mod_dav_* require mod_dav
  mod_session_* require mod_session


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1234180 13f79535-47bb-0310-9956-ffa450edef68
2012-01-20 22:14:31 +00:00
Joe Orton
0b9228e31f * modules/proxy/config.m4: Avoid sh syntax error with
autoconf 2.63, where an empty "else" clause gets 
  generated from the args if present with only whitespace.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1157094 13f79535-47bb-0310-9956-ffa450edef68
2011-08-12 13:25:19 +00:00
Stefan Fritsch
97abc9b6fd Simplify dependency checking code for mod_proxy_fdpass. This also fixes
mod_proxy_fdpass being built shared even with --enable-mods-static=reallyall.

Document bug/limitiation in APACHE_MODULE macro.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1154126 13f79535-47bb-0310-9956-ffa450edef68
2011-08-05 08:45:28 +00:00
Stefan Fritsch
c26b0e42af adjust mod_proxy build defaults:
Change the default for mod_proxy from 'reallyall' to 'most'.

Most mod_proxy_* modules default to whatever mod_proxy is set to.
Do this for mod_proxy_express, too (was explicit 'most').
Change mod_proxy_mods_fdpass to explicit 'all'.

See thread at
http://mail-archives.apache.org/mod_mbox/httpd-dev/201107.mbox/%3C201107052321.56063.sf@sfritsch.de%3E


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1150467 13f79535-47bb-0310-9956-ffa450edef68
2011-07-24 18:59:25 +00:00
Rainer Jung
a68daf2a82 Allow to specify module specific custom linker flags
via the MOD_XXX_LDADD variables.

Use APR_ADDTO instead of APR_SETVAR or direct
variable assignment.

This is especially useful when building mod_lua
or mod_deflate against a lua resp. libz which
are installed in non-standard locations.
One can add "-R ..." to MOD_LUA_LDADD and
MOD_DEFLATE_LDADD before configure to fix
the RPATH/RUNPATH of those modules.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1142938 13f79535-47bb-0310-9956-ffa450edef68
2011-07-05 09:24:23 +00:00
Rainer Jung
9ed2afa2b9 Tolerate dependency checking failures in configure
for modules that have been enabled only implicitely.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1142892 13f79535-47bb-0310-9956-ffa450edef68
2011-07-05 05:31:22 +00:00
Jim Jagielski
9e15f63122 Update xforms
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1102734 13f79535-47bb-0310-9956-ffa450edef68
2011-05-13 13:48:31 +00:00
Daniel Earl Poirier
4c477008d4 Add to modules' help text (displayed by ./configure -h) more
information that will be useful in deciding whether to enable
them or not.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1029814 13f79535-47bb-0310-9956-ffa450edef68
2010-11-01 20:02:51 +00:00
Stefan Fritsch
9b851ec65e - Add reallyall option to configure to build everything that can be built with
the available libs.
- Remove redundant --with-distcache option. Simply enable distcache if
  mod_socache_dc is selected.
- Enable serf support by default if serf is available in /usr.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@956221 13f79535-47bb-0310-9956-ffa450edef68
2010-06-19 12:36:57 +00:00
Stefan Fritsch
ed06b71981 Fix MPM event/libserf build problems: If libserf was installed during build,
MPM event was picking up the headers but not linking with libserf, causing
unresolved symbol errors.

Now build MPM event with or without serf support depending on --with-serf
being specified or not.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@954273 13f79535-47bb-0310-9956-ffa450edef68
2010-06-13 17:50:54 +00:00
William A. Rowe Jr
5181635ab3 Always make mod_*.h files available where they exist, modpath by modpath
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@808722 13f79535-47bb-0310-9956-ffa450edef68
2009-08-28 01:27: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
c95b61b4b8 Favor DECL over DECLS
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@780365 13f79535-47bb-0310-9956-ffa450edef68
2009-05-31 04:22:12 +00:00
William A. Rowe Jr
4409fcddf4 Restructure fdpass logic to not spew stderr crap for without purpose, and
purposefully fail if --enable-proxy-fdpass is demanded without support.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@780364 13f79535-47bb-0310-9956-ffa450edef68
2009-05-31 04:13:11 +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
Justin Erenkrantz
65fa321a6c * modules/proxy/config.m4: Remove spurious notices from configure.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@730928 13f79535-47bb-0310-9956-ffa450edef68
2009-01-03 06:48:40 +00:00
Rainer Jung
8eb168a906 Use LDADD mechanism to only link mod_serf resp.
mod_lua to libserf resp. liblua.

No need to include this dependency in all other
modules and binaries.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@730876 13f79535-47bb-0310-9956-ffa450edef68
2009-01-03 00:20:14 +00:00
Rainer Jung
4f75107ee0 Use default object file in APACHE_MODULE calls
when possible.

It seems that's the way it is used for most modules,
so remove unnecessary explicit object file lists.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@730829 13f79535-47bb-0310-9956-ffa450edef68
2009-01-02 19:43:09 +00:00
Rainer Jung
13618e8c65 Add a declaration check for CMSG_DATA to mod_proxy_fdpass.
Also move '#error' after the includes, because it seems
CMSG_DATA is commonly defined in sys/socket.h.

The check also overwrites _apmod_error_fatal in case
CMSG_DATA is not defined to allow building when configure
was called with "--enable-proxy". Otherwise one would need
to explicitly disable mod_proxy_fdpass.

We might want to remove the #error completely, because the
new feature test prevents the building of the module when
the symbol is not defined.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@730803 13f79535-47bb-0310-9956-ffa450edef68
2009-01-02 18:15:02 +00:00
André Malo
6da5f085da add mod_proxy_scgi, as announced a long time ago
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@729538 13f79535-47bb-0310-9956-ffa450edef68
2008-12-26 21:41:48 +00:00
Paul Querna
38ca097dde Add a new mod_proxy_fdpass module to pass a client connection off to a separate daemon.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@725940 13f79535-47bb-0310-9956-ffa450edef68
2008-12-12 08:04:47 +00:00
Jim Jagielski
0b645bf324 OK, instead of an igly hack, just use the normal
build system impl to force balancer's config to
happen post proxy 


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@724367 13f79535-47bb-0310-9956-ffa450edef68
2008-12-08 14:51:50 +00:00
Jim Jagielski
826cb7f002 Force the lbmethod submodules to be loaded AFTER
mod_proxy.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@724358 13f79535-47bb-0310-9956-ffa450edef68
2008-12-08 14:28:28 +00:00
Jim Jagielski
0ba3876a2d And allow for the submod to be built
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@722920 13f79535-47bb-0310-9956-ffa450edef68
2008-12-03 15:04:17 +00:00
Paul Querna
7af7af8f27 Add a new module to read in the heartbeat file and do load balancing for
mod_proxy based upon it.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@721987 13f79535-47bb-0310-9956-ffa450edef68
2008-12-01 07:25:11 +00:00
Jim Jagielski
6f81634e7a Make life happy for people who don't have serf but
still use most... yeah, this means you need to explicitly
add mod_serf... no, this isn't a comment on how cool
mod_serf is :)


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@594586 13f79535-47bb-0310-9956-ffa450edef68
2007-11-13 17:16:40 +00:00
Paul Querna
95ac1252e4 Add mod_serf, a reverse proxy module, which uses serf[1] as its http client library.
To enable, pass something like this to configure:
   --enable-serf --with-serf=/usr/local/serf/0.1.2
To try it out, put something like this in your httpd.conf:
<Location />
    SerfPass http://httpd.apache.org/
</Location>

LocationMatch and all related directives can also be used, magical eh?

[1] - http://code.google.com/p/serf/


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@594425 13f79535-47bb-0310-9956-ffa450edef68
2007-11-13 04:20:50 +00:00
Mladen Turk
282612fcc2 Add ajp_utils to the list of ajp objects.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@425523 13f79535-47bb-0310-9956-ffa450edef68
2006-07-25 20:59:20 +00:00
Garrett Rooney
ca55328af7 Merge the fcgi-proxy-dev branch to trunk, adding a FastCGI back end for
mod_proxy.  This log message is just a summary of the changes, for the
full original log messages see r357431:393955 in branches/fcgi-proxy-dev.

* modules/proxy/mod_proxy_fcgi.c: New file, holds the impementation of
  our new fcgi backend for mod_proxy.

* modules/proxy/fcgi_protocol.h: New file, holds constants and structures
  for the fcgi protocol.

* modules/proxy/mod_proxy_balancer.c
  (proxy_balancer_canon): Set up r->path_info, so the PATH_INFO env
   variable is correctly passed on to balancer workers.

* modules/proxy/config.m4: Build the new mod_proxy_fcgi module.

* support: Add fcgistarter to svn:ignore.

* support/Makefile.in: Build the new fcgistarter program.

* support/fcgistarter.c: New program, a helper for starting fcgi worker
  processes.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@396063 13f79535-47bb-0310-9956-ffa450edef68
2006-04-22 03:44:05 +00:00
Joe Orton
7e76c37963 * modules/proxy/config.m4: Fix mod_proxy build after filename changes.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@151329 13f79535-47bb-0310-9956-ffa450edef68
2005-02-04 07:57:10 +00:00
Mladen Turk
4821674833 Build proxy_ajp too when --enable-proxy is declared.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@109214 13f79535-47bb-0310-9956-ffa450edef68
2004-11-30 17:38:58 +00:00
Jean-Frederic Clere
af2ceefe62 The ajp subdirectory does not exist so we don't need it in the includes.
The mod_proxy_ajp.dsp also refers to source files in .\ajp but that looks to
be a generate file; someone with the right have to arrange it.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@104713 13f79535-47bb-0310-9956-ffa450edef68
2004-08-18 16:32:27 +00:00
William A. Rowe Jr
3c5a741b55 Add proxy_balancer to proxy module, including config and capturing
-I ../generators for the mod_status.h

Submitted by: mturk


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@104608 13f79535-47bb-0310-9956-ffa450edef68
2004-08-11 22:52:46 +00:00
William A. Rowe Jr
900bd3c260 Introduce proxy_ajp.c : use --enable-proxy-ajp with configuring Apache.
To load it:
+++
LoadModule proxy_ajp_module modules/mod_proxy_ajp.so
+++

And to use it something like:
+++
<Location /examples/>
ProxyPass ajp://backend.example.net:8009/examples/
</Location>
+++

proxy_ajp will not be enabled by default due to ./ajp dependencies

Build magic improvements: mturk, wrowe

Submitted by:  jfclere


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@104556 13f79535-47bb-0310-9956-ffa450edef68
2004-08-11 20:29:46 +00:00
Brian Havard
cd4b403c64 Get proxy protocol modules to build on OS/2. This adds the mod_proxy dll's
import library to the link, making the public symbols in it available to the
protocol modules at build time.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94788 13f79535-47bb-0310-9956-ffa450edef68
2002-04-25 03:16:44 +00:00
Victor J. Orlikowski
f7258724c4 No point in linking the proxy objects with the submodules.
However, proxy is not working on AIX since the rtl changes.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92507 13f79535-47bb-0310-9956-ffa450edef68
2001-12-17 23:57:46 +00:00
Victor J. Orlikowski
fba29f9fc7 Proxy now works as a DSO on AIX.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@90172 13f79535-47bb-0310-9956-ffa450edef68
2001-08-15 18:56:16 +00:00
Graham Leggett
4fc50ed0a1 mod_proxy and the proxy submodules now build properly as DSOs.
PR:
Obtained from:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88929 13f79535-47bb-0310-9956-ffa450edef68
2001-04-24 11:29:40 +00:00
Victor J. Orlikowski
9d5a1e47a9 *Sigh.* The janitor cleans up after himself.
This makes shared proxy builds work.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88921 13f79535-47bb-0310-9956-ffa450edef68
2001-04-23 19:50:28 +00:00
Victor J. Orlikowski
e79be1220f Fix proxy to NOT be built by default.
Obtained from: Jeff Trawick
Submitted by: Victor Orlikowski


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88920 13f79535-47bb-0310-9956-ffa450edef68
2001-04-23 18:28:25 +00:00
Victor J. Orlikowski
1e331c37ff *Sigh*. Slight janatorial work.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88870 13f79535-47bb-0310-9956-ffa450edef68
2001-04-16 17:37:24 +00:00
Graham Leggett
22ebd698df Split each individual proxy protocol into separate modules.
PR:
Obtained from:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88866 13f79535-47bb-0310-9956-ffa450edef68
2001-04-15 17:15:29 +00:00
Chuck Murcko
c89723b196 update status; add FTP back in to the build
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88736 13f79535-47bb-0310-9956-ffa450edef68
2001-04-05 23:48:43 +00:00
Chuck Murcko
1dcf2f7754 Cache removed, with other spooge
PR:
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88487 13f79535-47bb-0310-9956-ffa450edef68
2001-03-11 10:42:14 +00:00
Victor J. Orlikowski
2b1b546c89 Revert out the build changes made last night. Ryan and Chuck make good points.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88251 13f79535-47bb-0310-9956-ffa450edef68
2001-02-20 19:27:22 +00:00
Chuck Murcko
eef10aed51 Allow proxy to build until we fit a proper build dir
PR:
Obtained from: Victor Orlikowski
Submitted by:
Reviewed by: Chuck Murcko


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88244 13f79535-47bb-0310-9956-ffa450edef68
2001-02-20 00:06:30 +00:00
Chuck Murcko
6ced381a98 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
2001-02-06 10:46:23 +00:00