Forum: Ruby on Rails Opening a image located outside the public folder

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Elias O. (Guest)
on 2009-04-21 03:11
(Received via mailing list)
Hello!

Can anyone help me on how to open an image on the browser NOT located
in the public folder. I am using the <img> tag, but the image doesn't
opens because it's outside the public folder.

Thanks,

ElĂ­as
Freddy A. (Guest)
on 2009-04-21 03:44
(Received via mailing list)
Do you have Apache as a frontend? then use alias and a directory
element to point apache away from the public directory.

Or use a symlink
This topic is locked and can not be replied to.