
09-01-2006, 01:56 PM
|
|
LiteSpeed Staff
|
|
Join Date: May 2003
Location: New Jersey
Posts: 7,590
|
|
Thanks! Bob.
Like Xing said, 404 handler is used, however, rewrite rules will be honored if configured. A few more points regarding the new configuration:
- 404 handler is faster than rewrite rule. .htaccess support should be turned of when possible.
- There is no need to create dispatch.lsapi in the public directory anymore. "dispatch.rb", "dispatch.fcgi" and "distpach.lsapi" are all pointing to the Rails LSAPI dispatcher created behind the scence to make sure it still works properly when the rewrite rule in the default .htaccess under public folder is used by accident.
- The Rails dispatcher will be started in suEXEC mode if the virtual host is configured that way.
We will write a tutorial on Capistrano integration in a cluster environment. And maybe add a feature to let user configure rails applications in shared hosting environment via something like .rails or just .htaccess.
In the long run, we will continue to look for ways to boost Rails performance. 
|