--- LocalSite.cfg.SAV 2007-04-27 02:51:22.316650047 +0200 +++ LocalSite.cfg 2007-04-27 02:54:12.008244225 +0200 @@ -1,7 +1,7 @@ # Local site settings for TWiki. This file is managed by the 'configure' # CGI script, though you can also make (careful!) manual changes with a # text editor. -$TWiki::cfg{DefaultUrlHost} = 'https://HOSTNAME'; +$TWiki::cfg{DefaultUrlHost} = ( defined($ENV{HTTPS}) && $ENV{HTTPS} eq 'on' ? 'https://HOSTNAME' : 'http://HOSTNAME' ); $TWiki::cfg{ScriptUrlPath} = ''; $TWiki::cfg{ScriptUrlPaths}{view} = ''; $TWiki::cfg{PubUrlPath} = '/pub';