summaryrefslogtreecommitdiffstats
path: root/modules/proxy
diff options
context:
space:
mode:
authorGraham Leggett <minfrin@apache.org>2002-04-24 19:40:48 +0200
committerGraham Leggett <minfrin@apache.org>2002-04-24 19:40:48 +0200
commit7eec825b4a6069ea16dbb1da0e2f1f8cfc535788 (patch)
tree8cfff211335e3d3608ffdcf04aea70ac0ff4acf5 /modules/proxy
parentMention my AB fixes. (diff)
downloadapache2-7eec825b4a6069ea16dbb1da0e2f1f8cfc535788.tar.xz
apache2-7eec825b4a6069ea16dbb1da0e2f1f8cfc535788.zip
Add an intelligent error message should no proxy submodules be
valid to handle a request. PR: 8407 Obtained from: Submitted by: Reviewed by: git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94785 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'modules/proxy')
-rw-r--r--modules/proxy/mod_proxy.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/modules/proxy/mod_proxy.c b/modules/proxy/mod_proxy.c
index 9664ba1a35..6fb930f4d9 100644
--- a/modules/proxy/mod_proxy.c
+++ b/modules/proxy/mod_proxy.c
@@ -465,9 +465,11 @@ static int proxy_handler(request_rec *r)
"Trying to run scheme_handler");
access_status = proxy_run_scheme_handler(r, conf, url, NULL, 0);
if (DECLINED == access_status) {
- ap_log_error(APLOG_MARK, APLOG_DEBUG | APLOG_NOERRNO, 0, r->server,
- "Neither CONNECT, HTTP or FTP for %s",
- r->uri);
+ ap_log_error(APLOG_MARK, APLOG_WARNING | APLOG_NOERRNO, 0, r->server,
+ "proxy: No protocol handler was valid for the URL %s. "
+ "If you are using a DSO version of mod_proxy, make sure "
+ "the proxy submodules are included in the configuration "
+ "using LoadModule.", r->uri);
return HTTP_FORBIDDEN;
}
return access_status;