W3C home > Mailing lists > Public > www-jigsaw@w3.org > May to June 1998

Re: hacking the code

From: Benoit Mahe <Benoit.Mahe@sophia.inria.fr>
Date: Mon, 18 May 1998 09:50:59 +0200
Message-Id: <199805180750.JAA20339@carole.inria.fr>
To: David Chan <dchan@zeus.lnk.com>
cc: www-jigsaw@w3.org
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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 9 April 2012 12:13:27 GMT