Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

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

by tangent (Vicar)
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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1208770]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (3)
As of 2022-05-17 16:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you prefer to work remotely?



    Results (68 votes). Check out past polls.

    Notices?