VineLinuxにCommon Lispをインストールしてみた。
apt-get install clisp
VineのMLで、aptのextraにWebminがあると読んだので
インストールしなおしてみた。
Webminからapacheを起動・停止できるように/etc/httpd/conf/httpd.confのmod_rubyの項目を修正した。
LoadModule ruby_module modules/mod_ruby.so
を
ClearModules
の前に置き、
AddModule mod_ruby.c
のコメントを外す。その後で設定(/usr/share/doc/mod_ruby-1.0.7/examples/httpd.confの内容をちょっと修正したもの)
<IfModule mod_ruby.c> # for Apache::RubyRun RubyRequire apache/ruby-run # exec files under /ruby as ruby scripts. <Location /ruby> SetHandler ruby-object RubyHandler Apache::RubyRun.instance Options ExecCGI </Location> # exec *.rbx as ruby scripts. <Files *.rbx> SetHandler ruby-object RubyHandler Apache::RubyRun.instance </Files> # for Apache::ERubyRun RubyRequire apache/eruby-run # handle files under /eruby as eRuby files by eruby. <Location /eruby> SetHandler ruby-object RubyHandler Apache::ERubyRun.instance Options ExecCGI </Location> # handle *.rhtml as eruby files. <Files *.rhtml> SetHandler ruby-object RubyHandler Apache::ERubyRun.instance </Files> # for Apache::ERbRun RubyRequire apache/erb-run # handle files under /erb as eRuby files by ERb. <Location /erb> SetHandler ruby-object RubyHandler Apache::ERbRun.instance Options ExecCGI </Location> # # for debug # RubyRequire auto-reload </IfModule>