Hi all,

What would be the best design if I wanted a RubyOnRails basic CMS that
would allow HTML/images to be uploaded and viewed by users who were
allowed to see them.  In particular what would be a good / robust way
to host the files?   For example:

a) Let Apache web server (i.e. not RoR engine) host them - this would
require RoR could save the files out on the Unix/Linux box to an
approach location under the web server (not sure how possible this
is).  Also it means that user management would need to be
integrated/handled by Apache (could be an issue perhaps?)

b) Let RoR application store them in it's own directory area, but not
under the "/public" directory as this could be visible on web for the
right URL - once stored on file, then the image tag URL in the HTML
pages would need to tell the RoR application to get them via a
specific controller/action which would then have to retrieve them and
stream them out...

c) As per b) above but stored in a mysql database







-- 
Greg
http://blog.gregnet.org/

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to