projects
/
webmin.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0c803b3
)
balancer: is a valid proxy URL type:
author
Jamie Cameron
<jcameron@webmin.com>
Thu, 11 Aug 2011 22:52:26 +0000
(15:52 -0700)
committer
Jamie Cameron
<jcameron@webmin.com>
Thu, 11 Aug 2011 22:52:26 +0000
(15:52 -0700)
apache/mod_proxy.pl
patch
|
blob
|
history
diff --git
a/apache/mod_proxy.pl
b/apache/mod_proxy.pl
index
43b2813
..
274e9cb
100755
(executable)
--- a/
apache/mod_proxy.pl
+++ b/
apache/mod_proxy.pl
@@
-143,7
+143,7
@@
for($i=0; defined($path = $in{"$_[0]_path_$i"}); $i++) {
$url = $in{"$_[0]_url_${i}_def"} ? "!" : $in{"$_[0]_url_$i"};
next if (!$path);
$path =~ /^\/\S*$/ || &error(&text('mod_proxy_elurl', $path));
- $url =~ /^(http|https):\/\/(\S+)$/ || $url eq "!" ||
+ $url =~ /^(http|https
|balancer
):\/\/(\S+)$/ || $url eq "!" ||
&error(&text('mod_proxy_erurl', $url));
if ($url eq "!") {
push(@notrv, "$path $url");