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

Re^2: Please Save Me From Insanity!!!

by tangent (Parson)
on Feb 09, 2018 at 01:45 UTC ( [id://1208770]=note: print w/replies, xml ) Need Help??


in reply to Re: Please Save Me From Insanity!!!
in thread Please Save Me From Insanity!!!

Should be:
#!/usr/bin/perl print "Content-type: text/html\n\n"; print "NOTHING TO SEE HERE!\n";
If you don't print the header you will get the '500 Internal Server Error'

Also, what Hostgator support are saying about the PHP file is rubbish, but if you do want to test it then put just this in your index.php:

<?php echo '<p>Hello World From the PHP File</p>'; ?>
The first line of the PHP must contain <?php ...

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (6)
As of 2024-04-23 13:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found