WhoIs Quesation - Question about configuring cdfree.pl
Hello everyone, I'd appreciate a bit of help configuring cdfree, as I'm useless in perl. Here's my problem:
Whenever I run the script from telnet, it works perfectly, but when I run it from my browser, it returns an Internal Server Error (500). I'm not sure what to do, and I really suck at perl Here's a blurb from the readme that may help you help me
Place the cdfree.pl file in your /cgi-bin directory or equivalent. Make
sure your web server or your NT operating system knows to launch your
version of Perl when it sees a .pl extension. UNIX people need to set the
file to be executable (chmod +x) and MAKE SURE THE TOP LINE OF THE SCRIPT
POINTS TO THE LOCATION OF PERL5.
The HTML files contained in this distribution are OPTIONAL and included
only as examples. CdomainFree prints its own forms.
When you are ready to try CdomainFree, simply call it and it will print
a lookup form. If you have any problems calling CdomainFree or using the
Whois Output function, try setting the $SCRIPT variable in the cdfree.pl
file. There are two ways of searching with CdomainFree. One is called
the "tld lookup", and that is the default. Using the TLD lookup, the
user enters in the second level domain and checks off the TLD from a
list (ie, enter "netscape" and then check-off ".com").
The second form is called the "root lookup". This allows the user to enter
the domain and its TLD as it would naturally appear (i.e., netscape.com).
Please try them both to see which one you prefer.
To get the "TLD Lookup" simply call CdomainFree, i.e.,
http://www.yourdomain.com/cgi-bin/cdfree.pl.
To get the "Root Lookup" call CdomainFree as follows:
http://www.yourdomain.com/cgi-bin/cdgree.pl?root_allowed=1
Thanks in advance for any help youcan offer!!
Ed Aronyk (Blur)
Divergent Digital Media
The secret of success is sincerity. Once you can fake that, you've got it made.
Blur posted this at 23:54 — 3rd July 1999.
They have: 66 posts
Joined: May 1999
Whoops! I spelt the title wrong, should be 'WhoIS Question'... sorry!
fairhousing posted this at 00:04 — 4th July 1999.
They have: 1,587 posts
Joined: Mar 1999
ok here are some of the main things that always makes scripts go to poo. first line of your cgi files must point to perl on your server. second the proper chmod 755 for cgi files and then whatever the readme says for other, try 777 to just make sure you can get the script working. third a path isn't a url. fourth diretories that script work out on or onto may need to be chmod'ed properly. hope this helps, if not please ask a shorter question, my attention span is finite, hehe.
good luck
----------
Isn't it time you started making money with your site!
http://www.birminghamnet.com/cgi-bin/links/pages/WebmasterResources/MakingMoney
Traffic-Website.com free traffic, affiliate programs, hosting, & domain names.
My Site got hacked, but i'm coming back?
Blur posted this at 00:30 — 4th July 1999.
They have: 66 posts
Joined: May 1999
That was kinda long, wasn't it? My directory is set correctly, but uhh.. sorry to ask such a newbie question, but how do I chmod?
fairhousing posted this at 00:42 — 4th July 1999.
They have: 1,587 posts
Joined: Mar 1999
are you using ftp or a control panel? if control panel it should have something that says chmod and then you just chmod. if ftp the easiest way is to click on the file and chmod it once it's on your server.
good luck
----------
Isn't it time you started making money with your site!
http://www.birminghamnet.com/cgi-bin/links/pages/WebmasterResources/MakingMoney
Traffic-Website.com free traffic, affiliate programs, hosting, & domain names.
My Site got hacked, but i'm coming back?
Anonymous posted this at 02:00 — 4th July 1999.
They have: 5,633 posts
Joined: Jan 1970
too bad, i missed all the fun
but may i add in telnet, you use this command:
chmod 755 filename.pl
nice day!
Blur posted this at 18:40 — 4th July 1999.
They have: 66 posts
Joined: May 1999
Patrick-
Thanks, I do most my stuf through telnet, I'll let you guys know if this works
Blur posted this at 03:37 — 5th July 1999.
They have: 66 posts
Joined: May 1999
Alright, guys thanks for your help, it works now
Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.