On Thursday, April 24, 2003, at 12:31 PM, Torbjorn Tornkvist wrote:
> Erik Pearson wrote:
>> I've just started tinkering with Yaws and have a couple of questions.
>> First, I'd like to be able to map a url or url pattern to a specific
>> function. Is that possible (currently) in Yaws? If not, any plans?
> Not sure about 'patterns' but look at the appmods directive.
> It makes it possible to hook into the processing of the URLs.
That gets part of the way there. I'd like to be able to have the
function invoked by a more flexible matching mechanism, though. E.g. a
path (with remainder passed to the function), a url suffix, or regular
expression. Maybe I'll do some actual work and see what would be
required to implement it.
>> Secondly, I'm wondering what differentiates Yaws from the inets
>> httpd. It looks like Yaws is targeted as a standalone webserver and
>> inets httpd is more targeted as an embedded server.
> It is intended to be used in both cases. Nortel is using it in
> 'embedded mode' in their SSL-VPN product.
> BTW: I'm in the process of converting the Bluetail Ticket Tracker
> to run embedded Yaws instead of the inets server.
Might I ask what it is about Yaws that makes it more attractive to you?
> Cheers , Tobbe
desk +1 510 527 5437
cell +1 510 517 3122