Commit 23b05006 authored by Antoine Beaupré's avatar Antoine Beaupré
Browse files

fix webmail redirection by redirecting to https://FQDN instead of the

same domain

this is to encourage better security practices by forcing users to use
HTTPS and a canonical URL.

eventually, this is a step towards getting rid of the global /webmail/
alias too.

See #170
See #101
See #1080
parent 59d8116b
......@@ -206,7 +206,6 @@ bureau/admin/stats_members.php -text
bureau/admin/styles/base.css -text
bureau/admin/template.php -text
bureau/admin/web_list.php -text
bureau/admin/webmail/.htaccess -text
bureau/admin/webmail/index.php -text
bureau/class/config.php -text
bureau/class/config_nochk.php -text
......
<?php
header ("Location: /webmail/") ;
include("/var/alternc/bureau/class/local.php");
header ("Location: https://$L_FQDN/webmail/") ;
?>
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment