On Tue, 27 Jul 2010 19:16:25 +0200, Sebastian Bechtel <m...@sebastian-bechtel.info> wrote: > Hi, > > I know the subject sounds a bit strange so I'll explain. > > I have two independent projects with their own routes file and with their > own domain. I have access to the routes configuration of both. > > Now their is the situation that I access /foo/bar/ in application a. > > And I want to check if this URL would also match a route in application B. > > One way, to send a HTTP request to to /foo/bar/ in application B would > work but I have the route configurations on a memcached server and to check > this is more performant than use a http request. > > But how can I check whether the URL is matched by a route in the > configuration file from application b? > > Some ideas? > > Best regards, > Sebastian
Instantiate a second router with the configuration of application B and run the request over it.