Permalink
Browse files

OPENSHIFT: Remove SSL detection due to reverse-proxy issue, SSL works…

… but is not detected by $_SERVER as it appears the SSL termination is being perfomed off box.
  • Loading branch information...
linickx committed Jul 26, 2011
1 parent 9992914 commit 065f9097d021170fad8f3b12950fed8b1b9f277b
Showing with 0 additions and 8 deletions.
  1. +0 −8 php/index.php
View
@@ -6,14 +6,6 @@
**/
- if($_SERVER['HTTPS']!=="on") { // Require SSL, we need to really!
-
- $redirect= "https://".$_SERVER['HTTP_HOST'].$_SERVER['REQUEST_URI'];
- #header("Location:$redirect");
-
- print_r($_SERVER);

This comment has been minimized.

Show comment Hide comment
@linickx

linickx Jul 26, 2011

Owner

Available $_SERVER variables https://gist.github.com/1107884

@linickx

linickx Jul 26, 2011

Owner

Available $_SERVER variables https://gist.github.com/1107884

- exit;
- }
if (!file_exists("../../data/config.php")) {

0 comments on commit 065f909

Please sign in to comment.