mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-13 00:07:26 +00:00
services: #1168 for load balancer pages
This commit is contained in:
parent
05b1fa9a31
commit
b60391dab6
@ -65,7 +65,7 @@ if ($_SERVER['REQUEST_METHOD'] === 'POST') {
|
||||
relayd_configure();
|
||||
filter_configure();
|
||||
clear_subsystem_dirty('loadbalancer');
|
||||
header("Location: load_balancer_monitor.php");
|
||||
header(url_safe('Location: /load_balancer_monitor.php'));
|
||||
exit;
|
||||
}
|
||||
}
|
||||
|
||||
@ -178,7 +178,7 @@ if ($_SERVER['REQUEST_METHOD'] === 'GET') {
|
||||
|
||||
mark_subsystem_dirty('loadbalancer');
|
||||
write_config();
|
||||
header("Location: load_balancer_monitor.php");
|
||||
header(url_safe('Location: /load_balancer_monitor.php'));
|
||||
exit;
|
||||
}
|
||||
}
|
||||
|
||||
@ -64,7 +64,7 @@ if ($_SERVER['REQUEST_METHOD'] === 'POST') {
|
||||
relayd_configure();
|
||||
filter_configure();
|
||||
clear_subsystem_dirty('loadbalancer');
|
||||
header("Location: load_balancer_monitor.php");
|
||||
header(url_safe('Location: /load_balancer_monitor.php'));
|
||||
exit;
|
||||
}
|
||||
}
|
||||
|
||||
@ -142,18 +142,17 @@ if ($_SERVER['REQUEST_METHOD'] === 'GET') {
|
||||
|
||||
mark_subsystem_dirty('loadbalancer');
|
||||
write_config();
|
||||
header("Location: load_balancer_pool.php");
|
||||
header(url_safe('Location: /load_balancer_pool.php'));
|
||||
exit;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
$service_hook = 'relayd';
|
||||
legacy_html_escape_form_data($pconfig);
|
||||
include("head.inc");
|
||||
?>
|
||||
|
||||
include("head.inc");
|
||||
|
||||
?>
|
||||
<body>
|
||||
<!-- push all available (nestable) aliases in a hidden select box -->
|
||||
<select class="hidden" id="aliases">
|
||||
|
||||
@ -56,7 +56,7 @@ if ($_SERVER['REQUEST_METHOD'] === 'GET') {
|
||||
relayd_configure();
|
||||
filter_configure();
|
||||
clear_subsystem_dirty('loadbalancer');
|
||||
header("Location: load_balancer_setting.php");
|
||||
header(url_safe('Location: /load_balancer_setting.php'));
|
||||
exit;
|
||||
} else {
|
||||
/* input validation */
|
||||
@ -88,7 +88,7 @@ if ($_SERVER['REQUEST_METHOD'] === 'GET') {
|
||||
|
||||
write_config();
|
||||
mark_subsystem_dirty('loadbalancer');
|
||||
header("Location: load_balancer_setting.php");
|
||||
header(url_safe('Location: /load_balancer_setting.php'));
|
||||
exit;
|
||||
}
|
||||
}
|
||||
|
||||
@ -91,7 +91,7 @@ if ($_SERVER['REQUEST_METHOD'] === 'POST') {
|
||||
/* Wipe out old relayd anchors no longer in use. */
|
||||
cleanup_lb_marked();
|
||||
clear_subsystem_dirty('loadbalancer');
|
||||
header("Location: load_balancer_virtual_server.php");
|
||||
header(url_safe('Location: /load_balancer_virtual_server.php'));
|
||||
exit;
|
||||
}
|
||||
}
|
||||
|
||||
@ -125,18 +125,18 @@ if ($_SERVER['REQUEST_METHOD'] === 'GET') {
|
||||
|
||||
mark_subsystem_dirty('loadbalancer');
|
||||
write_config();
|
||||
header("Location: load_balancer_virtual_server.php");
|
||||
exit;
|
||||
|
||||
header(url_safe('Location: /load_balancer_virtual_server.php'));
|
||||
exit;
|
||||
}
|
||||
}
|
||||
|
||||
$service_hook = 'relayd';
|
||||
legacy_html_escape_form_data($pconfig);
|
||||
|
||||
include("head.inc");
|
||||
|
||||
?>
|
||||
|
||||
|
||||
<body>
|
||||
<script type="text/javascript">
|
||||
$( document ).ready(function() {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user