I am running Instiki 0.10.2 on a Windows box and I was wondering how to provide a link to a local file (local to the wiki and webrick server) on a wiki page? I have tried various combinations of: "link":http://192.168.0.1:2500/mywiki/HelloWorld.htm and "link":file:///192.168.0.1:2500/mywiki/HelloWorld.htm but to no avail. Any suggestions would be most appreciated.
Ed Grochowski wrote:>I am running Instiki 0.10.2 on a Windows box and I was wondering how >to provide a link to a local file (local to the wiki and webrick >server) on a wiki page? > >I have tried various combinations of: > >"link":http://192.168.0.1:2500/mywiki/HelloWorld.htm > >and > >"link":file:///192.168.0.1:2500/mywiki/HelloWorld.htm > >but to no avail. > >Any suggestions would be most appreciated. > >_______________________________________________ >Instiki-users mailing list >Instiki-users@rubyforge.org >http://rubyforge.org/mailman/listinfo/instiki-users > > >I put test.html in the public directory and [Test Html](/test.html) in the page and it worked fine and put the following in the address bar: http://localhost:2500/test.html
On Aug 3, 2005, at 3:22 PM, Ed Grochowski wrote:> I am running Instiki 0.10.2 on a Windows box and I was wondering how > to provide a link to a local file (local to the wiki and webrick > server) on a wiki page?"link":/path/to/local/file should work -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/instiki-users/attachments/20050803/ec1e7aaa/attachment.htm
On Aug 3, 2005, at 4:23 PM, Derek Gulbranson wrote:> > On Aug 3, 2005, at 3:22 PM, Ed Grochowski wrote: > >> I am running Instiki 0.10.2 on a Windows box and I was wondering how >> to provide a link to a local file (local to the wiki and webrick >> server) on a wiki page? > > "link":/path/to/local/file should workforgot to mention, the root for Webrick will be the "public" subdirectory of your instiki installation.
On 8/3/05, Derek Gulbranson <derek@derekgulbranson.com> wrote:> > On Aug 3, 2005, at 3:22 PM, Ed Grochowski wrote: > > > >> I am running Instiki 0.10.2 on a Windows box and I was wondering how > >> to provide a link to a local file (local to the wiki and webrick > >> server) on a wiki page? > > > > "link":/path/to/local/file should work > > forgot to mention, the root for Webrick will be the "public" > subdirectory of your instiki installation.Thanks Derek. This worked. I didnt realize that public was under the instiki install... for some reason I thought it was under the "storage" area. Ed
Ed Technically, it should go under the storage directory if you look at it from the perspective of a the storage directory containing all the files for a particular Wiki. However, from a system perspective, Instiki uses a simplest implementation solution possible approach, which means giving the embedded Web server a single directory for static files it can serve in response HTTP requests (aside from the Instiki page URIs), which includes some static error pages, scripts, and a stylesheet, with storage as a separate area for dynamic data. Therefore, I think your initial thinking correct. The Instiki design broke down in this respect, but for a good technical reason (simplicity and Instiki not including this file serving as a main feature). This issue will probably resolve itself with the addition of file uploads. Tam?s On Aug 3, 2005, at 8:13 PM, egoots wrote: On 8/3/05, Derek Gulbranson <derek@derekgulbranson.com> wrote:>> On Aug 3, 2005, at 3:22 PM, Ed Grochowski wrote: >> >>> I am running Instiki 0.10.2 on a Windows box and I was wondering how >>> to provide a link to a local file (local to the wiki and webrick >>> server) on a wiki page? >> >> "link":/path/to/local/file should work > > forgot to mention, the root for Webrick will be the "public" > subdirectory of your instiki installation.Thanks Derek. This worked. I didnt realize that public was under the instiki install... for some reason I thought it was under the "storage" area. Ed _______________________________________________ Instiki-users mailing list Instiki-users@rubyforge.org http://rubyforge.org/mailman/listinfo/instiki-users
On 8/5/05, Tam?s Smith <tamassmith@mac.com> wrote:> Therefore, I think your initial thinking correct. The Instiki design > broke down in this respect, but for a good technical reason (simplicity > and Instiki not including this file serving as a main feature). This > issue will probably resolve itself with the addition of file uploads. > > Tam?s >Thanks for the update. I tend to agree with you in regards to where it "should be"... but can work with where it "is" for now. Ed
In my Instiki page (http://naiznoiz.dyndns.org:2500 - and then clicking on instiki), I describe A way to enable the fact of having seperate Instiki layouts, each with its own stylesheets and rhtml files. In my opinion, one may assume that if sbdy uses a wiki, he might want more of them, not necessarily having the same layout. For instance, I maintain a motorcycling gang site, and a surf rock site, and believe me, its hard to find a common denominator qua layout for those two ;-). This is a quick-look-and-hack I describe there, any suggestions are welcome to make it more elegant. I wanted to post this on the instiki.org, but as it is down (again :-(), I have been unable until now. Just to mention, it is possible to have the public directory local, where you have the actual site. I did not go far in this, so problems might still pop up. I put the other sites public as soon as I have figured out authentication. greetz, b egoots wrote:>On 8/5/05, Tam?s Smith <tamassmith@mac.com> wrote: > > > > >>Therefore, I think your initial thinking correct. The Instiki design >>broke down in this respect, but for a good technical reason (simplicity >>and Instiki not including this file serving as a main feature). This >>issue will probably resolve itself with the addition of file uploads. >> >>Tam?s >> >> >> > >Thanks for the update. > >I tend to agree with you in regards to where it "should be"... but can >work with where it "is" for now. > >Ed > >_______________________________________________ >Instiki-users mailing list >Instiki-users@rubyforge.org >http://rubyforge.org/mailman/listinfo/instiki-users > > > > >