diff options
author | http://seanh.myopenid.com/ <http://seanh.myopenid.com/@web> | 2009-10-15 11:54:59 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2009-10-15 11:54:59 -0400 |
commit | 4c3264cd46e48e3b3327e5b02689ad2eba6a53b9 (patch) | |
tree | a27ce6ceed757720c0ea62333f89402a983b4755 /doc | |
parent | 143e2de17d084db00487ee4db67b7b0131ccc441 (diff) |
Diffstat (limited to 'doc')
-rw-r--r-- | doc/forum/Ikiwiki_CGI_not_working_on_my_server__44___and_it__39__s_a_binary_file__63__.mdwn | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/forum/Ikiwiki_CGI_not_working_on_my_server__44___and_it__39__s_a_binary_file__63__.mdwn b/doc/forum/Ikiwiki_CGI_not_working_on_my_server__44___and_it__39__s_a_binary_file__63__.mdwn new file mode 100644 index 000000000..a3cb0ae0b --- /dev/null +++ b/doc/forum/Ikiwiki_CGI_not_working_on_my_server__44___and_it__39__s_a_binary_file__63__.mdwn @@ -0,0 +1,5 @@ +Hey, trying to get ikiwiki working on my account on a shared webserver. Actually installing ikiwiki on the server is phase 2. For now I'm running the latest ikiwiki (from source) locally, compiling the output with the ikiwiki command, then rsyncing the output dir up to the server. This works for the static HTML files, but the CGI file doesn't work, the server redirects to an error page. The error log on the server says "Premature end of script headers: /path/to/ikiwiki.cgi" + +My first thought was that this is a Perl CGI and I would need to change the shebang to point to the unusual location of Perl on this server, it's at /usr/pkg/bin/perl. But when I looked at ikiwiki.cgi I found it was a binary file. + +Why is it a binary? And what can I do about this error? |