diff options
author | Joey Hess <joey@kitenet.net> | 2011-01-05 16:08:21 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2011-01-05 16:08:21 -0400 |
commit | 4dbb8120f760d9009f0c2639f2ccb9808150aed5 (patch) | |
tree | b05eec39b36792b0a0b0119549e3b11d7c8da786 /IkiWiki | |
parent | c11b1226cae155cbffc4c198470a9b59083e8c3e (diff) | |
download | ikiwiki-4dbb8120f760d9009f0c2639f2ccb9808150aed5.tar ikiwiki-4dbb8120f760d9009f0c2639f2ccb9808150aed5.tar.gz |
Export three cgi env vars needed for CGI->url to work.
Diffstat (limited to 'IkiWiki')
-rw-r--r-- | IkiWiki/Wrapper.pm | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/IkiWiki/Wrapper.pm b/IkiWiki/Wrapper.pm index 5eb96f4ae..84cc7540b 100644 --- a/IkiWiki/Wrapper.pm +++ b/IkiWiki/Wrapper.pm @@ -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) { |