]> sipb.mit.edu Git - ikiwiki.git/blobdiff - IkiWiki/Wrapper.pm
Export three cgi env vars needed for CGI->url to work.
[ikiwiki.git] / IkiWiki / Wrapper.pm
index 5eb96f4ae0d168598fe9d6a54a644294fbcb517a..84cc7540bbfa5e63b8d9d85d21cc0b0d63bbb478 100644 (file)
@@ -49,6 +49,7 @@ sub gen_wrapper () {
        push @envsave, qw{REMOTE_ADDR QUERY_STRING REQUEST_METHOD REQUEST_URI
                       CONTENT_TYPE CONTENT_LENGTH GATEWAY_INTERFACE
                       HTTP_COOKIE REMOTE_USER HTTPS REDIRECT_STATUS
+                      HTTP_HOST SERVER_PORT HTTPS
                       REDIRECT_URL} if $config{cgi};
        my $envsave="";
        foreach my $var (@envsave) {