https://bugzilla.wikimedia.org/show_bug.cgi?id=14977

--- Comment #35 from Allen Stambaugh <allen4na...@gmail.com> 2011-11-20 
03:23:50 UTC ---
Unless I am mistaken this bug will be closed with or after the release of
version 1.18. The version 1.18.0rc1 installer sets $wgServer in
LocalSettings.php. I think that automatic setting of that variable will be
depreciated. Until then I suggest adding the following code to
LocalSettings.php and if necessary modifying it to work with your web server.

## This sets $wgServer including the protocol. Uncomment out the last line if
you need to use different port number(s).
#$wgServer = ( isset( $_SERVER['HTTPS'] ) && $_SERVER['HTTPS'] == 'on' ) ?
'https://'.$_SERVER['SERVER_NAME'] : 'http://'.$_SERVER['SERVER_NAME'];
#$wgServer = ( isset( $_SERVER['HTTPS'] ) && $_SERVER['HTTPS'] == 'on' ) ?
'https://'.$_SERVER['HOSTNAME'] : 'http://'.$_SERVER['HOSTNAME'];
$wgServer = ( isset( $_SERVER['HTTPS'] ) && $_SERVER['HTTPS'] == 'on' ) ?
'https://'.$_SERVER['HTTP_HOST'] : 'http://'.$_SERVER['HTTP_HOST'];
#$wgServer = ( isset( $_SERVER['HTTPS'] ) && $_SERVER['HTTPS'] == 'on' ) ?
'https://'.$_SERVER['SERVER_ADDR'] : 'http://'.$_SERVER['SERVER_ADDR'];
#$wgServer .= ( isset( $_SERVER['HTTPS'] ) && $_SERVER['HTTPS'] == 'on' ) ?
':8443' : ':8080';

For reference I am leaving a link to the Lighttpd bug page.

http://redmine.lighttpd.net/issues/2333

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to