I am writing a web-cache program which I hope to make "plug-and-play" for webmasters, so as to make it easy for people with a modicum of web knowledge confound the Great Firewall of China (and other attempts to limit information).
The script can presently process and view any file served via http and send it on the the viewer. See
However, I also want the script to find and re-write URIs within html documents so that those URIs will be linked to and loaded through the selfsame program.
The current source of the script is at
The place where I want the script to alter links and URIs is near the botton (you'll see a lengthy comment there).
Help is much appreciated!
The script can presently process and view any file served via http and send it on the the viewer. See
However, I also want the script to find and re-write URIs within html documents so that those URIs will be linked to and loaded through the selfsame program.
The current source of the script is at
The place where I want the script to alter links and URIs is near the botton (you'll see a lengthy comment there).
Help is much appreciated!