why 404 redirection?

Hi Kevin,

We does that for the sake of performance, 404 handler can be processed faster than rewrite rules, the default rewrite rules for Rails request dispatching is just like a manually crafted 404 handler. However, with LiteSpeed 2.2 LSAPI, vhost level rewrite rules have higher priority than 404 handler, so if you prefer using rewrite rules, just customize your own rewrite rules to determine what URLs should be routed to Rails. It is better to have the web server serving static files when proxy to mongrel on localhost.

Best Regards, George Wang

Kevin Williams wrote: