--- docman.php 2000/10/10 14:32:07 1.24 +++ docman.php 2000/12/21 08:25:06 1.26 @@ -641,9 +641,9 @@ $self = $GLOBALS["PHP_SELF"] ; if (isset($GLOBALS["HTTPS"]) && $GLOBALS["HTTPS"] == "on") { - $webRoot = "https://" . $GLOBALS["SERVER_NAME"] ; + $webRoot = "https://" . $GLOBALS["HTTP_HOST"] ; } else { - $webRoot = "http://" . $GLOBALS["SERVER_NAME"] ; + $webRoot = "http://" . $GLOBALS["HTTP_HOST"] ; } $fsDir = $fsRoot . $relDir . "/" ; // current directory @@ -820,7 +820,13 @@ +