[Perl] CGI not rendering in Mozilla
Here's the deal;
I'm writing a website, and it has a CGI page that's rendered from a PERL script. Nothing fancy, a user clicks a few buttons on a form, hits submit, and the script reads the submission & provides responses based on the answers provided.
The problem is: I wanted to double check the page against a variety of browsers, and when I ran it against a copy of Mozilla 1.6, instead of rendering the output as HTML, it asked what to do with the file (save it, etc..). There's no pre-set MIME type for files with .cgi extention, which is my first guess as to what's happening, but I wanted to double check that there's not some problem with Mozilla rendering CGI output as HTML, or that I need something special in the PERL script to "convince" the Mozilla borswers that what they're getting is html. Anyone have any thoughts?
Thanks in advance.
__________________
I'm gonna be rich and famous, as soon I invent a device that lets you stab people in the face over the internet.
|