Re: CGI displays contents of script



On Jul 31, 2:38 pm, jackson_sam...@xxxxxxxxxxx wrote:
I have installed perl 5.8.8 which already has the CGI included in it.
I created a small test script that uses the CGI.pm. When I run the
following in my browser, it shows me the entire script and does not
execute the script. Does anyone know why this happens?

Here is my output from the web browser:

#!/usr/bin/perl use CGI; print "Content-type: text/plain\n\n"; print
"TEST";

Because your web server is configured to display .cgi scripts rather
than execute them. This has nothing to do with Perl and everything to
do with web server configuration. You will get better assistance from
a group that talks about web server configurations.

Paul Lalli

.



Relevant Pages

  • Re: Web Help
    ... And save it as "certificate.php" on your web server. ... do to get around the limitations with IWP reports is to build your own. ... and the "Go to URL" script step. ... Printing from the web is not the best as you can not compress ...
    (comp.databases.filemaker)
  • Script using dll and ocx (to integrate in IIS )
    ... I have a script for an Motion Jpeg that I have to integrate into a website ... to get a "live Image" from a network camera. ... But in this script I have to install a dll and an oxc on my ... Create a Web Server alias and use this as the image ...
    (microsoft.public.inetserver.iis.ftp)
  • Sript using a dll an a ocx (to intigrate in IIS)
    ... I have a script for an Motion Jpeg that I have to integrate into a website ... to get a "live Image" from a network camera. ... But in this script I have to install a dll and an oxc on my ... Create a Web Server alias and use this as the image ...
    (microsoft.public.inetserver.iis)
  • Re: shorten time to attempt to connect to back end
    ... Is it not the case that the web server could be written in any ... The script on that web server could be ASP, ... I'm not sure why the dependency on IE is needed. ... FTP script to upload data, and then called a CGI script on that web ...
    (comp.databases.ms-access)
  • Re: checking a thread has started
    ... The shebang line doesn't control how the web server starts the ... script, so that doesn't tell us anything. ... What do you mean "runs as a local user"? ... That's not what StartServers means according to the Apache ...
    (comp.lang.python)