Hanno Böck commited on 2016-01-18 13:32:07
Zeige 6 geänderte Dateien mit 0 Einfügungen und 419 Löschungen.
... | ... |
@@ -1,7 +0,0 @@ |
1 |
-AUX apache-fix-redirect-url.diff 4640 SHA256 1fe5dfc84d7756b1dd0f670ff0d2725dd596dfaeacdd59ca318e1259602e2ce3 SHA512 490b2594c88ab6a0dd3a1010e7a143ee75cef182ab7a41a7c1aceb0d8fd16c8dc2f7d408659ec2c922ea7aba9c3e43052693e0b1024ea4e527c3e008f82f5f77 WHIRLPOOL babb7ef8bb8cd5409419c0c750b5f8ceeac4446d8147b0af5811c05eee75451ea5d671502581a8c67924aa92f7049ddf3e0740d0a6a58b10882457057e420024 |
|
2 |
-AUX apache.conf 55 SHA256 ea616c5cc37979a006d69c51bda43fca15a4327d33175762652b29f5cdea1c7b SHA512 3a53beb7a283d17c14383f16ad14c0602681ac1b193cce8f5aca50ae9d9af3a71054ce4a9ab11cbcb72fe913459e1b306fd54660154e66afe10272f8c0f149f3 WHIRLPOOL fa348414f320a9f70001386dfb77d57ca4836c3ef3d251976077b7ad545d7f6752e534efadbf28c7dcb777388e3d844eba84b939dcf48881983388daf6ac23f0 |
|
3 |
-AUX apache2.2.service 716 SHA256 e850ad73585fbba52ade58a39ca91adbfd52f56a0bbd426ebcadb340a7dcb62b SHA512 5f736c803772077598248bbb41f76dff396dfd2f11a60d1ba929a619275efb8c1b4c0dab78cbcdf83b9ec94db67b958b3333b01f67d71eb3b2e07dba4bca2a7c WHIRLPOOL 776a928422b8f37a12099111a1503674ca901934b60dca8596dc8bc287390be9a0e912d7ba6226dcb22eb7c669fa298ddc20fd7bf5c275b0cf019bae0d594839 |
|
4 |
-DIST gentoo-apache-2.4.10-r1-20140731.tar.bz2 24531 SHA256 8e093a18582c3a20283ed1c09de9acc6832a80b1d5a02962599db0535d38af19 SHA512 c54239df36d7ab30bd14a41241d94b4b49b92c5e50e64857da3e7cde7575d5c0a634d51710bdf75807a57932bf9447906407ae4ef6cb333d7197e82ba5052cd9 WHIRLPOOL 0d184763a033209eaa3c91f7050b24c2a2da24d930ed280a8aa99e32461ac31402e6fd8f57e2122a96e45a8308c4a332144ede7b511ceee352be2f38a6ef7839 |
|
5 |
-DIST httpd-2.4.17.tar.bz2 5157721 SHA256 331e035dec81d3db95b048f036f4d7b1a97ec8daa5b377bde42d4ccf1f2eb798 SHA512 d818dbd4b138db592a98fecdf5ae13dfadc19f9553e98bdafbdadd4693ae19bb44c96c8c279e9546978bbce55b9286ce3c4ae69cf701a9812be134a3a517b1f6 WHIRLPOOL f18dd92091e0d7f051f55276dc99656b299f3aaff5375d2fe286e18c33cfeb6887db9c792a426e88655dc0523e66008b2fc534ee1a5ae5b2ae5000bef1509aa8 |
|
6 |
-EBUILD apache-2.4.17-r1.ebuild 7565 SHA256 57958c32d7525de3061678263967ed51e8110474c7634dd66e94925352905997 SHA512 390d34a0fbc83a9e0183ec96516a98ce933334c678f6f0b1f600994fe936975858729fcba45f9990e680931cb87de9e5aefd0b4e55a447308abd9f93f6b49dad WHIRLPOOL 67fb63708d497c0a12d49a4e300397b8ba696de4dbee1f378c79d4448fa2df3cff20e6dfce0007a412b8daf71c9756d9cb869f128290c916163a6fca5fc5ef7d |
|
7 |
-MISC metadata.xml 2882 SHA256 bb1c73d9b53a1049c14b477d4441b09670ecafcf46a0ad114c24bb284d0d194a SHA512 bd9a0a5f26e1420aa6023160208d177e233f97f2265b8fad68772a084cbc9fabb2a186f14916a5a664b5590a6052fe039874ff96b1bd9d3dc530c3750561c7ce WHIRLPOOL 0e92d1cd3fbbf3f75ebd38e356a736061c9ea19afd40b06f58abe0ed86219223cafab188bbfa4ce9c91a8cc6619de47dfc3a68edc2c39e6a38476915ad8d48ba |
... | ... |
@@ -1,234 +0,0 @@ |
1 |
-# Copyright 1999-2015 Gentoo Foundation |
|
2 |
-# Distributed under the terms of the GNU General Public License v2 |
|
3 |
-# $Id$ |
|
4 |
- |
|
5 |
-EAPI=5 |
|
6 |
- |
|
7 |
-# latest gentoo apache files |
|
8 |
-GENTOO_PATCHSTAMP="20140731" |
|
9 |
-GENTOO_DEVELOPER="polynomial-c" |
|
10 |
-GENTOO_PATCHNAME="gentoo-apache-2.4.10-r1" |
|
11 |
- |
|
12 |
-# IUSE/USE_EXPAND magic |
|
13 |
-IUSE_MPMS_FORK="peruser prefork" |
|
14 |
-IUSE_MPMS_THREAD="event worker" |
|
15 |
- |
|
16 |
-# << obsolete modules: |
|
17 |
-# authn_default authz_default mem_cache |
|
18 |
-# mem_cache is replaced by cache_disk |
|
19 |
-# ?? buggy modules |
|
20 |
-# proxy_scgi: startup error: undefined symbol "ap_proxy_release_connection", no fix found |
|
21 |
-# >> added modules for reason: |
|
22 |
-# compat: compatibility with 2.2 access control |
|
23 |
-# authz_host: new module for access control |
|
24 |
-# authn_core: functionality provided by authn_alias in previous versions |
|
25 |
-# authz_core: new module, provides core authorization capabilities |
|
26 |
-# cache_disk: replacement for mem_cache |
|
27 |
-# lbmethod_byrequests: Split off from mod_proxy_balancer in 2.3 |
|
28 |
-# lbmethod_bytraffic: Split off from mod_proxy_balancer in 2.3 |
|
29 |
-# lbmethod_bybusyness: Split off from mod_proxy_balancer in 2.3 |
|
30 |
-# lbmethod_heartbeat: Split off from mod_proxy_balancer in 2.3 |
|
31 |
-# slotmem_shm: Slot-based shared memory provider (for lbmethod_byrequests). |
|
32 |
-# socache_shmcb: shared object cache provider. Default config with ssl needs it |
|
33 |
-# unixd: fixes startup error: Invalid command 'User' |
|
34 |
-IUSE_MODULES="access_compat actions alias asis auth_basic auth_digest |
|
35 |
-authn_alias authn_anon authn_core authn_dbd authn_dbm authn_file authz_core |
|
36 |
-authz_dbd authz_dbm authz_groupfile authz_host authz_owner authz_user autoindex |
|
37 |
-cache cache_disk cern_meta charset_lite cgi cgid dav dav_fs dav_lock dbd deflate |
|
38 |
-dir dumpio env expires ext_filter file_cache filter headers http2 ident imagemap |
|
39 |
-include info lbmethod_byrequests lbmethod_bytraffic lbmethod_bybusyness |
|
40 |
-lbmethod_heartbeat log_config log_forensic logio macro mime mime_magic negotiation |
|
41 |
-proxy proxy_ajp proxy_balancer proxy_connect proxy_ftp proxy_http proxy_scgi |
|
42 |
-proxy_fcgi proxy_wstunnel rewrite ratelimit remoteip reqtimeout setenvif |
|
43 |
-slotmem_shm speling socache_shmcb status substitute unique_id userdir usertrack |
|
44 |
-unixd version vhost_alias" |
|
45 |
-# The following are also in the source as of this version, but are not available |
|
46 |
-# for user selection: |
|
47 |
-# bucketeer case_filter case_filter_in echo http isapi optional_fn_export |
|
48 |
-# optional_fn_import optional_hook_export optional_hook_import |
|
49 |
- |
|
50 |
-# inter-module dependencies |
|
51 |
-# TODO: this may still be incomplete |
|
52 |
-MODULE_DEPENDS=" |
|
53 |
- dav_fs:dav |
|
54 |
- dav_lock:dav |
|
55 |
- deflate:filter |
|
56 |
- cache_disk:cache |
|
57 |
- ext_filter:filter |
|
58 |
- file_cache:cache |
|
59 |
- lbmethod_byrequests:proxy_balancer |
|
60 |
- lbmethod_byrequests:slotmem_shm |
|
61 |
- lbmethod_bytraffic:proxy_balancer |
|
62 |
- lbmethod_bybusyness:proxy_balancer |
|
63 |
- lbmethod_heartbeat:proxy_balancer |
|
64 |
- log_forensic:log_config |
|
65 |
- logio:log_config |
|
66 |
- cache_disk:cache |
|
67 |
- mime_magic:mime |
|
68 |
- proxy_ajp:proxy |
|
69 |
- proxy_balancer:proxy |
|
70 |
- proxy_balancer:slotmem_shm |
|
71 |
- proxy_connect:proxy |
|
72 |
- proxy_ftp:proxy |
|
73 |
- proxy_http:proxy |
|
74 |
- proxy_scgi:proxy |
|
75 |
- proxy_fcgi:proxy |
|
76 |
- proxy_wstunnel:proxy |
|
77 |
- substitute:filter |
|
78 |
-" |
|
79 |
- |
|
80 |
-# module<->define mappings |
|
81 |
-MODULE_DEFINES=" |
|
82 |
- auth_digest:AUTH_DIGEST |
|
83 |
- authnz_ldap:AUTHNZ_LDAP |
|
84 |
- cache:CACHE |
|
85 |
- cache_disk:CACHE |
|
86 |
- dav:DAV |
|
87 |
- dav_fs:DAV |
|
88 |
- dav_lock:DAV |
|
89 |
- file_cache:CACHE |
|
90 |
- http2:HTTP2 |
|
91 |
- info:INFO |
|
92 |
- ldap:LDAP |
|
93 |
- proxy:PROXY |
|
94 |
- proxy_ajp:PROXY |
|
95 |
- proxy_balancer:PROXY |
|
96 |
- proxy_connect:PROXY |
|
97 |
- proxy_ftp:PROXY |
|
98 |
- proxy_http:PROXY |
|
99 |
- proxy_fcgi:PROXY |
|
100 |
- proxy_scgi:PROXY |
|
101 |
- proxy_wstunnel:PROXY |
|
102 |
- socache_shmcb:SSL |
|
103 |
- ssl:SSL |
|
104 |
- status:STATUS |
|
105 |
- suexec:SUEXEC |
|
106 |
- userdir:USERDIR |
|
107 |
-" |
|
108 |
- |
|
109 |
-# critical modules for the default config |
|
110 |
-MODULE_CRITICAL=" |
|
111 |
- authn_core |
|
112 |
- authz_core |
|
113 |
- authz_host |
|
114 |
- dir |
|
115 |
- mime |
|
116 |
- unixd |
|
117 |
-" |
|
118 |
-inherit eutils apache-2 systemd toolchain-funcs |
|
119 |
- |
|
120 |
-DESCRIPTION="The Apache Web Server" |
|
121 |
-HOMEPAGE="http://httpd.apache.org/" |
|
122 |
- |
|
123 |
-# some helper scripts are Apache-1.1, thus both are here |
|
124 |
-LICENSE="Apache-2.0 Apache-1.1" |
|
125 |
-SLOT="2" |
|
126 |
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~x64-macos ~x86-macos ~m68k-mint ~sparc64-solaris ~x64-solaris" |
|
127 |
- |
|
128 |
-DEPEND+="apache2_modules_http2? ( >=net-libs/nghttp2-1.0.0 )" |
|
129 |
- |
|
130 |
-pkg_setup() { |
|
131 |
- # dependend critical modules which are not allowed in global scope due |
|
132 |
- # to USE flag conditionals (bug #499260) |
|
133 |
- use ssl && MODULE_CRITICAL+=" socache_shmcb" |
|
134 |
- use doc && MODULE_CRITICAL+=" alias negotiation setenvif" |
|
135 |
- apache-2_pkg_setup |
|
136 |
-} |
|
137 |
- |
|
138 |
-src_prepare() { |
|
139 |
- epatch "${FILESDIR}/apache-fix-redirect-url.diff" |
|
140 |
- apache-2_src_prepare |
|
141 |
-} |
|
142 |
- |
|
143 |
-src_configure() { |
|
144 |
- # Brain dead check. |
|
145 |
- tc-is-cross-compiler && export ap_cv_void_ptr_lt_long="no" |
|
146 |
- |
|
147 |
- apache-2_src_configure |
|
148 |
-} |
|
149 |
- |
|
150 |
-src_compile() { |
|
151 |
- if tc-is-cross-compiler; then |
|
152 |
- # This header is the same across targets, so use the build compiler. |
|
153 |
- pushd server >/dev/null |
|
154 |
- emake gen_test_char |
|
155 |
- tc-export_build_env BUILD_CC |
|
156 |
- ${BUILD_CC} ${BUILD_CFLAGS} ${BUILD_CPPFLAGS} ${BUILD_LDFLAGS} \ |
|
157 |
- gen_test_char.c -o gen_test_char $(apr-1-config --includes) || die |
|
158 |
- popd >/dev/null |
|
159 |
- fi |
|
160 |
- |
|
161 |
- default |
|
162 |
-} |
|
163 |
- |
|
164 |
-src_install() { |
|
165 |
- apache-2_src_install |
|
166 |
- for i in /usr/bin/{htdigest,logresolve,htpasswd,htdbm,ab,httxt2dbm}; do |
|
167 |
- rm "${ED}"/$i || die "Failed to prune apache-tools bits" |
|
168 |
- done |
|
169 |
- for i in /usr/share/man/man8/{rotatelogs.8,htcacheclean.8}; do |
|
170 |
- rm "${ED}"/$i || die "Failed to prune apache-tools bits" |
|
171 |
- done |
|
172 |
- for i in /usr/share/man/man1/{logresolve.1,htdbm.1,htdigest.1,htpasswd.1,dbmmanage.1,ab.1}; do |
|
173 |
- rm "${ED}"/$i || die "Failed to prune apache-tools bits" |
|
174 |
- done |
|
175 |
- for i in /usr/sbin/{checkgid,fcgistarter,htcacheclean,rotatelogs}; do |
|
176 |
- rm "${ED}/"$i || die "Failed to prune apache-tools bits" |
|
177 |
- done |
|
178 |
- |
|
179 |
- # install apxs in /usr/bin (bug #502384) and put a symlink into the |
|
180 |
- # old location until all ebuilds and eclasses have been modified to |
|
181 |
- # use the new location. |
|
182 |
- local apxs="/usr/bin/apxs" |
|
183 |
- cp "${S}"/support/apxs "${ED}"${apxs} || die "Failed to install apxs" |
|
184 |
- ln -s ../bin/apxs "${ED}"/usr/sbin/apxs || die |
|
185 |
- chmod 0755 "${ED}"${apxs} || die |
|
186 |
- |
|
187 |
- # Note: wait for mod_systemd to be included in the next release, |
|
188 |
- # then apache2.4.service can be used and systemd support controlled |
|
189 |
- # through --enable-systemd |
|
190 |
- systemd_newunit "${FILESDIR}/apache2.2.service" "apache2.service" |
|
191 |
- systemd_dotmpfilesd "${FILESDIR}/apache.conf" |
|
192 |
- #insinto /etc/apache2/modules.d |
|
193 |
- #doins "${FILESDIR}/00_systemd.conf" |
|
194 |
-} |
|
195 |
- |
|
196 |
-pkg_postinst() |
|
197 |
-{ |
|
198 |
- apache-2_pkg_postinst || die "apache-2_pkg_postinst failed" |
|
199 |
- # warnings that default config might not work out of the box |
|
200 |
- for mod in $MODULE_CRITICAL; do |
|
201 |
- if ! use "apache2_modules_${mod}"; then |
|
202 |
- echo |
|
203 |
- ewarn "Warning: Critical module not installed!" |
|
204 |
- ewarn "Modules 'authn_core', 'authz_core' and 'unixd'" |
|
205 |
- ewarn "are highly recomended but might not be in the base profile yet." |
|
206 |
- ewarn "Default config for ssl needs module 'socache_shmcb'." |
|
207 |
- ewarn "Enabling the following flags is highly recommended:" |
|
208 |
- for cmod in $MODULE_CRITICAL; do |
|
209 |
- use "apache2_modules_${cmod}" || \ |
|
210 |
- ewarn "+ apache2_modules_${cmod}" |
|
211 |
- done |
|
212 |
- echo |
|
213 |
- break |
|
214 |
- fi |
|
215 |
- done |
|
216 |
- # warning for proxy_balancer and missing load balancing scheduler |
|
217 |
- if use apache2_modules_proxy_balancer; then |
|
218 |
- local lbset= |
|
219 |
- for mod in lbmethod_byrequests lbmethod_bytraffic lbmethod_bybusyness lbmethod_heartbeat; do |
|
220 |
- if use "apache2_modules_${mod}"; then |
|
221 |
- lbset=1 && break |
|
222 |
- fi |
|
223 |
- done |
|
224 |
- if [ ! $lbset ]; then |
|
225 |
- echo |
|
226 |
- ewarn "Info: Missing load balancing scheduler algorithm module" |
|
227 |
- ewarn "(They were split off from proxy_balancer in 2.3)" |
|
228 |
- ewarn "In order to get the ability of load balancing, at least" |
|
229 |
- ewarn "one of these modules has to be present:" |
|
230 |
- ewarn "lbmethod_byrequests lbmethod_bytraffic lbmethod_bybusyness lbmethod_heartbeat" |
|
231 |
- echo |
|
232 |
- fi |
|
233 |
- fi |
|
234 |
-} |
... | ... |
@@ -1,123 +0,0 @@ |
1 |
-diff --git a/include/http_core.h b/include/http_core.h |
|
2 |
-index 6ca53f7..8535455 100644 |
|
3 |
---- a/include/http_core.h |
|
4 |
-+++ b/include/http_core.h |
|
5 |
-@@ -465,6 +465,17 @@ typedef unsigned long etag_components_t; |
|
6 |
- /* This is the default value used */ |
|
7 |
- #define ETAG_BACKWARD (ETAG_MTIME | ETAG_SIZE) |
|
8 |
- |
|
9 |
-+/* Generic ON/OFF/UNSET for unsigned int foo :2 */ |
|
10 |
-+#define AP_CORE_CONFIG_OFF (0) |
|
11 |
-+#define AP_CORE_CONFIG_ON (1) |
|
12 |
-+#define AP_CORE_CONFIG_UNSET (2) |
|
13 |
-+ |
|
14 |
-+/* Generic merge of flag */ |
|
15 |
-+#define AP_CORE_MERGE_FLAG(field, to, base, over) to->field = \ |
|
16 |
-+ over->field != AP_CORE_CONFIG_UNSET \ |
|
17 |
-+ ? over->field \ |
|
18 |
-+ : base->field |
|
19 |
-+ |
|
20 |
- /** |
|
21 |
- * @brief Server Signature Enumeration |
|
22 |
- */ |
|
23 |
-@@ -630,6 +641,8 @@ typedef struct { |
|
24 |
- * advice |
|
25 |
- */ |
|
26 |
- unsigned int cgi_pass_auth : 2; |
|
27 |
-+ unsigned int qualify_redirect_url :2; |
|
28 |
-+ |
|
29 |
- } core_dir_config; |
|
30 |
- |
|
31 |
- /* macro to implement off by default behaviour */ |
|
32 |
-diff --git a/server/core.c b/server/core.c |
|
33 |
-index 37484b6..803d4d4 100644 |
|
34 |
---- a/server/core.c |
|
35 |
-+++ b/server/core.c |
|
36 |
-@@ -191,6 +191,7 @@ static void *create_core_dir_config(apr_pool_t *a, char *dir) |
|
37 |
- conf->max_reversals = AP_MAXRANGES_UNSET; |
|
38 |
- |
|
39 |
- conf->cgi_pass_auth = AP_CGI_PASS_AUTH_UNSET; |
|
40 |
-+ conf->qualify_redirect_url = AP_CORE_CONFIG_UNSET; |
|
41 |
- |
|
42 |
- return (void *)conf; |
|
43 |
- } |
|
44 |
-@@ -405,6 +406,8 @@ static void *merge_core_dir_configs(apr_pool_t *a, void *basev, void *newv) |
|
45 |
- |
|
46 |
- conf->cgi_pass_auth = new->cgi_pass_auth != AP_CGI_PASS_AUTH_UNSET ? new->cgi_pass_auth : base->cgi_pass_auth; |
|
47 |
- |
|
48 |
-+ AP_CORE_MERGE_FLAG(qualify_redirect_url, conf, base, new); |
|
49 |
-+ |
|
50 |
- return (void*)conf; |
|
51 |
- } |
|
52 |
- |
|
53 |
-@@ -1707,6 +1710,15 @@ static const char *set_cgi_pass_auth(cmd_parms *cmd, void *d_, int flag) |
|
54 |
- return NULL; |
|
55 |
- } |
|
56 |
- |
|
57 |
-+static const char *set_qualify_redirect_url(cmd_parms *cmd, void *d_, int flag) |
|
58 |
-+{ |
|
59 |
-+ core_dir_config *d = d_; |
|
60 |
-+ |
|
61 |
-+ d->qualify_redirect_url = flag ? AP_CORE_CONFIG_ON : AP_CORE_CONFIG_OFF; |
|
62 |
-+ |
|
63 |
-+ return NULL; |
|
64 |
-+} |
|
65 |
-+ |
|
66 |
- static const char *set_override_list(cmd_parms *cmd, void *d_, int argc, char *const argv[]) |
|
67 |
- { |
|
68 |
- core_dir_config *d = d_; |
|
69 |
-@@ -4206,6 +4218,10 @@ AP_INIT_TAKE12("LimitInternalRecursion", set_recursion_limit, NULL, RSRC_CONF, |
|
70 |
- AP_INIT_FLAG("CGIPassAuth", set_cgi_pass_auth, NULL, OR_AUTHCFG, |
|
71 |
- "Controls whether HTTP authorization headers, normally hidden, will " |
|
72 |
- "be passed to scripts"), |
|
73 |
-+AP_INIT_FLAG("QualifyRedirectURL", set_qualify_redirect_url, NULL, OR_FILEINFO, |
|
74 |
-+ "Controls whether HTTP authorization headers, normally hidden, will " |
|
75 |
-+ "be passed to scripts"), |
|
76 |
-+ |
|
77 |
- AP_INIT_TAKE1("ForceType", ap_set_string_slot_lower, |
|
78 |
- (void *)APR_OFFSETOF(core_dir_config, mime_type), OR_FILEINFO, |
|
79 |
- "a mime type that overrides other configured type"), |
|
80 |
-diff --git a/server/util_script.c b/server/util_script.c |
|
81 |
-index 14991cd..7ac7930 100644 |
|
82 |
---- a/server/util_script.c |
|
83 |
-+++ b/server/util_script.c |
|
84 |
-@@ -282,21 +282,26 @@ AP_DECLARE(void) ap_add_common_vars(request_rec *r) |
|
85 |
- /* Apache custom error responses. If we have redirected set two new vars */ |
|
86 |
- |
|
87 |
- if (r->prev) { |
|
88 |
-- /* PR#57785: reconstruct full URL here */ |
|
89 |
-- apr_uri_t *uri = &r->prev->parsed_uri; |
|
90 |
-- if (!uri->scheme) { |
|
91 |
-- uri->scheme = (char*)ap_http_scheme(r->prev); |
|
92 |
-- } |
|
93 |
-- if (!uri->port) { |
|
94 |
-- uri->port = ap_get_server_port(r->prev); |
|
95 |
-- uri->port_str = apr_psprintf(r->pool, "%u", uri->port); |
|
96 |
-- } |
|
97 |
-- if (!uri->hostname) { |
|
98 |
-- uri->hostname = (char*)ap_get_server_name_for_url(r->prev); |
|
99 |
-+ if (conf->qualify_redirect_url != AP_CORE_CONFIG_ON) { |
|
100 |
-+ add_unless_null(e, "REDIRECT_URL", r->prev->uri); |
|
101 |
-+ } |
|
102 |
-+ else { |
|
103 |
-+ /* PR#57785: reconstruct full URL here */ |
|
104 |
-+ apr_uri_t *uri = &r->prev->parsed_uri; |
|
105 |
-+ if (!uri->scheme) { |
|
106 |
-+ uri->scheme = (char*)ap_http_scheme(r->prev); |
|
107 |
-+ } |
|
108 |
-+ if (!uri->port) { |
|
109 |
-+ uri->port = ap_get_server_port(r->prev); |
|
110 |
-+ uri->port_str = apr_psprintf(r->pool, "%u", uri->port); |
|
111 |
-+ } |
|
112 |
-+ if (!uri->hostname) { |
|
113 |
-+ uri->hostname = (char*)ap_get_server_name_for_url(r->prev); |
|
114 |
-+ } |
|
115 |
-+ add_unless_null(e, "REDIRECT_URL", |
|
116 |
-+ apr_uri_unparse(r->pool, uri, 0)); |
|
117 |
- } |
|
118 |
- add_unless_null(e, "REDIRECT_QUERY_STRING", r->prev->args); |
|
119 |
-- add_unless_null(e, "REDIRECT_URL", |
|
120 |
-- apr_uri_unparse(r->pool, uri, 0)); |
|
121 |
- } |
|
122 |
- |
|
123 |
- if (e != r->subprocess_env) { |
... | ... |
@@ -1,19 +0,0 @@ |
1 |
-[Unit] |
|
2 |
-Description=The Apache HTTP Server |
|
3 |
-After=network.target remote-fs.target nss-lookup.target |
|
4 |
- |
|
5 |
-[Service] |
|
6 |
-EnvironmentFile=/etc/conf.d/apache2 |
|
7 |
-ExecStart=/usr/sbin/apache2 $APACHE2_OPTS -DFOREGROUND |
|
8 |
-ExecReload=/usr/sbin/apache2 $APACHE2_OPTS -k graceful |
|
9 |
-ExecStop=/usr/sbin/apache2 $APACHE2_OPTS -k graceful-stop |
|
10 |
-# We want systemd to give httpd some time to finish gracefully, but still want |
|
11 |
-# it to kill httpd after TimeoutStopSec if something went wrong during the |
|
12 |
-# graceful stop. Normally, Systemd sends SIGTERM signal right after the |
|
13 |
-# ExecStop, which would kill httpd. We are sending useless SIGCONT here to give |
|
14 |
-# httpd time to finish. |
|
15 |
-KillSignal=SIGCONT |
|
16 |
-PrivateTmp=true |
|
17 |
- |
|
18 |
-[Install] |
|
19 |
-WantedBy=multi-user.target |
... | ... |
@@ -1,34 +0,0 @@ |
1 |
-<?xml version='1.0' encoding='UTF-8'?> |
|
2 |
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
|
3 |
-<pkgmetadata> |
|
4 |
- <maintainer> |
|
5 |
- <email>polynomial-c@gentoo.org</email> |
|
6 |
- <name>Lars Wendler</name> |
|
7 |
- </maintainer> |
|
8 |
- <longdescription> |
|
9 |
- The Apache HTTP Server Project is an effort to develop and maintain an |
|
10 |
- open-source HTTP server for modern operating systems. The goal of this |
|
11 |
- project is to provide a secure, efficient and extensible server that |
|
12 |
- provides HTTP services in sync with the current HTTP standards. |
|
13 |
- </longdescription> |
|
14 |
- <use> |
|
15 |
- <flag name='suexec'>Install suexec with apache</flag> |
|
16 |
- <flag name='static'>Link in apache2 modules statically rather then plugins</flag> |
|
17 |
- <flag name='apache2_modules_access_compat'>Group authorizations based on host (name or IP address). Available as a compatibility module with previous versions.</flag> |
|
18 |
- <flag name='apache2_modules_authn_core'>Provides core authentication capabilities common to all authentication providers (functionality provided by authn_alias in previous versions).</flag> |
|
19 |
- <flag name='apache2_modules_authz_core'>Provides core authorization capabilities to various authorization/authorization modules, such as authn_file and authz_user.</flag> |
|
20 |
- <flag name='apache2_modules_authz_dbd'>Provides authorization capabilities via SQL database so that authenticated users can be allowed or denied access to portions of the web site by group membership.</flag> |
|
21 |
- <flag name='apache2_modules_cache_disk'>Disk based storage module for the HTTP caching filter (similar to mem_cache in previous versions).</flag> |
|
22 |
- <flag name='apache2_modules_lbmethod_byrequests'>Request counting load balancer scheduler algorithm for proxy_balancer.</flag> |
|
23 |
- <flag name='apache2_modules_lbmethod_bytraffic'>Weighted traffic counting load balancer scheduler algorithm for proxy_balancer.</flag> |
|
24 |
- <flag name='apache2_modules_lbmethod_bybusyness'>Pending request counting load balancer scheduler algorithm for proxy_balancer.</flag> |
|
25 |
- <flag name='apache2_modules_lbmethod_heartbeat'>Heartbeat traffic counting load balancer scheduler algorithm for proxy_balancer.</flag> |
|
26 |
- <flag name='apache2_modules_slotmem_shm'>Slot-based shared memory provider.</flag> |
|
27 |
- <flag name='apache2_modules_socache_shmcb'>A shared object cache provider using a high-performance cyclic buffer inside a shared memory segment.</flag> |
|
28 |
- <flag name='apache2_modules_unixd'>Basic (required) security for Unix-family platforms.</flag> |
|
29 |
- <flag name='apache2_modules_proxy_fcgi'>FCGI support module for mod_proxy.</flag> |
|
30 |
- <flag name='apache2_modules_proxy_wstunnel'>Provides support for the tunnelling of web socket connections to a backend websockets server.</flag> |
|
31 |
- <flag name='apache2_modules_ratelimit'>Ratelimit module for transfer rate management</flag> |
|
32 |
- <flag name='apache2_modules_remoteip'>Remotip module for logging</flag> |
|
33 |
- </use> |
|
34 |
-</pkgmetadata> |
|
35 | 0 |