leiavoia Posted November 30, 2002 Posted November 30, 2002 I'm setting up my site before i transfer the domain name over from my current host and i want to make sure everything works the way it is supposed to . I cannot however, get any CGI scripts working. Permission are set to 755 on all scripts and the path to perl is correct. Does CGI and perl not work on sites that do not have the domain name transferred yet? test script: (should print "It Works!") http://66.246.35.30/~leiavoia/cgi-bin/test.cgi script ------------------- #!/usr/bin/perl print "Content-Type: text/html\n\n"; print "It Works!"; exit; -------------------------- Any thoughts? Quote
Lianna Posted November 30, 2002 Posted November 30, 2002 Did you try no tilde (~) before the name? Lianna Quote
leiavoia Posted November 30, 2002 Author Posted November 30, 2002 No, but i just did per your suggestion. no go. It's not a 404 File Not Found, it a 500 Internal Server Error. The script is there but not functional for some odd reason. I'm not new at this scripting biz, so everything i know says it should work. Quote
Lianna Posted November 30, 2002 Posted November 30, 2002 Hmmm. I'm not a scripting kind of person. Lianna Quote
Lianna Posted November 30, 2002 Posted November 30, 2002 If it makes you feel better, I have eliminated the domain name replication as a cause. I just copied your script to my cgi-bin and same error occurs. http://www.stoverdatasystems.com/cgi-bin/test.cgi Lianna Quote
leiavoia Posted December 1, 2002 Author Posted December 1, 2002 OK - found what's going on. i need to run a script that needs a perl module not installed on the system: "DB_File" (Berkeley Database) how can i get this installed? Quote
mountaindew Posted December 1, 2002 Posted December 1, 2002 Hi - To see if the guys will install it submit a help desk ticket. Happy Holidays! Quote
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.