rack-devel archive mirror (unofficial) https://groups.google.com/group/rack-devel
 help / color / mirror / code / Atom feed
* Links and Modular Apps
@ 2010-10-22  4:53 andyl
  2010-10-22  6:19 ` Sylvain Desvé
  0 siblings, 1 reply; 4+ messages in thread
From: andyl @ 2010-10-22  4:53 UTC (permalink / raw)
  To: Rack Development

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2010-10-23  2:31 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-10-22  4:53 Links and Modular Apps andyl
2010-10-22  6:19 ` Sylvain Desvé
2010-10-23  0:13   ` andyl
2010-10-23  2:29     ` Yehuda Katz

Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/rack.git

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).