Index: lib/setuplib.php
===================================================================
RCS file: /cvsroot/moodle/moodle/lib/setuplib.php,v
retrieving revision 1.69
diff -r1.69 setuplib.php
485a486,491
>     } else if (stripos($_SERVER['SERVER_SOFTWARE'], 'cherokee') !== false) {
>         //lighttpd
>         $rurl['scheme']   = ($_SERVER['HTTPS'] == 'off') ? 'http' : 'https';
>         $rurl['fullpath'] = $_SERVER['REQUEST_URI']; // TODO: verify this is always properly encoded
> 
> 
