[wp-trac] [WordPress Trac] #19337: is_ssl() fails on LiteSpeed server

WordPress Trac wp-trac at lists.automattic.com
Mon Nov 28 20:46:21 UTC 2011


#19337: is_ssl() fails on LiteSpeed server
-----------------------------------------+------------------------------
 Reporter:  niklasbr                     |       Owner:
     Type:  defect (bug)                 |      Status:  new
 Priority:  normal                       |   Milestone:  Awaiting Review
Component:  Security                     |     Version:  3.3
 Severity:  normal                       |  Resolution:
 Keywords:  has-patch reporter-feedback  |
-----------------------------------------+------------------------------

Comment (by niklasbr):

 This is the var_dump($_SERVER) when [https://villasjoviken.se/ebutik/
 visiting the site] over https, the SSL certificate validates fine with the
 browser.
 {{{
 array(33) {
   ["SERVER_SOFTWARE"]=>
   string(9) "LiteSpeed"
   ["REQUEST_URI"]=>
   string(8) "/ebutik/"
   ["HTTP_ACCEPT"]=>
   string(63)
 "text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8"
   ["HTTP_ACCEPT_LANGUAGE"]=>
   string(5) "sv-se"
   ["HTTP_CONNECTION"]=>
   string(10) "keep-alive"
   ["HTTP_COOKIE"]=>
   string(773) "__unam=bfcc9ef-133c7419056-330be7f5-239;
 __utma=56261164.472435995.1321897923.1322472211.1322512573.11;
 __utmb=56261164.3.10.1322512573; __utmc=56261164; __utmv=56261164.|1
 =logged-in=yes=1,2=user-id=7=1,3=username=niklas=1;
 __utmz=56261164.1321897923.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none);
 BIGipServerLitespeed-Cluster-02=2064361664.20480.0000;
 PHPSESSID=46c28e99a0d7dc1edc323cfef9ecf295; wp-
 settings-7=m13%3Do%26m12%3Do%26m10%3Do%26m11%3Do%26m7%3Do%26m6%3Do%26m5%3Do%26m4%3Do%26m9%3Do%26m8%3Do%26m1%3Dc%26m2%3Do;
 wp-settings-time-7=1322210344;
 wordpress_logged_in_b9666c95518e649df272996ade5abf70=niklas%7C1323249736%7C233f731ad9d613973763954aea5cfc28;
 wordpress_logged_in_f0da2b789df28a217b2da742999f5dbe=niklas%7C1323159387%7C19390f0db7d15d2d4bc5da53b1169be5"
   ["HTTP_HOST"]=>
   string(16) "villasjoviken.se"
   ["HTTP_REFERER"]=>
   string(25) "https://villasjoviken.se/"
   ["HTTP_USER_AGENT"]=>
   string(119) "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_2)
 AppleWebKit/534.51.22 (KHTML, like Gecko) Version/5.1.1 Safari/534.51.22"
   ["HTTP_CACHE_CONTROL"]=>
   string(9) "max-age=0"
   ["HTTP_DNT"]=>
   string(1) "1"
   ["HTTP_REMOTE_ADDR"]=>
   string(14) "109.228.152.14"
   ["HTTP_LOCAL_ADDR"]=>
   string(14) "109.235.168.73"
   ["HTTP_X_FORWARDED_PROTO"]=>
   string(5) "https"
   ["HTTP_HTTPS"]=>
   string(2) "on"
   ["DOCUMENT_ROOT"]=>
   string(55) "/storage/content/33/108133/villasjoviken.se/public_html"
   ["REMOTE_ADDR"]=>
   string(14) "192.168.11.100"
   ["REMOTE_PORT"]=>
   string(5) "36232"
   ["SERVER_ADDR"]=>
   string(14) "192.168.11.123"
   ["SERVER_NAME"]=>
   string(16) "villasjoviken.se"
   ["SERVER_PORT"]=>
   string(2) "80"
   ["REDIRECT_STATUS"]=>
   string(3) "200"
   ["REDIRECT_URL"]=>
   string(8) "/ebutik/"
   ["SCRIPT_FILENAME"]=>
   string(65)
 "/storage/content/33/108133/villasjoviken.se/public_html/index.php"
   ["QUERY_STRING"]=>
   string(0) ""
   ["CUR_REQUEST_URI"]=>
   string(10) "/index.php"
   ["SCRIPT_NAME"]=>
   string(10) "/index.php"
   ["SERVER_PROTOCOL"]=>
   string(8) "HTTP/1.1"
   ["REQUEST_METHOD"]=>
   string(3) "GET"
   ["PHP_SELF"]=>
   string(10) "/index.php"
   ["REQUEST_TIME"]=>
   string(10) "1322512854"
   ["argv"]=>
   array(0) {
   }
   ["argc"]=>
   string(1) "0"
 }
 }}}

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/19337#comment:3>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list