in reply to Generation of dynamically-static documents
Apache does a lot of its magic based on file extensions. If you can upload a .htaccess file to change the meanings of extensions, that might be a solution: create a new extension, say .page, and on your local system have it run a Perl script, while on the remote system it's just another word for text/html. That way your links are all the same on both systems.