dgaudet 97/08/18 00:09:21
Modified: src CHANGES
src/modules/standard mod_rewrite.c
Log:
Fixed proxy-pass-through feature of mod_rewrite; Added error logging
information for case where proxy module is not available. [Marc Slemko]
Submitted by: Marc Slemko
Reviewed by: Dean Gaudet, Ralf S. Engelschall
Revision Changes Path
1.402 +3 -0 apachen/src/CHANGES
Index: CHANGES
===================================================================
RCS file: /export/home/cvs/apachen/src/CHANGES,v
retrieving revision 1.401
retrieving revision 1.402
diff -u -r1.401 -r1.402
--- CHANGES 1997/08/18 06:53:18 1.401
+++ CHANGES 1997/08/18 07:09:16 1.402
@@ -1,5 +1,8 @@
Changes with Apache 1.3a2
+ *) Fixed proxy-pass-through feature of mod_rewrite; Added error logging
+ information for case where proxy module is not available. [Marc Slemko]
+
*) The request to a remote proxy was mangled if it was generated as the
result of a ProxyPass directive. URL schemes other than http:// were not
supported when ProxyRemote was used. PR#260, PR#656, PR#699, PR#713,
1.47 +6 -3 apachen/src/modules/standard/mod_rewrite.c
Index: mod_rewrite.c
===================================================================
RCS file: /export/home/cvs/apachen/src/modules/standard/mod_rewrite.c,v
retrieving revision 1.46
retrieving revision 1.47
diff -u -r1.46 -r1.47
--- mod_rewrite.c 1997/08/05 10:49:40 1.46
+++ mod_rewrite.c 1997/08/18 07:09:20 1.47
@@ -929,8 +929,11 @@
/* check if the proxy module is enabled, so
we can actually use it! */
- if (!proxy_available)
- return FORBIDDEN;
+ if (!proxy_available) {
+ log_reason("attempt to make remote request from mod_rewrite "
+ "without proxy enabled", r->filename, r);
+ return FORBIDDEN;
+ }
/* make sure the QUERY_STRING and
PATH_INFO parts get incorporated */
@@ -3298,7 +3301,7 @@
static int is_proxy_available(server_rec *s)
{
- return (find_linked_module("mod_proxy") != NULL);
+ return (find_linked_module("mod_proxy.c") != NULL);
}
|