I am having trouble getting instiwiki to work. What I did. I am using Mandrake 10.1, so I started with urpmi ruby. This installed. From the console, ruby -v tells me I have ruby 1.8.1. I next downloaded Instiki .10.2 and put in /home/user1/instiki. I untared it, and I ran chmod -R 755 *. From a root console I ran ruby instiki. I saw a long list of install files, so something ran. I then fired up Opera and tried localhost:2500. No connection. I get an error message. Could not connect to remote server You tried to access the address http://localhost:2500/, which is currently unavailable. Please make sure that the Web address (URL) is correctly spelled and punctuated, then try reloading the page. I checked my hosts file and all seems well, I have user1, localhost, 127.0.0.1 there. I have CUPs at :631 and I have Webmin at :10000 and both work. What would I look at next? Where should I have unzipped instiwiki? User home directory, elsewhere? What permissions should it have? What could I be overlooking or doing wrong? I tried moving it all to /opt/, making sure root owned all of it and changed permissions to 755. Nothing changes. Since CUPs and Webmin work,it has to be my instiwiki install. Any help is most welcome. W. C. Barwell
hello, i would suggest installing rubygems and using gem to install instiki. maybe some dependencies are missing. look for an error message in the output produced after you ran instiki. thanks, eitan On Nov 27, 2005, at 11:18 PM, wbarwell wrote:> I am having trouble getting instiwiki to work. > > What I did. I am using Mandrake 10.1, so I started > with urpmi ruby. This installed. > > From the console, ruby -v tells me I have ruby 1.8.1. > > I next downloaded Instiki .10.2 and put in /home/user1/instiki. > I untared it, and I ran chmod -R 755 *. > > From a root console I ran ruby instiki. I saw a long > list of install files, so something ran. > > I then fired up Opera and tried localhost:2500. No connection. > I get an error message. > Could not connect to remote server > > You tried to access the address http://localhost:2500/, > which is currently unavailable. Please make sure that > the Web address (URL) is correctly spelled and punctuated, > then try reloading the page. > > I checked my hosts file and all seems well, I have user1, localhost, > 127.0.0.1 > there. > > I have CUPs at :631 and I have Webmin at :10000 and > both work. > > What would I look at next? Where should I have unzipped > instiwiki? User home directory, elsewhere? > > What permissions should it have? > What could I be overlooking or doing wrong? > > I tried moving it all to /opt/, making sure root owned all > of it and changed permissions to 755. > Nothing changes. > > Since CUPs and Webmin work,it has to be my instiwiki install. >
Ok, so this has been killing me today. I have an instiki install running on a machine. It has multiple webs (about 12 I believe), each web is a separate project, some have just editable pages, other webs have published and editable. Basically the instiki install is a mini project server for making notes and such. It works like a dream :) Now here is the thing, because there are several projects there are occasions where we want to publish using a specific url that points directly to published pages, or an editable web, which is no problem right up until I want to point to a specific web that is editable. So I google around and find two options, proxypass, and mod_rewrite Mod_rewrite tends to half work but isn''t what I want so I stick with proxy pass so I can keep all my virtual-hosts in one place. So after gluing a few things together I now have something like this. <Virtualhost *:80> ServerName oeresund.not-yet-become.net ServerAlias oeresund.not-yet-become.net RewriteEngine On RewriteRule ^/oeresund/(.*)$ http://oeresund.not-yet-become.net/$1 [L] ProxyPass /images http://127.0.0.1:2500/images/ ProxyPass /javascripts http://127.0.0.1:2500/javascripts/ ProxyPass /stylesheets http://127.0.0.1:2500/stylesheets/ ProxyPass / http://127.0.0.1:2500/oeresund/ ProxyPassReverse / http://127.0.0.1:2500/oeresund/ </Virtualhost> Basically requests for a specific domain name go through the proxy, but I have to account for the ''special'' urls. So we proxy differently for stylesheets, JS and images (if any). Ah but then some urls have the web name in them, others don''t, ok no worries we know what we don''t want, so strip those out with a quick rewrite. Ok we have something that is working for pretty much everything. But now an issue, if I go to edit a page I get this when I save "cannot convert nil into String" Any ideas, you can try it at http://oeresund.not-yet-become.net, if someone can tell me what is going on here and point to a fix that would be good. Any help on this much appreciated john P.S. Seen as getting instiki on port 80 is a fairly frequent request might I also make a suggestion; with multiple webs it would be good if all urls had a constant root and naming scheme. Right now some urls have the web name in them, others dont, some resolve to root, others are relative. It should be pretty trivial to sort these out and also to setup the css/javascript/images to pass through the url schema. So for example this would work. http://localhost:2500/web_name/css/instiki.css http://localhost:2500/web_name/javascript/generic.js etc...