Howdie folks.

I am currently working on a project at my college setting up a "Capture the Flag" Exercise for a professor.

Right now I am having difficulty accessing a CGI script in Apache that is supposed to work with the "getflag" script in order to... well... get the flag.

The cgi script that is supposed to be used is this...

Currently I'm trying to test this out via a web browser by typing in the following address. (After the IP Address)


The web browser gives me a "Server error!" message.
Below that the following slightly more specific error message is displayed.

"Error message:
Premature end of script headers:getflag"

I would greatly appreciate any ideas / help anyone would be able to offer.
Thank you.