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
This commit is contained in:
Antoine Beaupré 2008-09-26 02:13:23 +00:00
parent 59d8116bdc
commit 23b0500649
3 changed files with 2 additions and 2 deletions

1
.gitattributes vendored
View File

@ -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

View File

@ -1,3 +1,4 @@
<?php
header ("Location: /webmail/") ;
include("/var/alternc/bureau/class/local.php");
header ("Location: https://$L_FQDN/webmail/") ;
?>