Post Reply 
How to use $RDIR to redirect to a local file
Nov. 04, 2008, 10:41 AM
Post: #1
How to use $RDIR to redirect to a local file
I want to redirect request for http://www.hyperigo.com/favicon.ico to a local file C:\favicon\hyperigo.ico

I tried a URL filter like this:
Code:
[HTTP headers]
In = FALSE
Out = TRUE
Key = "URL: Hyperigo icon (out) [wpw]"
URL = "*hyperigo.com/favicon.ico$RDIR(http://file//C:/favicon/hyperigo.ico)"

But proxo failed to load the file and give an error like this
Quote:Host Name Lookup Failed
The Proxomitron couldn't find the site named...
C
Check that the name is correct. If so, the site may have changed or may no longer exist.


What's the correct way to write the path to a local file ?
Quote this message in a reply
Nov. 04, 2008, 12:28 PM
Post: #2
RE: How to use $RDIR to redirect to a local file
Using Drag & Drop i open a file in firefox, and his address is in this format:
file:///C:/Documents and Settings/file.TXT

Play with that and please register before posting...
Add Thank You Quote this message in a reply
Nov. 04, 2008, 01:28 PM
Post: #3
RE: How to use $RDIR to redirect to a local file
Using file:// protocol is not good. We had a relevant discussion here.

You'd better put the local file under proxomitron html folder and use http://local.ptron/hyperigo.ico to refer to it.
Add Thank You Quote this message in a reply
Post Reply 


Forum Jump: