Jamie Cameron
2023-06-10 16:33:59 -07:00
parent cd1345cf30
commit fffe6fad63
2 changed files with 12 additions and 1 deletions

View File

@ -637,6 +637,7 @@ mod_proxy_preserve=Preserve original Host: header
mod_proxy_timeout=Proxy request timeout in seconds
mod_proxy_etimeout=Proxy request timeout must be a number of seconds
mod_proxy_via=Set Via: headers
mod_proxy_preserve=Preserve original HTTP host
mod_proxy_not=None
mod_log_agent_default=Default

View File

@ -25,6 +25,7 @@ $rv = [ [ 'ProxyRequests', 0, 13, 'virtual', undef, 11 ],
[ 'ProxyMaxForwards', 0, 13, 'virtual', 2.0 ],
[ 'ProxyPreserveHost', 0, 13, 'virtual', 2.031 ],
[ 'ProxyTimeout', 0, 13, 'virtual', 2.031 ],
[ 'ProxyPreserveHost', 0, 13, 'virtual', 2.3 ],
[ 'ProxyVia', 0, 13, 'virtual', 2.0 ] ];
return &make_directives($rv, $_[0], "mod_proxy");
}
@ -291,7 +292,16 @@ sub save_ProxyVia
return &parse_choice("ProxyVia", "");
}
sub edit_ProxyPreserveHost
{
return (1, $text{'mod_proxy_preserve'},
&choice_input($_[0]->{'value'}, "ProxyPreserveHost", "",
"$text{'yes'},on", "$text{'no'},off", "$text{'default'},"));
}
sub save_ProxyPreserveHost
{
return &parse_choice("ProxyPreserveHost", "");
}
1;