From: tom@... (Tom Danielsen) Date: 2002-11-26T18:46:02+09:00 Subject: Re: Q: mod_ruby may be NPH? On Tue, 26 Nov 2002 08:59:46 +0900, Tim Bates wrote: > On Tue, 26 Nov 2002 09:54 am, Tom Danielsen wrote: > > r = Apache.request > > r.content_type = 'text/html' > > r.send_http_header > > exit(Apache::OK) if r.header_only? > > print < > > > > >

mod_ruby test

> > > > > > END > > I find that I don't need the "exit(Apache::OK) if r.header_only?" stuff and it > still gives me only the headers if I send a HEAD request. Is this stuff done This is how it's supposed to be - read up on HTTP. > automatically by cgi.rb? If so, could people be told about this please? > From apache via mod_ruby, cgi.rb is not used (is this example). -t