I havent used webrick yet but I assume you can subclass the webrick HTTP
server class and do what ever you want.

On Sun, 2003-09-07 at 08:53, thierry wilmot wrote:
> I'm looking for a way to implement a standard webrick HTTP server but 
> with a special feature : before serve a HTML page it replace all %foo% 
> strings place in my file page into the content of the foo ruby variable.
> 
> Thank in advance
> Thierry
>