IFeelStupid Posted January 20, 2017 Share Posted January 20, 2017 Hello, my username is feeldumb. I am trying to get my 4 websites from Stevie working on Tommy. I wrote a test perl program called "hello.pl" Here it is;#!/usr/bin/perluse cPanelUserConfig;# hello.pl - My first CGI programprint "Content-Type: text/html\n\n";# Note there is a newline between # this header and Data# Simple HTML code followsprint "<html> <head>\n";print "<title>Hello, world!</title>";print "</head>\n";print "<body>\n";print "<h1>Hello, world!</h1>\n";print "</body> </html>\n";I put this in in /home/feeldumb/entiaacctg/www, which is the root for entiaacctg.tk. I set its permissions to 755. When I enter http://entiaacctg.tk/hello.pl it works just fine, great. So I copied the file to /home/feeldumb/honeywebph/www, which is root for honeywebph.tk Checked permissions 755 But when I enter http://honeywebph.tk/hello.pl I get Internal Server Error. Anyone have any idea what I am doing wrong? Quote Link to comment Share on other sites More sharing options...
Krydos Posted January 20, 2017 Share Posted January 20, 2017 Try removing everything from the honey directory, and see if it works? Quote Link to comment Share on other sites More sharing options...
IFeelStupid Posted January 20, 2017 Author Share Posted January 20, 2017 weird, thank you, guess I put back website one file at time now Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.