On May 15, 2002 09:53 pm, Bill Eldridge wrote:
> Tavis Rudd wrote:
> > On May 15, 2002 02:17 pm, Bill Eldridge wrote:
> > > Sam Brauer wrote:
> > > > Writing a plugin is a possibility.
> > > > Like you say, the big drawback I see to this is the extra work
> > > > involved learning how to implement a plugin.
> > >
> > > Hacking an existing plugin should be easier
> > > than "learning how to implement a plugin".
> > >
> > > You might be able to add to the webkit_handlers
> > > similar to the PSP handler, make an XML handler
> > > in mod_webkit....?
> >
> > You can do that by creating a 'ServletFactory' and then loading it into
> > WebKit's Application class at startup.  mod_webkit doesn't have much to
> > do with it.
> >
> > Tavis
> I was referring to the stuff in mod_webkit.c:
...
> thinking that that could be used to point
> to a new handler for .xml files, using that
> handler to rewrite path and other environment
> information.

Oops, I hadn't read Sam's original message when I replied to yours.  If the 
aim is to map all .xml files to a single servlet I'd go with mod_rewrite as 
Ian suggested.  Why bother writing a handler in C or WebKit plugin when a few 
lines of black magic does the trick.  You could even argue for scrapping 
mod_webkit's psp_handler and doing PSP files via mod_rewrite as well ...

It would be nice to allow this sort of many-to-one mapping in WebKit itself 
when the URLDecoding stuff is reworked.

Tavis



_______________________________________________________________

Have big pipes? SourceForge.net is looking for download mirrors. We supply
the hardware. You get the recognition. Email Us: [EMAIL PROTECTED]
_______________________________________________
Webware-discuss mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/webware-discuss

Reply via email to