I'm not sure if this is possible. However, I'm working on a patch for Drupal core to allow the rewriting of file URLs. It's included in my CDN integration module [1]. We're discussing how to improve it [2]. Please give it a look. If it's what you're looking for, feel free to ask me questions in IRC or in CDN integration's issue queue. [1] http://drupal.org/project/cdn [2] http://drupal.org/node/212376 Wim Leers ~ http://wimleers.com/work On Jan 23, 2008, at 00:43 , Iñaki Lopez wrote:
Hi all.. I'm trying to create a module to modify the final content of the request being sent to the client. which is the best way to do that? I've done some test with the hook_exit hook, but can access the content.. and hook_filter only is being executed for the node's content.. The idea for the module is to change the paths for the themeing files (images and css files) to a) local folder of system, b) another path in the web server..
As files (images and so) may not be referenced using drupal code but just with simple html output from any module I just would like to modify the final result after the rendering process..
Thank you all!!