Can you match on top level domains?

On Wed, Jan 1, 2014 at 1:05 AM, Magnus Holm <judo...@gmail.com> wrote:

> Sorry for the late reply.
>
> The easiest way is to use a config.ru file (this is how you probably
> run your Camping app anyway):
>
>   # in config.ru
>   map "/hello" do
>     run Hello
>   end
>
>   map "/sinatra" do
>     run Sinatra::Application.new
>   end
>
> // Magnus Holm
>
>
> On Sun, Dec 8, 2013 at 12:41 PM, Tim Uckun <timuc...@gmail.com> wrote:
> > The camping book says this
> >
> > You can also use Rack::URLMap to plug a whole bunch of different apps in
> to
> > one folder. A camping app here, a rails project there, a sinatra doodad
> over
> > there in the corner messing up the whole global namespace. The
> possibilities
> > are severely limited!
> >
> > Does anybody have an example of how to do this?
> >
> > Thanks.
> >
> > _______________________________________________
> > Camping-list mailing list
> > Camping-list@rubyforge.org
> > http://rubyforge.org/mailman/listinfo/camping-list
> _______________________________________________
> Camping-list mailing list
> Camping-list@rubyforge.org
> http://rubyforge.org/mailman/listinfo/camping-list
>
_______________________________________________
Camping-list mailing list
Camping-list@rubyforge.org
http://rubyforge.org/mailman/listinfo/camping-list

Reply via email to