john Posted December 14, 2002 Posted December 14, 2002 Hello, Getting ready to install some cgi's and need to know the path to Perl on your web server. Is it: #!/usr/bin/perl or #!/usr/local/bin/perl ?? Please let me know....thanks. Quote
rayners Posted December 14, 2002 Posted December 14, 2002 /usr/bin/perl has been working just fine for me. Quote
john Posted December 14, 2002 Author Posted December 14, 2002 Thanks....i just saw it in cpanel and you already answered me on the forum . Thanks! Quote
john Posted December 16, 2002 Author Posted December 16, 2002 Ok. Having a little trouble executing a test .cgi script. I get: Forbidden You don't have permission to access /hello.cgi on this server. Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request. -------------------------------------------------------------------------------- Apache/1.3.27 Server at server6.***** Port 80 The script is: #!/usr/bin/perl # Alert! The web server is *NOT* processing the script if you can read this line. print "Content-type: text/html\n\n"; print "Hello world from PERL $]\n"; print "<p>.cgi scripts are mapped to Perl."; Can you help? I need to figure out what's up before i can bring over our bulletin board. The permissions are set correctly. To test type: http://66.246.43.132/hello.cgi Maybe it's the same as this: http://forums.*****/index.p...3c8a22e5928d606 Let me know....thanks Quote
john Posted December 16, 2002 Author Posted December 16, 2002 Little more info... It's in the cgi-bin folder that was already there and the permission is 755 Quote
Ayman_ Posted December 16, 2002 Posted December 16, 2002 John Is that a dedicated IP address or no? Quote
john Posted December 16, 2002 Author Posted December 16, 2002 It's the one i got in my email telling me my account is active: http://66.246.43.132/~john I need to use the above before i change the current DNS. Quote
Ayman_ Posted December 16, 2002 Posted December 16, 2002 Yup thats what i thought. You cant run perl using a shared IP address. It just wont work until your DNS propogates. Or you can order an Dedicated IP. Quote
john Posted December 16, 2002 Author Posted December 16, 2002 I tried putting it IN the public_html folder rather than under it and now i get the following when i enter http://66.246.43.132/~john/cgi-bin/hello.cgi rather than http://66.246.43.132/hello.cgi. Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator, root@server4.dedicatednow.com and inform them of the time the error occurred, and anything you might have done that may have caused the error. More information about this error may be available in the server error log. Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request. I'm just a liiiiittttlllleeee scared that our board won't work:). Would you happen to know if anyone is running Infopops UBB (Classic version 5.xx or 6.xx) on any of your shared servers? Quote
Ayman_ Posted December 16, 2002 Posted December 16, 2002 Hmmm sorry i dont know give me your domain name and I will throw a dedicated IP on it for you to test things out. Quote
john Posted December 16, 2002 Author Posted December 16, 2002 Domain name is americanraceway.com . Not sure if it matters but it already exists out there....didn't transfer yet:). Thank You! Quote
Ayman_ Posted December 16, 2002 Posted December 16, 2002 http://66.246.43.133/ There ya go Please advise when your done testing, as we need the IP back. This "should" allow you to test your cgi-bin talk about support, damn I rock! Quote
Lianna Posted December 16, 2002 Posted December 16, 2002 Not conceited, just convinced. Yep, you rock...and so does everybody else at SNH! So there's my Christmas gift to each and every ego there. <sniff> Is that testosterone I smell? Lianna Quote
Head Guru Posted December 16, 2002 Posted December 16, 2002 Ayman, John shouldnt need a DEDIP to do a test. I have Alan Ho, our lead System Admin, looking into this issue right now. We should have an answer in a few. Bill Quote
john Posted December 16, 2002 Author Posted December 16, 2002 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. Thx again. Quote
TCH-Alan Posted December 16, 2002 Posted December 16, 2002 Hi John, 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. Regards, Alan Quote
john Posted December 17, 2002 Author Posted December 17, 2002 Alan, it's working 100% perfectly. Not sure what you did but it works...Thanks to all involved. I'll be transferring the dns tomorrow to SN:). Thumbs UP to this Company & the Employees! JohnG Quote
TCH-Alan Posted December 17, 2002 Posted December 17, 2002 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 . If the CGI files don't work in the cgi-bin, they will work in the scgi-bin folder. Regards, Alan Quote
john Posted December 17, 2002 Author Posted December 17, 2002 Sorry about that Alan:( I know when i'm testing and people do that i email them the finger . Thanks again all! JohnG Quote
john Posted December 17, 2002 Author Posted December 17, 2002 Ayman, Would it be possible to keep this IP (http://66.246.43.133/) 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. Let me know and thanks again. JohnG Quote
mountaindew Posted December 17, 2002 Posted December 17, 2002 yep, just please let us know when your DNS has proped :lol: Quote
john Posted December 18, 2002 Author Posted December 18, 2002 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"? If not...i'm done with the ip and i THANK YOU again! Quote
Head Guru Posted December 18, 2002 Posted December 18, 2002 It can take 72 hours for props to complete. Why don't you hang on to the IP till next week, then remind us. Be on the safe side that way. Take care and oh by the way. Welcome to the family! 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.