Women in Technology

Hear us Roar



Article:
  Rolling with Ruby on Rails
Subject:   intellingent link routing
Date:   2006-08-02 03:03:53
From:   cezarb
Hi
Went successfully through all the steps and exercises but i was wondering if there's a quick way of re-working the links to allow more than one application on the same server...


For example, instead of
http://127.0.0.1:3000/recipe/list I would like to have something like:
http://127.0.0.1:3000/cookbook/recipe/list


Anyone knows how to get this working?
Thanks.

Full Threads Oldest First

Showing messages 1 through 2 of 2.

  • Curt Hibbs photo intellingent link routing
    2006-08-02 07:29:19  Curt Hibbs | O'Reilly AuthorO'Reilly Blogger [View]

    You can't do that with WEBrick, you need a more sophisticated web server for that. You can do that with Apache using the Alias or Virtual Host directives.

    If you are on Windows, the easiest way to get started would be to use Instant Rails:

    http://instantrails.rubyforge.org/

    • intellingent link routing
      2006-08-02 21:31:41  cezarb [View]

      Thanks! I'll download instant rails and look at the web server configuration.