in reply to Scripts to recursively reading in HTML files

In some cases when you have structured your html in a good (for any meaning of "good" :-) way, you can just add an extra BASE tag in the HEAD section, like this:
<HTML> <HEAD> <BASE HREF="http://mywww.mydomain.org/"> ... </HEAD> ... <I>proceed with normal html page</I> ...

This will automatically make sure your browser loads relative urls inside your page as if the starting path were "/" (root of your webserver). Probably you can also omit the domain part (http://) and leave only the "/"

Hope this helps!