Hikiを入れてみた
とくに理由はない。いや違った、この前研究室Hiki用のプラグイン書いたから、自宅でもプラグインのテストとかできればいいなーとか思ったからです。
インストール手順
つっても、ここに書いてあるとおりにやっただけ。
あ、でも一つだけ若干ハマッたところがありました。
ダウンロードしてきたtarballを展開するとdot.htaccessてのがあって、これを.htaccessにして使うんだけど、一番最初の行に書いてあるオプションが有効になってるとなんでか500のエラーが出た。ログを見ると
/home/hiki/public_html/hiki/.htaccess: Options not allowed here
このファイルでOptionsを使うなと怒られてるようなのでここの記述をコメントアウトして、httpd.confの方に書いたらうまくいった。
### .htaccess ### -Options +ExecCGI +#Options +ExecCGI AddHandler cgi-script .cgi DirectoryIndex hiki.cgi <Files "hikiconf.rb"> deny from all </Files>
### /usr/local/etc/apache22/extra/httpd-userdir.conf ### <Directory /home/*/public_html> AllowOverride FileInfo AuthConfig Limit Indexes -Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec +Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec ExecCGI <Limit GET POST OPTIONS> Order allow,deny Allow from all </Limit> <LimitExcept GET POST OPTIONS> Order deny,allow Deny from all </LimitExcept> </Directory>