Q: In Rails 1.2.x, how do we override default document root (public) directory I wanted to define a different document root to one of my rails 1.2.3 application. By default rails uses public directory as its document root. Is there a way to override this?

A: In this instance, you are fighting Rails conventions which is a Really Bad Idea(tm). Please just go through the application and change the paths where the code is writing to public to write to other directories. Sometimes, this is what you have to do within the field of software development.
