ASF Bugzilla – Attachment 31387 Details for
Bug 56264
Confusing error with .htaccess rewrite to proxy when mod_proxy not active.
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch File
mod_rewrite.patch (text/plain), 866 bytes, created by
Michael Streeter
on 2014-03-14 18:08:08 UTC
(
hide
)
Description:
Patch File
Filename:
MIME Type:
Creator:
Michael Streeter
Created:
2014-03-14 18:08:08 UTC
Size:
866 bytes
patch
obsolete
>--- mod_rewrite-orig.c 2013-10-07 14:12:57.000000000 -0500 >+++ mod_rewrite.c 2014-03-14 11:50:47.370340818 -0500 >@@ -4820,6 +4820,16 @@ > if (l > 6 && strncmp(r->filename, "proxy:", 6) == 0) { > /* it should go on as an internal proxy request */ > >+ /* check if the proxy module is enabled, so >+ * we can actually use it! >+ */ >+ if (!proxy_available) { >+ ap_log_rerror(APLOG_MARK, APLOG_ERR, 0, r, APLOGNO(00669) >+ "attempt to make remote request from mod_rewrite " >+ "without proxy enabled: %s", r->filename); >+ return HTTP_FORBIDDEN; >+ } >+ > /* make sure the QUERY_STRING and > * PATH_INFO parts get incorporated > * (r->path_info was already appended by the
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 56264
: 31387