3 using Debian Wheezy and ikiwiki 3.20120629 for some reason when accessing the site using HTTP (and not HTTPS), going to Edit, so executing the CGI script, all URLs are prepended with HTTPS, which I do not want.
5 <base href="https://www.example.org/" />
7 Trying to look at the source, I guess it is originating from `IkiWiki/CGI.pm`.
12 if (($ENV{HTTPS} && lc $ENV{HTTPS} ne "off") || $config{sslcookie}) {
13 print $session->header(-charset => 'utf-8',
14 -cookie => $session->cookie(-httponly => 1, -secure => 1));
17 print $session->header(-charset => 'utf-8',
18 -cookie => $session->cookie(-httponly => 1));
22 Does it check if HTTPS is enabled in the environment? During `ikiwiki --setup example.setup` or when the CGI script is run when the site is accessed (for example in an Apache environment)?
24 Can this somehow be disabled in ikiwiki. Reading the code I guess I could somehow set `HTTPS = off` somewhere in the `VirtualHost` section of the Apache configuration.