On Tue, Jul 7, 2009 at 10:40 AM, Hans
Hartmann[email protected] wrote:
doesn’t apply by using the path from my hard-disk.
Well a file url looks something like this:
But if that works at all, it will only work on YOUR computer, or at
least one which has that file in that place on a local Z disk.
I think that most browsers balk at such a URL anyway when it’s
received from a server.
Is their a special usage of describing path-names in rails?
If you want to serve up the file, you need to put it under the public
directory, say in a movies subdirectory, and then use a path like
I’m not sure what your directory structure means you could have a
subdirectory structure under public/movies the point is that the url
path should be relative to the public dir.