Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

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

by tangent (Priest)
on Feb 09, 2018 at 01:45 UTC ( #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
Node Status?
node history
Node Type: note [id://1208770]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (7)
As of 2018-02-24 21:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    When it is dark outside I am happiest to see ...














    Results (311 votes). Check out past polls.

    Notices?