Path To Perl?

liunx

Guest
Hello,<br />Getting ready to install some cgi's and need to know the path to Perl on your web server.<br />Is it: <br />#!/usr/bin/perl<br />or<br />#!/usr/local/bin/perl<br />??<br /><br />Please let me know....thanks.<!--content-->
/usr/bin/perl has been working just fine for me.<!--content-->
Thanks....i just saw it in cpanel and you already answered me on the forum <img src="http://www.totalchoicehosting.com/forums/style_emoticons/default/rolleyes.gif" style="vertical-align:middle" emoid=":rolleyes:" border="0" alt="rolleyes.gif" /> .<br /><br />Thanks!<!--content-->
Ok. Having a little trouble executing a test .cgi script. I get:<br /><br />Forbidden<br />You don't have permission to access /hello.cgi on this server.<br /><br />Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request. <br />--------------------------------------------------------------------------------<br />Apache/1.3.27 Server at server6.***** Port 80<br /><br /><br /><b>The script is:</b><br />#!/usr/bin/perl<br /><br /># Alert! The web server is *NOT* processing the script if you can read this line.<br /><br />print "Content-type: text/html\n\n";<br />print "Hello world from PERL $]\n";<br /><br />print "<p>.cgi scripts are mapped to Perl.";<br /><br /><br /><!--coloro:blue--><span style="color:blue"><!--/coloro--><b>Can you help?</b><!--colorc--></span><!--/colorc--> <br />I need to figure out what's up before i can bring over our bulletin board. The permissions are set correctly.<br />To test type: <a href="http://66.246.43.132/hello.cgi" target="_blank">http://66.246.43.132/hello.cgi</a><br /><br />Maybe it's the same as this: <a href="http://forums.*****/index.php?act=ST&f=26&t=187&hl=cgi" target="_blank">http://forums.*****/index.p...3c8a22e5928d606</a><br /><br /><br />Let me know....thanks<!--content-->
Little more info...<br />It's in the cgi-bin folder that was already there and the permission is 755<!--content-->
John<br /><br />Is that a dedicated IP address or no?<!--content-->
It's the one i got in my email telling me my account is active:<br /><br /><a href="http://66.246.43.132/~john" target="_blank">http://66.246.43.132/~john</a><br /><br />I need to use the above before i change the current DNS.<!--content-->
Yup thats what i thought.<br /><br />You cant run perl using a shared IP address. It just wont work until your DNS propogates. Or you can order an Dedicated IP.<!--content-->
I tried putting it IN the public_html folder rather than under it and now i get the following when i enter <a href="http://66.246.43.132/~john/cgi-bin/hello.cgi" target="_blank">http://66.246.43.132/~john/cgi-bin/hello.cgi</a> rather than <a href="http://66.246.43.132/hello.cgi" target="_blank">http://66.246.43.132/hello.cgi</a>.<br /><br /><br /><b>Internal Server Error<br />The server encountered an internal error or misconfiguration and was unable to complete your request.<br />Please contact the server administrator, <!-- e --><a href="mailto:[email protected]">[email protected]</a><!-- e --> and inform them of the time the error occurred, and anything you might have done that may have caused the error.<br /><br />More information about this error may be available in the server error log.<br /><br /><br />Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request. <br /></b><br />I'm just a liiiiittttlllleeee scared that our board won't work:).<br /><br />Would you happen to know if anyone is running Infopops UBB (Classic version 5.xx or 6.xx) on any of your shared servers?<!--content-->
Hmmm sorry i dont know<br /><br />give me your domain name and I will throw a dedicated IP on it for you to test things out.<!--content-->
Domain name is americanraceway.com . Not sure if it matters but it already exists out there....didn't transfer yet:).<br /><br />Thank You!<!--content-->
<a href="http://66.246.43.133/" target="_blank">http://66.246.43.133/</a><br /><br />There ya go<br /><br />Please advise when your done testing, as we need the IP back.<br /><br />This "should" allow you to test your cgi-bin<br /><br />talk about support, damn I rock!<!--content-->
Not conceited, just convinced.<br />Yep, you rock...and so does everybody else at SNH! <br /><br />So there's my Christmas gift to each and every ego there.<br /><br /><sniff> Is that testosterone I smell?<br /><br /> <img src="http://www.totalchoicehosting.com/forums/style_emoticons/default/laugh.gif" style="vertical-align:middle" emoid=":lol:" border="0" alt="laugh.gif" /> <img src="http://www.totalchoicehosting.com/forums/style_emoticons/default/laugh.gif" style="vertical-align:middle" emoid=":lol:" border="0" alt="laugh.gif" /> <br /><br />Lianna<!--content-->
Ayman,<br /><br />John shouldnt need a DEDIP to do a test.<br /><br />I have Alan Ho, our lead System Admin, looking into this issue right now.<br />We should have an answer in a few.<br /><br />Bill<!--content-->
Before i start uploading the software.... is it "ok" to use the cgi-bin folder UNDER the public_html folder? Or should i use the one "in" the public_html folder? Actually there's 2 "in" the public folder: cgi-bin & scgi-bin.<br /><br />Thx again.<!--content-->
Hi John,<br /><br />I am still looking into the problem. Please upload all .cgi scripts into the cgi-bin within the public_html folder, don't forget to chmod them 755. As soon as I find a fix for the problem you will be updated here. I do apologize for the long delay in fixing this problem.<br /><br />Regards,<br />Alan<!--content-->
Alan, it's working 100% perfectly.<br />Not sure what you did but it works...Thanks to all involved.<br /><br />I'll be transferring the dns tomorrow to SN:).<br /><br />Thumbs UP to this Company & the Employees!<br /><br />JohnG<!--content-->
No problem... I was actually still testing, but then I saw the hello.cgi file disappear as you delete it and upload your own folders/files <img src="http://www.totalchoicehosting.com/forums/style_emoticons/default/smile.gif" style="vertical-align:middle" emoid=":)" border="0" alt="smile.gif" />. If the CGI files don't work in the cgi-bin, they will work in the scgi-bin folder.<br /><br />Regards,<br />Alan<!--content-->
Sorry about that Alan:( I know when i'm testing and people do that i email them the finger <img src="http://www.totalchoicehosting.com/forums/style_emoticons/default/tongue.gif" style="vertical-align:middle" emoid=":P" border="0" alt="tongue.gif" /> .<br /><br />Thanks again all!<br /><br />JohnG<!--content-->
Ayman,<br />Would it be possible to keep this IP (<!-- m --><a class="postlink" href="http://66.246.43.133/">http://66.246.43.133/</a><!-- m -->) until the name is propagated? I put the request in this morning to my current registrar. I would like to have users start using the BB on your host rather than the old and i can forward the "old" to the "new" with that IP. If not i will need to copy all the new messages/users to your server once pointed here.<br /><br />Let me know and thanks again.<br />JohnG<!--content-->
yep, just please let us know when your DNS has proped<br /><br /><img src="http://www.totalchoicehosting.com/forums/style_emoticons/default/smile.gif" style="vertical-align:middle" emoid=":)" border="0" alt="smile.gif" /> <img src="http://www.totalchoicehosting.com/forums/style_emoticons/default/smile.gif" style="vertical-align:middle" emoid=":)" border="0" alt="smile.gif" /><!--content-->
when i type in americanraceway.com it is pointing to your server now so i "guess" it's propped? Does it take awhile to "go around the world"?<br /><br />If not...i'm done with the ip and i THANK YOU again!<!--content-->
It can take 72 hours for props to complete.<br /><br />Why don't you hang on to the IP till next week, then remind us. Be on the safe side that way.<br /><br />Take care and oh by the way. Welcome to the family!<!--content-->
 
Back
Top