[wellylug] cgi question
jfouhy at paradise.net.nz
jfouhy at paradise.net.nz
Fri Aug 27 10:06:57 NZST 2004
Quoting Mark Signal <mark at databackup.co.nz>:
> I redirected the rsync output via tee
>
> eg was rsync > $log
> now rsync | tee $log
>
> and the backup works but apache generates a 500 internal server error.
>
> I'm obviously missing something obvious here
I'm joining the conversation late, so this may have already been mentioned (or
it may be something you already know) ---
but make sure the first thing your CGI produces is "Content-type: text/html\n\n"
or "Content-type: text/plain\n\n".
--
John.
More information about the wellylug
mailing list