I’m running “slinger -c -e -s” on QNX 4.25 and am having trouble getting
the CGI header directive “Location” working.
eg Location: http://antenna/page_2.shtml - (as in a CGI script)
This returns an error box stating “Document contains no data”.
page_2.shtml is a file that does exist and that will load into Netscape
correctly when served by slinger over a LAN.
Are there any other setting required to make the CGI script below work?
#include <stdio.h>
int main()
{
printf(“Location: http://antenna/usr/local/web/page_2.shtml\n\n”);
return(0);
}