adding a whois query

liunx

Guest
I need to add a "whois" cgi script to my web site. The instructions can be found at: <br /><a href="http://webmasterschoice.com/support2/addonhelp/cgilib/whois/" target="_blank">http://webmasterschoice.com/support2/addon...p/cgilib/whois/</a><br /><br />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: <br /><br />a. Telnet or SSH to your Virtual Server.<br /><br />b. change directories to your home directory (type "cd" and hit return)<br /><br />c. type "tar -xvf /usr/local/contrib/whois.tar"<br />This will install the query.pl and util.pl files into your "www/cgi-bin/library/whois" directory. <br /><br />How do I telnet in? <br />How do I navigate to the right directory?<br /><br />Thanks.<br /><br />Jerry Presley<!--content-->
Okay, here's what you can do:<br /><br />1. Download the file yourself.<br />2. Login to your CPanel<br />3. Click on the File Manager link<br />4. Click the folder icon next to your 'www' directory<br />5. Click the upload file link the top, and proceed to upload the file.<br />6. The filename should then show up in the File Manager window<br />7. Click on the name of the file, and then click on the 'Extract File Contents' link in the upper right<br />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.<br />9. If everything is okay, go back to your 'www' directory and delete the file you uploaded.<br /><br />And that's it. <img src="http://www.totalchoicehosting.com/forums/style_emoticons/default/smile.gif" style="vertical-align:middle" emoid=":)" border="0" alt="smile.gif" /><!--content-->
Thanks, but it didn't work. I actually don't have a file to upload. The instructions say to type: <br />"tar -xvf /usr/local/contrib/whois.tar"<br />in the "home directory" and this will magically "install the query.pl and util.pl files into your www/cgi-bin/library/whois directory. "<br /><br />I'm still stumped how to telnet in... or is there another way to get this done?<br /><br />Thanks again,<br /><br />Jerry<!--content-->
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.<br /><br /><!--quoteo--><div class='quotetop'>QUOTE</div><div class='quotemain'><!--quotec-->Download the Query Form<br />You will need to download the Query Form HTML source and store it somewhere<!--QuoteEnd--></div><!--QuoteEEnd--> contains a link to:<br /><br /><a href="http://webmasterschoice.com/support2/addonhelp/cgilib/whois/docs/query.txt" target="_blank">http://webmasterschoice.com/support2/addon.../docs/query.txt</a><br /><br />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.<br /><br />If the download were available, you can forget about all that telnet stuff and just follow the directions that rayners gave you here.<br /><br />So, check with the website offering this script and explain that the download is not available via the link provided.<br /><br />Lianna<!--content-->
I love this forum!<br /><br />Thanks,<br /><br />Jerry<!--content-->
I love it too! <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 />You're welcome.<br /><br />Lianna<!--content-->
Okay, I found another whois script, this time in perl. Now I need to edit a line of code in one of the files: <br /> <br />"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: <br />#!/usr/bin/perl or <br />#!/usr/local/bin/perl <br />If you are not sure about this, please verify with your web host administrator. <br /><br />Where's the "perl intrepreter"?<br /><br />I'm not giving up.<br /><br />Jerry<!--content-->
#!/usr/bin/perl<br /><br />is what you want. <img src="http://www.totalchoicehosting.com/forums/style_emoticons/default/smile.gif" style="vertical-align:middle" emoid=":)" border="0" alt="smile.gif" /><!--content-->
Nota bene: <br /><br />Simply access CPanel for your site, and scroll down to find the path (location) for PERL and other helpful information!<br /><br />-kw<!--content-->
n2access,<br /><br />I'm proud of you. Way to hang in there!<br /><br />Lianna <img src="http://www.totalchoicehosting.com/forums/style_emoticons/default/smile.gif" style="vertical-align:middle" emoid=":)" border="0" alt="smile.gif" /><!--content-->
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<!--content-->
Yea and let your dog pee on it.<br /> <img src="http://www.totalchoicehosting.com/forums/style_emoticons/default/tongue.gif" style="vertical-align:middle" emoid=":p" border="0" alt="tongue.gif" /><!--content-->
I love it here. You people make me laugh every day!<br /><br />Lianna<!--content-->
 
Top