Page 1 of 1

Puzzling CGI effect

Posted: Mon 04 Feb 2013, 08:06
by taylor
attempting to set up an interactive Club Clothing order page for my cycle club I have a series of 5 perl scripts all tagged cgi.

They all are valid perl
They all write valid html
The last two post emails perfectly
All have 755 permissions

but after the 5th one has finished doing its stuff on the hosting server a dialogue box pops up in Seamonkey

"You have chosen to open orderform5.cgi which is a cgi file.
What should Seamonkey do with this file?"

I am baffled. What should I be looking for?

Posted: Mon 04 Feb 2013, 23:27
by GustavoYz
Scripts are working? can you see their results?
What does web server transfers to the browser if accept it?
What server is?

Puzzling CGI effect

Posted: Tue 05 Feb 2013, 03:52
by taylor
It is amazing what a night's sleep can do.

This morning after setting the group write bit on a couple of files that I wanted to write to and cleaning up the

Code: Select all

print "Content-type:text/html\n\n";
line everything is wonderful

thank you Gustavo

Posted: Tue 05 Feb 2013, 15:10
by GustavoYz
Sometimes is better get some distance...
:D