IFeelStupid Posted January 20, 2017 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?
Krydos Posted January 20, 2017 Posted January 20, 2017 Try removing everything from the honey directory, and see if it works?
IFeelStupid Posted January 20, 2017 Author Posted January 20, 2017 weird, thank you, guess I put back website one file at time now
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now