The “Content-Type” header I output from my CGI script shows up in the Web browser. What gives?
You are using PerlIS as your Perl interpreter on an IIS Web server (this is set up by default by the install.bat program), but you’re not outputting an HTTP status line. See question 7.4 for details on how to fix your problem. 7.13. When I try to run a CGI script from my browser, it tries to download a file of type “application/x-perl” instead. What gives? Your Web server has been misconfigured. It doesn’t know that it should execute your Perl program, so it’s just returning it to the browser. See section 6 of this document for details on how to configure your particular Web server to know that Perl scripts should be executed.
Related Questions
- If I use an auto-configuration script in my client Internet Explorer web browser, I cannot get to the login page of the ProCurve 700wl product. Why?
- What is Stealth Redirection, and what shows up in my browsers location bar when using web forwarding?
- The "Content-Type" header I output from my CGI script shows up in the Web browser. What gives?