tdiary and modruby
Hello,
I'm trying to setup tdiary on a sarge box running apache2.
I've used
tdairy-setup copy /home/borges/public_html
and have everythng in place. I moved htaccess contents to
/etc/apache2/conf.d/tdiary as it seemed better to do.
As far as i could tell, the ruby scripts were not being executed:
(apache error logs)
[Sun Oct 31 16:47:24 2004] [error] Premature end of script headers: index.rb
So I installed libapache2-mod-ruby and after including the configuration
for it in /etc/apache/conf.d, I'm now getting:
(apache error logs)
[Sun Oct 31 17:10:52 2004] [error] mod_ruby: error in ruby
[Sun Oct 31 17:10:52 2004] [error] mod_ruby:
/usr/lib/ruby/1.8/apache/ruby-run.rb:53:in `load': No such file to load
-- /home/borges/public_html/diary/update.rb (LoadError)
[Sun Oct 31 17:10:52 2004] [error] mod_ruby: from
/usr/lib/ruby/1.8/apache/ruby-run.rb:53:in `handler'
The file is there and exists.
The only change I made to the example file for modruby
was adding
<Files *.rb>
SetHandler ruby-object
RubyHandler Apache::RubyRun.instance
</Files>
Any ideas on what I'm doing wrong?
Peace,
--
Francisco.
__o
`\<,
_____(*)/(*)_____
Reply to: