rack-devel archive mirror (unofficial) https://groups.google.com/group/rack-devel
 help / color / mirror / code / Atom feed
From: andyl <akleak@gmail.com>
To: Rack Development <rack-devel@googlegroups.com>
Subject: Links and Modular Apps
Date: Thu, 21 Oct 2010 21:53:22 -0700 (PDT)	[thread overview]
Message-ID: <9709dac9-9acd-4e4b-b1e6-eaa6e202ae36@37g2000prx.googlegroups.com> (raw)

I would like to use Rack to mount modular apps.

Using the 'map' statement in config.ru, I can mount an app just fine.

But - the links in my sub-apps don't work.

If I mount App1 on '/app1', and App1 has a link <a href='/page'>,
it needs to render '/app1/page' instead of '/page'.

How do people get around this problem??

Thanks, Andy

             reply	other threads:[~2010-10-22  5:08 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-10-22  4:53 andyl [this message]
2010-10-22  6:19 ` Links and Modular Apps Sylvain Desvé
2010-10-23  0:13   ` andyl
2010-10-23  2:29     ` Yehuda Katz

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-list from there: mbox

  Avoid top-posting and favor interleaved quoting:

  List information: https://groups.google.com/group/rack-devel

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=9709dac9-9acd-4e4b-b1e6-eaa6e202ae36@37g2000prx.googlegroups.com \
    --to=rack-devel@googlegroups.com \


* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox


This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).