[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

thierry wilmot

9/6/2003 8:46:00 PM

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

2 Answers

mgarriss

9/6/2003 8:58:00 PM

0

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


Take a look at Amrita:

http://www.brain-tokyo.jp/resear...

It''s *really* powerful.

Michael


maillist@bestworldweb.homelinux.com

9/7/2003 1:11:00 AM

0

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
>