From: Andreas S. O. <oe...@oe...> - 2001-08-04 12:08:14
|
Ken Arromdee writes: > Although the comments in the actionsfile mention fast-redirects and Yahoo, > fast-redirects no longer works with Yahoo because Yahoo doesn't use ? in > its redirect URLs any more, it uses *. For instance, > > http://srd.yahoo.com/drst/18190685/*http://www0.mercurycenter.com/ Those bastards! > Suggestion: Change fast-redirects to an option that uses a file like > re_filterfile to filter each URL as it is accessed. The default file > would just do the same thing that fast-redirects does now. I was already thinking about throwing out support for the fast redirects again, because there are too many cases where they don't work properly. Most prominently, when you have referrer-tracking via URL extension like in http://target.site/doc?referrer=http://source.site fast redirects will elegegantly beam you back where you came from... I wouldn't introduce a new config file, but allowing a pcrs job as a parameter to the +fast-redirects action might indeed make it useful again. > Incidentally, my re_filterfile includes the following lines to directly > filter redirects on the page too: > s|(<a[^>]*href=")[^"]*?(http://[^"]*"[^>]*>)|$1$2|sig > s|(<a[^>]*href=")[^"]*\*(http://[^"]*"[^>]*>)|$1$2|sig That relies on the link target being enclosed in "". But I'll add a refinement of these to the re_filterfile. Thanks! Regards, --Andreas |