Old Proxomitron Forums

Proxomitron Filters - Discussions welcome => Other => Topic started by: Arne on August 02, 2001, 03:01:34 PM

Title: Stripping CGI redirects
Post by: Arne on August 02, 2001, 03:01:34 PM
http://arne.jaha.dk/download.php/1,16,6/id51.zip

I just wrote a filter to specifically  get rid of the ?cgi redirects and any cgi-bin directories in html links.

Works like a charm but as I don't want to have it active on all sites (such as
not at crosssearch.com) I wrote a blocklist textfile which I called KeepCGI.txt
and contains the names of sites NOT to work on (ie sites where the cgi commands are to be unchanged).

[Patterns]
Name = "Kill cgi redirects on any site not placed in KeepCGI bypass list"
Active = TRUE
URL = "^$LST(KeepCGI)"
Limit = 200
Match = ""*1[/]*.cgi*"|"*1[/]cgi-bin*""
Replace = ""1""

Dave