n2access Posted January 21, 2003 Posted January 21, 2003 I need to add a "whois" cgi script to my web site. The instructions can be found at: http://webmasterschoice.com/support2/addon...p/cgilib/whois/ Trouble is, I use Front Page, I'm not a "real" webmaster and I can't follow the instructions on telneting in to the server to add the cgi script. Here is part of the instructions: a. Telnet or SSH to your Virtual Server. b. change directories to your home directory (type "cd" and hit return) c. type "tar -xvf /usr/local/contrib/whois.tar" This will install the query.pl and util.pl files into your "www/cgi-bin/library/whois" directory. How do I telnet in? How do I navigate to the right directory? Thanks. Jerry Presley Quote
rayners Posted January 21, 2003 Posted January 21, 2003 Okay, here's what you can do: 1. Download the file yourself. 2. Login to your CPanel 3. Click on the File Manager link 4. Click the folder icon next to your 'www' directory 5. Click the upload file link the top, and proceed to upload the file. 6. The filename should then show up in the File Manager window 7. Click on the name of the file, and then click on the 'Extract File Contents' link in the upper right 8. And you're now done. Double-check by clicking on the folder icon next to your cgi-bin directory, and then on the icon next to the library directory (if it's not there, something went wrong). You should see a file called whois.pl there. If not, then something went wrong. 9. If everything is okay, go back to your 'www' directory and delete the file you uploaded. And that's it. Quote
n2access Posted January 21, 2003 Author Posted January 21, 2003 Thanks, but it didn't work. I actually don't have a file to upload. The instructions say to type: "tar -xvf /usr/local/contrib/whois.tar" in the "home directory" and this will magically "install the query.pl and util.pl files into your www/cgi-bin/library/whois directory. " I'm still stumped how to telnet in... or is there another way to get this done? Thanks again, Jerry Quote
Lianna Posted January 21, 2003 Posted January 21, 2003 Their page is messed up, not you. They provide a link for getting the download, but the link only goes to their whois example form, not a downloadable file. Download the Query FormYou will need to download the Query Form HTML source and store it somewhere contains a link to: http://webmasterschoice.com/support2/addon.../docs/query.txt See? No download available. You have to have that download file in order to go any further. IE: No download? No can do, telnet, filemanager or otherwise. If the download were available, you can forget about all that telnet stuff and just follow the directions that rayners gave you here. So, check with the website offering this script and explain that the download is not available via the link provided. Lianna Quote
n2access Posted January 21, 2003 Author Posted January 21, 2003 I love this forum! Thanks, Jerry Quote
n2access Posted January 22, 2003 Author Posted January 22, 2003 Okay, I found another whois script, this time in perl. Now I need to edit a line of code in one of the files: "cc_whois.cgi" file: edit the very first line of this file. Change it to point correctly to your web server's Perl interpreter. It's usually in this format: #!/usr/bin/perl or #!/usr/local/bin/perl If you are not sure about this, please verify with your web host administrator. Where's the "perl intrepreter"? I'm not giving up. Jerry Quote
KevinW Posted January 22, 2003 Posted January 22, 2003 Nota bene: Simply access CPanel for your site, and scroll down to find the path (location) for PERL and other helpful information! -kw Quote
Lianna Posted January 22, 2003 Posted January 22, 2003 n2access, I'm proud of you. Way to hang in there! Lianna Quote
Nicholas Posted January 25, 2003 Posted January 25, 2003 when dealing with alot of coding... you just have to 'hang in there' so don't fight it, if it stumps you enough just walk away for a couple hours. That will help -=o), if that doesn't work..pick your computer up and hurl it onto the front lawn Quote
Lianna Posted January 25, 2003 Posted January 25, 2003 I love it here. You people make me laugh every day! Lianna 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.