Cgi Running Before Domain Gets Transferred?

liunx

Guest
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?<br /><br />test script: (should print "It Works!")<br /><br /><a href="http://66.246.35.30/~leiavoia/cgi-bin/test.cgi" target="_blank">http://66.246.35.30/~leiavoia/cgi-bin/test.cgi</a><br /><br />script -------------------<br />#!/usr/bin/perl<br /><br />print "Content-Type: text/html\n\n";<br />print "It Works!";<br /><br />exit;<br />--------------------------<br /><br />Any thoughts?<!--content-->
Did you try no tilde (~) before the name?<br /><br />Lianna<!--content-->
No, but i just did per your suggestion. no go.<br /><br />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.<!--content-->
Hmmm. I'm not a scripting kind of person.<br /><br />Lianna<!--content-->
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.<br /><br /><a href="http://www.stoverdatasystems.com/cgi-bin/test.cgi" target="_blank">http://www.stoverdatasystems.com/cgi-bin/test.cgi</a><br /><br />Lianna<!--content-->
OK - found what's going on. <br /><br />i need to run a script that needs a perl module not installed on the system:<br /><br />"DB_File" (Berkeley Database)<br /><br />how can i get this installed?<!--content-->
Hi -<br /><br />To see if the guys will install it submit a help desk ticket.<br /><br />Happy Holidays!<!--content-->
 
Top