[Rails] Deployment: Segregating static files from RHTML

Wes Gamble weyus at att.net
Tue Aug 8 23:06:30 GMT 2006


All,

I am deploying on a production system using Apache/fastcgi.

I would like Apache to take care of all of my static files and 
dispatch.fcgi to take care of all of my Ruby templates.

In order to achieve this separation, do I need to set up two vhosts in 
Apache, one to serve static content and one to serve dynamic content?

Has anyone done this in production and can point me to the right 
approach?

Thanks,
Wes

-- 
Posted via http://www.ruby-forum.com/.


More information about the Rails mailing list