Re: returning HTTP codes from RubyAuthenHandler _and_ a script?

Shugo Maeda <[email protected]> Tue, 16 Aug 2005 10:51:15 +0900
Newsgroups gmane.comp.apache.mod-ruby
Message-ID <[email protected]>
Hi,

SteveC wrote:
> So the problem is when I try to return a response code from bar.rbx I
> keep getting errors saying 'return can't jump across threads'. This only
> happens when using the RubyAuthenHandler. So can the bar.rbx script
> override the RubyAuthenHandler's response code, or something?

How did you specify the response code in bar.rbx?
You don't need to use `return' to specify a response code.
Please use `exit' instead.

  exit(Apache::NOT_FOUND)

Shugo