How to handle static pages?

Just drop it into public and it will be served up just fine. By default rails will check inside public if it doesn’t have a route that matches the request.

The newer preferred/scalable way of doing things involves taking a http server like nginx and using it to serve up the static pages from public while you proxy “rails” requests through to a mongrel cluster running alongside. But even in that case the norm is to put the static pages inside the public folder as well.

Bottom line is just drop into public, step back and watch the magic happen!

John W Higgins wishdev@gmail.com

Why dont you try WebGen (on RubyForge).

Regards,

Swanand.