Re: CGI displays contents of script
- From: Paul Lalli <mritty@xxxxxxxxx>
- Date: Tue, 31 Jul 2007 11:43:44 -0700
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
.
- Follow-Ups:
- Re: CGI displays contents of script
- From: jackson_samson
- Re: CGI displays contents of script
- References:
- CGI displays contents of script
- From: jackson_samson
- CGI displays contents of script
- Prev by Date: Re: Using DBI, better option than importing into @array
- Next by Date: Re: How do you continue in a for loop?
- Previous by thread: CGI displays contents of script
- Next by thread: Re: CGI displays contents of script
- Index(es):
Relevant Pages
|