From: Assaph Mehr Date: 2005-09-27T22:48:01+09:00 Subject: Re: Serving/linking to static pages in Instiki? Hi Cam, > Does anyone know how to link to static content with Instiki? Would this > static stuff then be served correctly (relative links honoured etc?) > > I've found references to dropping stuff into public which I have done > but absolutely no combination of paths/markup/whatever seems to access > the pages from a wiki page... Try placing the file under the 'public' directory, the link using textile, e.g.: "this file":/my_file.doc The forward slash is important. Don't use subdirectories either. All this is because the way rails/instiki handles request routing - you're asking something at the top-level which isn't mapped to any known controller, so it checks for files under /public. On a happier note, Instiki will be getting file uploads capacity soon. HTH, Assaph