Page 1 of 1

Result link

Posted: Tue Mar 21, 2006 4:36 pm
by mmcfadden
If you go to this URL and choose the top result it will fail. However if you copy and paste the URL in the result into the browser it will work. Any ideas. As always thank for your help.

http://www.adaportal.org/cgi-bin/texis. ... erties&cq=

Result link

Posted: Tue Mar 21, 2006 4:58 pm
by John
It seems to end up in a redirect loop between a couple of machines. One of the messages indicated a Security Violation, and the other a service unavailable, so I'm not sure if it is doing a referer check, or something else that would restrict it.

Result link

Posted: Tue Mar 21, 2006 5:05 pm
by mmcfadden
Why would the link work just fine outside of Webinator?

Result link

Posted: Tue Mar 21, 2006 5:41 pm
by John
The browser would send a referrer link from the search result page when you access it from there, but not if you go directly. You might try removing the <header name=Location value=$u> from the doredir function, and rely on the meta http-equiv refresh to go to the result, which I believe will wipe out the referrer.

Result link

Posted: Tue Mar 21, 2006 6:28 pm
by mmcfadden
I went ahead and commented out <header name=Location value=$u> and I also commented this text
<!--That document is <a href="$u">here</a>. ---->
It works just fine now. Do these changes cause other problems or remove functionality?

Result link

Posted: Wed Mar 22, 2006 10:30 am
by John
If the site the result points to is slow then the users will see the redir page while waiting for the site. Apart from that it is just another method of redirecting the user to the result. You probably would not be able to directly go to that site from the search results. It sounds as if either they don't want external sites linking in, or they have some broken code.

Result link

Posted: Wed Mar 22, 2006 12:55 pm
by mmcfadden
I am having an interesting reaction that wasn't there before I made this modification. The back button won't work when you select this result. It works correctly in Firefox but not in IE. What can I do?

http://www.adaportal.org/cgi-bin/texis. ... rch=Search

Result link

Posted: Wed Mar 22, 2006 2:13 pm
by mark
By removing the Location header you've changed the protocol level redirect replacement page to a regular web page that forwards the browser somewhere else. When you hit back you get to the redirect page again and browser obeys the meta refresh command to redirect.

You could change the meta refresh time from 0 to something longer so the user has a chance to hit "back" again before being forwarded.