ASF Bugzilla – Attachment 18835 Details for
Bug 40439
Error message about "ProxyPass with path on <Location>" is wrong
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Slightly modified patch
40439.diff (text/plain), 1.23 KB, created by
Ruediger Pluem
on 2006-09-07 19:46:20 UTC
(
hide
)
Description:
Slightly modified patch
Filename:
MIME Type:
Creator:
Ruediger Pluem
Created:
2006-09-07 19:46:20 UTC
Size:
1.23 KB
patch
obsolete
>Index: modules/proxy/mod_proxy.c >=================================================================== >--- modules/proxy/mod_proxy.c (Revision 440832) >+++ modules/proxy/mod_proxy.c (Arbeitskopie) >@@ -1124,11 +1124,20 @@ > else { > char *val = strchr(word, '='); > if (!val) { >- if (cmd->path) >- return "Invalid ProxyPass parameter. Parameter must be " >- "in the form 'key=value'"; >- else >- return "ProxyPass can not have a path when defined in a location"; >+ if (cmd->path) { >+ if (r[0] == '/') { >+ return "ProxyPass can not have a path when defined in " >+ "a location."; >+ } >+ else { >+ return "Invalid ProxyPass parameter. Parameter must " >+ "be in the form 'key=value'."; >+ } >+ } >+ else { >+ return "Invalid ProxyPass parameter. Parameter must be " >+ "in the form 'key=value'."; >+ } > } > else > *val++ = '\0';
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 40439
:
18833
| 18835