hi,
look at the way routing works:
http://wiki.restlet.org/docs_2.0/13-restlet/27-restlet/326-restlet.html.
You may either change your matching mode to MODE_START_WITH or use one of the
tricks from the routing and queries- section.
Alex
Original-Nachricht
> Datum: Wed, 23 Jun 2010 12:05:35 -0700
> Von: William Pietri
> An: discuss@restlet.tigris.org
> Betreff: DirectoryServerResource and directoryRedirection
> Hi! I'm just getting into the 2.0 release while building a Facebook app
> and am puzzled by something.
>
> Right now I have some content, served up by a Directory, at a location
> like this:
>
> http://example.com/welcome/
>
>
> Outside of the Facebook context, this is fine. However, the way I'm
> doing the Facebook app, my pages appear inside an iframe on Facebook's
> page. To pass along context information, they add a bunch of parameters
> to the URL, so it looks something this:
>
>
> http://example.com/welcome/?fb_sig_in_iframe=1&fb_sig_iframe_key=...&fb_sig=fe82...ec467a9e
>
>
> The DirectoryServerResource decides that since that doesn't end in a
> slash, it couldn't possibly be a directory, and so throws a slash on the
> end and issues a 303. That seems weird to me, but I'm not sure if this
> is just an odd use case not yet supported, or if there's something
> irredeemably wrong about the Facebook approach. Or, most likely, that
> I'm not using Restlet in the right way, and that I should be approaching
> things differently.
>
> Any thoughts on how I should handle this?
>
> William
>
> --
> http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2625164
--
GMX DSL: Internet-, Telefon- und Handy-Flat ab 19,99 EUR/mtl.
Bis zu 150 EUR Startguthaben inklusive! http://portal.gmx.net/de/go/dsl
--
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2625367