Access folders outside RAILS_ROOT

Dear Shruthi,

This is basically a bad idea from a security viewpoint. It is
possible from Rails, but it is not a good idea and so, like all not so
good ideas, Rails makes it harder for you.

"The usual is easy, the uncommon is possible... but not always easy".

Doing this is actually not so hard, and is actually a web server
issue, not a rails issue. Rails handles the rendering of your rails
pages out of the RAILS_ROOT/public directory.

Your BEST bet is to move those files out of C and put them somewhere
that your normal webserver can get to them. But NOT in the root

If you put it in the root directory, you open up the ability for
people to go

You get the idea

So you need to really go into your web server and find out what you
need to do, it is not so much rails.

Unless you are trying to get rails to send files to the users using
send_file or something in which case, just type the path in the
send_file param. Start it with a / and you will get the root dir.