tdiary and modruby
From: Francisco Borges (frandebo_at_latt.if.usp.br)
Date: 10/31/04
- Previous message: Maurits van Rees: "Re: executing spamassassin from sieve on some of the messages"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sun, 31 Oct 2004 14:25:31 -0200 To: Debian User <debian-user@lists.debian.org>
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
`\<,
_____(*)/(*)_____
--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
- Previous message: Maurits van Rees: "Re: executing spamassassin from sieve on some of the messages"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]