Im Rahmen der Datenschutzbestimmungen habe ich den Server wieder auf das bei mir schnellere ngnix/php 7 umgestellt, und dafür die https zwingende Nutzung per index.php angepasst. Test OK.
Alles anzeigen
PHP-Quellcode
- <?php
- /**
- * @author Marcel Werk
- * @copyright 2001-2015 WoltLab GmbH
- * @license WoltLab License <http://www.woltlab.com/license-agreement.html>
- * @package com.woltlab.wbb
- * @category Burning Board
- */
- if (!(isset($_SERVER['HTTPS']) && ($_SERVER['HTTPS'] == 'on' ||
- $_SERVER['HTTPS'] == 1) ||
- isset($_SERVER['HTTP_X_FORWARDED_PROTO']) &&
- $_SERVER['HTTP_X_FORWARDED_PROTO'] == 'https'))
- {
- $redirect = 'https://' . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI'];
- header('HTTP/1.1 301 Moved Permanently');
- header('Location: ' . $redirect);
- exit();
- }
- require_once('./global.php');
- wcf\system\request\RequestHandler::getInstance()->handle('wbb');