Gossamer Forum
Home : Products : Links 2.0 : Customization :

multiple cgi-bin's

Quote Reply
multiple cgi-bin's
i have just tried a small mod on links 2. i have the standard script and i have also placed another 2 duplicate scripts on the same server. the first script uses cgi-bin the second used cgi-bin2 and the third uses cgi-bin3 i can perform searched using all three directories. what i want to do is to be able to have the first script perform a search and if no results are found it then searched the second and so on. where abouts in the links 2 script does it command the search_error page to be presented i would like to change it to cgi-bin2/search.cgi?query=<%query%>
is this possible. the reason i was wanting to do this is so that i have more control over what sites rank high and also to allow for nore than 1 links db.

thanks in advance.

clickforchoice.com a new up and coming web directory and portal
Quote Reply
Re: multiple cgi-bin's In reply to
There is a mod that Bmxer wrote (check resource center) that will redirect to another location if nothing is found in your first database. Just a thought though...you definately don't want to put the redirection code in your "3rd" copy because you'll go on an infinate loop!

Quote Reply
Re: multiple cgi-bin's In reply to
yea good point.
on the third copy i just want to leave it standard and go to the search error page. it is just so that i can try and build the first database maunaly and the second database for users suggested sites and the third for sites gathered by url spider pro. the way i have set it up is to look linke a av style search engine (with no directory) so i dont store any category data in my links db's but i have felt that the sites that rank high arent always what the user would want. this way i have some control over the high rankers.

thanks :)

clickforchoice.com a new up and coming web directory and portal
Quote Reply
Re: multiple cgi-bin's In reply to
And like I mentioned to you in one of your relatively similar threads, there is another MOD called Multiple Database Search Mod that will search across multiple LINKS 2.0 database files.

BTW: Have you even been to the Resources section of this site? If not, GO THERE, please!

Regards,

Eliot Lee Wink
http://anthrotech.com/
Quote Reply
Re: multiple cgi-bin's In reply to
yea i have found the multiple database search mod and i like it. the only problem is the user has to select where his/her results are coming from. it would be great if there was a mod that simply searched links 1 and if it found no results searched links db 2. what i was thinking was to remove the links to other search engines and replace it with a link "more results" and have it point to search.cgi for the next links db. do you think that would be worth while?


clickforchoice.com a new up and coming web directory and portal
Quote Reply
Re: multiple cgi-bin's In reply to
Well then, as Domenic already pointed out, BMXER wrote a MOD awhile back, which has been referenced and linked more than once in this forum....

GO HERE: http://lookhard.hypermart.net/links-mods/!!!!!!!!!!!!!!!!!!!!!!!!!!!

Regards,

Eliot Lee Wink
http://anthrotech.com/
Quote Reply
Re: multiple cgi-bin's In reply to
thanks very much eliot. that url had a link to just what i was looking for.
This mod allows you to specify an url to go to if there are no link results brought back. It could be another major search engine or a second install of links you have.

http://lookhard.hypermart.net/links-mods/inkyah-redir.html

i had tried searching for bmxer and was getting no where.


clickforchoice.com a new up and coming web directory and portal