Reply to Thread

This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

Newly created posts will remain inaccessible for others until approved by a moderator.

The last reply was more than 365 days ago, this thread is most likely obsolete. It is recommended to create a new thread instead.

Information
Verification (“reCAPTCHA”)
Message
  • :)
  • :(
  • ;)
  • :P
  • ^^
  • :D
  • ;(
  • X(
  • :*
  • :|
  • 8o
  • =O
  • <X
  • ||
  • :/
  • :S
  • X/
  • 8)
  • ?(
  • :huh:
  • :rolleyes:
  • :love:
  • 8|
  • :cursing:
  • :thumbdown:
  • :thumbsup:
  • :thumbup:
  • :sleeping:
  • :whistling:
  • :evil:
  • :saint:
  • <3
  • :!:
  • :?:
The maximum number of attachments: 10
Maximum file size: 1 MB
Allowed extensions: bmp, gif, jpeg, jpg, pdf, png, txt, zip
Automatically detects web page links.
Displays smilies as smiley-images.
Allows BBCodes to be used.

Previous Post

  • Test https Weiterleitung per index.php auf ngnix im Woltlab

    yz30

    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.

    PHP Source Code

    1. <?php
    2. /**
    3. * @author Marcel Werk
    4. * @copyright 2001-2015 WoltLab GmbH
    5. * @license WoltLab License <http://www.woltlab.com/license-agreement.html>
    6. * @package com.woltlab.wbb
    7. * @category Burning Board
    8. */
    9. if (!(isset($_SERVER['HTTPS']) && ($_SERVER['HTTPS'] == 'on' ||
    10. $_SERVER['HTTPS'] == 1) ||
    11. isset($_SERVER['HTTP_X_FORWARDED_PROTO']) &&
    12. $_SERVER['HTTP_X_FORWARDED_PROTO'] == 'https'))
    13. {
    14. $redirect = 'https://' . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI'];
    15. header('HTTP/1.1 301 Moved Permanently');
    16. header('Location: ' . $redirect);
    17. exit();
    18. }
    19. require_once('./global.php');
    20. wcf\system\request\RequestHandler::getInstance()->handle('wbb');
    Display All