From: "Stathy G. Touloumis" Date: 2002-03-28T03:15:14+09:00 Subject: RE: mod_ruby question Perhaps when Apache 2.0 comes out it should be possible in a threaded environment to specify modules/classes etc. on a vhost basis. Although, mod_ruby will need to be written to take advantage of this : ) > > Can the directive RubyRequire be placed in a ? > > Yes. > > > When I have tried to it doesn't seem to work. It's annoying having > > to have <%require 'library'%> at the top of every .rhtml file, but I > > can't use RubyRequire server-wide as the machine is multi-user with > > lots of other vhosts. > > Hmm.... I haven't tried doing this yet, but suppose I should because > I suffer from the same over use of require across my sites too. A > quick glance over the code seems to indicate that this isn't possible, > but I'd love to be wrong. -sc