View Single Post
Old 01-29-2005, 07:58 PM   #1 (permalink)
JohnnyRoyale
Psycho
 
Location: Boston, MAss., USA
[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.
JohnnyRoyale is offline  
 

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76