Gossamer Forum
Home : Products : Links 2.0 : Customization :

ALTAVISTA.CGI

Quote Reply
ALTAVISTA.CGI
I have the script altavista.cgi, but all when I execute this, in telnet, it return "(offline mode: enter name=value pairs on standard input)" and in Netscape, return a 500 internal error.... What do I need to run this script or... What do I make!?

Tks

Juliano
Quote Reply
Re: ALTAVISTA.CGI In reply to
Just type it in your browser...

ie. www.yourdomain.com/cgi-bin/altavista.cgi

or

when you use forms like the search engines when you search for a word...

<form action="http://www.yourname.com/cgi-bin/altavis.cgi"....

You can modify the contents of altavista.cgi to customize the results page...

You should be ready to go...

elms
Quote Reply
Re: ALTAVISTA.CGI In reply to
But...

If I simple execute it by for example, http://www.mydomain.com/altavista.cgi, it return a 500 internal error server. Have you another copy of this script?
Quote Reply
Re: ALTAVISTA.CGI In reply to
make sure the permision is correct...

chmod 755

make sure the perl path is set correctly

#!/usr/bin/perl

#!/usr/local/bin/perl

#!/path/to/perl

I do not know how to execute in telnet or if this script is capable to execute in telnet...

You should be able to get this script to work...

The download path is:

http://gossamer-threads.com/scripts/misc/altavista.cgi

My copy of this script is just like the download at the moment so it probably will not do any good...

There are also a bunch of posts on example sites and how to get it to work with current search features in links...

elms
Quote Reply
Re: ALTAVISTA.CGI In reply to
Tks!
Hehe...
The first line of cgi were wrong:

#!/usr/local/bin/perl5.0005

I have changed to

#!/usr/bin/perl

and now it's 100%


Tks
Juliano
Quote Reply
Re: ALTAVISTA.CGI In reply to
Hello juliano!

I am looking for this script altavista.cgi

Would you be so kind to tell me where can I find it?

Thanks in advance.

------------------
deepy rajani
Quote Reply
Re: ALTAVISTA.CGI In reply to
You can find it at:

http://www.gossamer-threads.com/...s/misc/altavista.cgi

It was down for a couple days as it broke during the switch to a new server, but is back up.

Cheers,

Alex
Quote Reply
Re: ALTAVISTA.CGI In reply to
Hello Alex !

I somehow like this forum very very much. Its live!!! It really works.

Just written this request and within less than half an hour comes an email and Altavista.cgi as an attachment! Nice of Juliano to send it.

Here you also showed the location. Nice.

Sitting down in Germany, receiving emails from Brazil and answers from Canada from you, I beleive this Forum is a wonderful platform to work togather with.

Thanks Alex anyway. It was really really nice of you.

------------------
deepy rajani
Quote Reply
Re: ALTAVISTA.CGI In reply to
Any idea why I get No Results found? When I run the program from my server I doesn't seem to work. However if I run the program from the command line it works??? It prints the output to STDOUT. But If I run the cgi from a browser I always get Error: No Results found.

I have this problem on a small script I wrote to do something similar. It works fine from the Command prompt but not the web browser. I checked the <CR> thing and that doesn't seem to be an issue.

THe scripts generally run, but they do not print the $output to the browser.

Thanks,

Jim
jim@avera.net
Quote Reply
Re: ALTAVISTA.CGI In reply to
How exacly do i integrate that script into my search resluts ?

would just add them in the search results list ? wuld i be in another page ?

also i can't seam to copy the cgu script from the url can someone please email it to me at:
florin@organizedchaos.net

thank you

------------------
www.organizedchaos.net
Quote Reply
Re: ALTAVISTA.CGI In reply to
javera,

check to see if LWP is installed properly...check to see if /etc/protocol exists and the appropriate protocols are keyed in the file
Does your nph-verify.cgi give you an error that it cannot determine protocol in links v2?

Hope this gives you ideas...I am no sys admin, just like to troubleshoot...

elms