Re: hacking the code

David Chan writes:

> Hi,
> 	I just download the Jigsaw_2.0beta1.zip file, and can run it. It
> is really nice, now what I want is add a litter extendsion to the httpd:
> 
> GET /filename.htm http/1.0
> 
> After get the filename of request in server, I need to check the name of 
> "filename.htm", if it is in my predefined format, I need to do some
> extract things. Then the output filename may be different as this one.
> 
> Now when I look at the code, it is so complicate that I don't know where
> to begin. Can someone tell me for this simple modification, What is the
> best way?
> 
> Thanks in advance.
> David Chan
> 

 You should write a Filter that will be call before the request is performed.
 Please read [1].

 [1] http://www.w3.org/Jigsaw/Doc/Programmer/writing-filters.html

 Benoit

- Benoît Mahé -------------------------------------------------------
                      World Wide Web Consortium (W3C)
                    Architecture domain - Jigsaw Team           

  http://www.w3.org/People/Mahe - bmahe@w3.org - +33.4.92.38.79.89 
---------------------------------------------------------------------

Received on Monday, 18 May 1998 03:51:07 UTC