From: ironsoup Date: 2004-12-09T01:52:31+09:00 Subject: Apache Request Object Method Undefined? Hello all. I'm fairly new to Ruby/mod_ruby and while running a few tests I have run into this error: ------------------------------------------------------------------------------ /home/http2/public_html/randomimg.rhtml:7: undefined method `document_root' for # (NoMethodError) from (eval):53 from /usr/local/lib/ruby/1.8/apache/eruby-run.rb:116:in `eval_string_wrap' from /usr/local/lib/ruby/1.8/apache/eruby-run.rb:116:in `run' from /usr/local/lib/ruby/1.8/apache/eruby-run.rb:72:in `handler' ------------------------------------------------------------------------------ Isn't document_root a valid method for the Apache request object? Greatly appreciate any feedback. Thanks!