https://issues.apache.org/bugzilla/show_bug.cgi?id=55583

--- Comment #5 from David McNett <nug...@macnugget.org> ---
I am able to reproduce the problem by also adding an ErrorScript config to
Rivet in httpd.conf.  If I don't define an ErrorScript the problem does not
seem to occur.

I've attached working (very minimal) Apache httpd.conf which should allow
others to reproduce the problem.

RivetServerConf ChildInitScript "proc error_handler {} { headers numeric 500 ;
puts $::errorInfo }"
RivetServerConf ErrorScript error_handler

<? headers redirect http://yahoo.com/ ?> produces the following traceback:

"command returned bad code: 0 while executing "namespace eval request { puts
-nonewline "" headers redirect http://flightaware.com/ puts -nonewline " " }""

<? headers add x-cow moo ?> performs as expected.

<? bogus_command_that_doesnt_exist ?> calls error_handler as expected.

Rivet 2.1.2, Apache 2.2.25, Tcl 8.6.1 as installed by fresh FreeBSD ports on
FreeBSD 9.1-RELEASE.

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: rivet-dev-unsubscr...@tcl.apache.org
For additional commands, e-mail: rivet-dev-h...@tcl.apache.org

Reply via email to