Local file href or redirect


#1

If I include a link like this in a view:

GO!

The link works normally. But this:

GO!

is somehow blocked, and there is NO ERROR OR OTHER FORM OF EXPLANATION
OR NOTIFICATION by webrick, rails, et. al. That is very un-user,
un-programmer, un-friendly and I should sue ;]

How can I access a local file url???


#2

I’m pretty sure this is just a function of your browser’s security
model not allowing access to filesystem URIs from an http:// page.
Either way though, its not anything Rails has to do with.


#3

pharrington wrote:

I’m pretty sure this is just a function of your browser’s security
model not allowing access to filesystem URIs from an http:// page.
Either way though, its not anything Rails has to do with.

Yep! I would never have guessed that. There is no way to disable this
AFAICT either.

But I started apache (default port 80) and then used

http://localhost/filesystem/somepath/etc

and that works.

Much thanks