Re: RubyTransHandler confusion

Shugo Maeda <[email protected]> Wed, 12 Jan 2005 23:23:35 +0900
Newsgroups gmane.comp.apache.mod-ruby
Message-ID <[email protected]>
Hi,

khaines wrote:
> I am very confused.  The current mod_ruby docs clearly show a 
> RubyTransHandler being used inside of a <Location> tag.  I know that this 
> used to work as of an old stable release -- 1.08 or something around there.
> 
> However, with current releases, every time I try to use a RubyTransHandler 
> inside of a <Location>, I get an error telling me that it's not allowed 
> there.
> 
> Is this right or am I just doing something wrong?  Example:

It was changed in version 1.0.1.
from ChangeLog:

Fri Aug 23 12:06:53 2002  Shugo Maeda <[email protected]>

         * mod_ruby.c: RubyTransHandler and RubyPostReadRequestHandler
         are allowed only globally or in <VirtualHost> now.
         Thanks, Eugene Scripnik <[email protected]>.

It was suggented in this ML.

http://lists.modruby.net/ml/archive/modruby/200208.month/519.html

mod_perl and mod_python have the same restriction, so please forgive me.

Shugo