Jump to content

Recommended Posts

Posted

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

Posted

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. :D

Posted

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

Posted

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 Form

You 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

Posted

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

Posted

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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...