Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: Perl script shows source code

by Joost (Canon)
on Oct 27, 2007 at 14:56 UTC ( #647582=note: print w/replies, xml ) Need Help??


in reply to Perl script shows source code

Do you get the HTML source or the source of the script itself?

If you get the HTML source, you must make sure you send the right content-type header. If you see the perl source code, probably either the script's file extension is wrong (or at least, your webserver doesn't recognize it as a cgi script) or your webserver does not have execute rights to the script.

Take a look at the server's error log.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://647582]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (2)
As of 2021-01-20 02:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Notices?