Deployment, rewriting, lighttpd, subdirs


Desired scenario… is an existing website. is running a rails application that we want to
appear at and are different physical machines, but on the same local
network. is running apache, and can proxy requests for /application to is running lighttpd, and needs to rewrite /application requests
so that the links, form targets, etc. that wind up on are like rather than just

So basically…

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