Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Re: Perl script shows source code

by Joost (Canon)
on Oct 27, 2007 at 14:56 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://647582]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (1)
As of 2024-04-24 15:36 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found