W3C home > Mailing lists > Public > www-jigsaw@w3.org > January to February 1999

Re: Warpoing a particular files to a Servlet accross the www directory

From: Benoit Mahe <Benoit.Mahe@sophia.inria.fr>
Date: Wed, 20 Jan 1999 11:18:48 +0100
Message-ID: <36A5AD88.2BED5C9@sophia.inria.fr>
To: Eugene <yrsow@bestweb.net>
CC: www-jigsaw@w3.org
You can do that with the RedirecterFrame that perform an internal
redirect
to another resource. So, configure you default indexer [1] to create a
FramedResource
associated to a RedirecterFrame for chtml files, put the servlet uri in
the target field of the
RedirecterFrame (How to create an configure a resource [2] [3])

PS: when you are looking for a specific Jigsaw resource, take a look at
the Reference
documentation [2].

[1] http://www.w3.org/Jigsaw/Doc/User/indexers.html
[2] http://www.w3.org/Jigsaw/Doc/User/resource.html
[3] http://www.w3.org/Jigsaw/Doc/User/attributes.html
[4] http://www.w3.org/Jigsaw/Doc/Reference/Overview.html

Regards, Benoit.

Eugene wrote:

> Hi,
>  Help!!!  I am new in configuring
> web server and my question must seem
> to be very stupide. I have read most
> of  FAQ and mailing list achrive.  I
> appreciated all help, pointers and
> hints.   I have been working on
> configuring jigsaw web server for
> three days trying to
> wrapping/redirecting a particular
> type of file to a servlet. I am not
> sure it is possible or not.
>
> I have created a default file type
> with the extension of chtml and I
> hope to redirect them to a servlet
> when a there is request for that
> type of files to the web server.  I
> was successful in redirecting one
> file in the servlet-indexed
> directory at a time to the servlet
> and able to get the servlet to work
> only after physically index them.
> Is there a way to configure the
> server to redirect all the requests
> of that type of file to a servlet
> across the whole www directory using
> ServletWrap or existing extensions.
>
> Thanks in advance for all the help.
>
> Eugene

--
- 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 Wednesday, 20 January 1999 05:18:55 GMT

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