Forum: Ruby on Rails deployment, rewriting, lighttpd, subdirs

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
690c9bf8eeb80dd65c69609ed81da73c?d=identicon&s=25 mjankowski (Guest)
on 2005-11-16 01:05
(Received via mailing list)
Desired scenario...

http://a.host/ is an existing website.

http://b.host:port/ is running a rails application that we want to
appear at http://a.host/application

a.host and b.host are different physical machines, but on the same local
network.

a.host is running apache, and can proxy requests for /application to
b.host:port

b.host is running lighttpd, and needs to rewrite /application requests
so that the links, form targets, etc. that wind up on a.host are like
http://a.host/application/users/23 rather than just
http://a.host/users/23

So basically...

* Is there an easier way to accomplish this?
* Is there a guide to serving a rails app out of a subdir using
lighttpd?


Thanks,
-Matt
This topic is locked and can not be replied to.