I wasn't sure where to stick this thread, so when in doubt...
I've setup the newest version of Apache Server and newest version of Active Perl on a Windows XP computer.
CGI/Perl scripts execute fine via the server, but it refuses to display the output in the browser. Instead, Apache insists on delivering the output as a downloadable file.
Now, the neat thing is, the file contains the exact output that would have been displayed in the browser (if it were working correctly). So, a perl script like this:
Gives me a downloadable text file that says "Hello?". The scripts do indeed work properly, their output is just getting downloaded instead of displayed.
I've included my config file so any of your who are knowledgable about this can look at it and tell me what I'm doing wrong.
Are there any suggestions to fix this?
I've setup the newest version of Apache Server and newest version of Active Perl on a Windows XP computer.
CGI/Perl scripts execute fine via the server, but it refuses to display the output in the browser. Instead, Apache insists on delivering the output as a downloadable file.
Now, the neat thing is, the file contains the exact output that would have been displayed in the browser (if it were working correctly). So, a perl script like this:
#!perl
print "Content-type: text/plain\n\n";
print "Hello?";
Gives me a downloadable text file that says "Hello?". The scripts do indeed work properly, their output is just getting downloaded instead of displayed.
I've included my config file so any of your who are knowledgable about this can look at it and tell me what I'm doing wrong.
Are there any suggestions to fix this?