Old Proxomitron Forums

Proxomitron Filters - Discussions welcome => Other => Topic started by: Arne on September 30, 2001, 10:01:19 AM

Title: Redirect to local file - example
Post by: Arne on September 30, 2001, 10:01:19 AM
By Greg
If you are looking for a redirector to local file, examine this filter:

Name = "Dogpile search engine"
Active = TRUE
URL = "www.dogpile.(com|com/)(^?)"
Bounds = "<*>"
Limit = 16
Match = "*"
Replace = "<HTML>"
          "<HEAD>"
          "<META HTTP-EQUIV=REFRESH CONTENT="1;
URL=dhtml/Dogpile/dogpile.htm">"
          "k"

It looks to see if the URL is www.dogpile.com, a search engine, but makes sure it is not any other dogpile site. Then, it kills it, and directs the browser to
load the local file in the prox directory, html subdir, dogpile subdir, called
dogpile.htm


Best wishes
Arne
Imici username: Arne