[Seaside] serving files from seaside

Brad Fuller brad at sonaural.com
Thu Feb 23 23:15:28 UTC 2006


How can I serve a file from seaside?
I've seen old email that says to have apache do it. (if so, how within
seaside?)

details:
I have audio files (currently in a subdir under the squeak image) that
I'd like to push out to the client.
However, I can't figure out how to set do it. I've looked and tried
various settings with no luck.

I simply want the user to be able to press a link and get an mp3 file.
Seems easy, but for the life of me, I can't find out how to do it!
I figured this would do it:
html anchorWithUrl: 'AudioData/mp3File.mp3' do: "Play me".

shouldn't it be that easy?

brad


More information about the Seaside mailing list