[ Index ]

PHP Cross Reference of DokuWiki

title

Body

[close]

/_test/tests/inc/ -> init_checkssl.test.php (summary)

(no description)

File Size: 119 lines (3 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

init_checkssl_test:: (8 methods):
  test1a()
  test1b()
  test2()
  test3()
  test4()
  test5()
  test6()
  test7()


Class: init_checkssl_test  - X-Ref

test1a()   X-Ref
Running behind an SSL proxy, HTTP between server and proxy
Proxy (REMOTE_ADDR) is matched by default trustedproxy config regex
HTTPS not set
HTTP_X_FORWARDED_PROTO
set to https


test1b()   X-Ref
Running behind an SSL proxy, HTTP between server and proxy
Proxy (REMOTE_ADDR) is not matched by default trustedproxy config regex
HTTPS not set
HTTP_X_FORWARDED_PROTO
set to https


test2()   X-Ref
Running behind a plain HTTP proxy, HTTP between server and proxy
HTTPS not set
HTTP_X_FORWARDED_PROTO set to http


test3()   X-Ref
Running behind an SSL proxy, HTTP between server and proxy
HTTPS set to off,
HTTP_X_FORWARDED_PROTO set to https


test4()   X-Ref
Not running behind a proxy, HTTPS server
HTTPS set to on,
HTTP_X_FORWARDED_PROTO not set


test5()   X-Ref
Not running behind a proxy, plain HTTP server
HTTPS not set
HTTP_X_FORWARDED_PROTO not set


test6()   X-Ref
Not running behind a proxy, plain HTTP server
HTTPS set to off
HTTP_X_FORWARDED_PROTO not set


test7()   X-Ref
Running behind an SSL proxy, SSL between proxy and HTTP server
HTTPS set to on,
HTTP_X_FORWARDED_PROTO set to https