> This should continue with other information starting with > > OUTPUT BUFFER: > > usw.
Yes, it does. I just cut down the output to the part it shows the problem. > > Which is the output generated by > > proc handle_error {} { > global errorInfo > global errorOutbuf > > puts <PRE> > puts "<HR>$errorInfo<HR>" > puts "<P><B>OUTPUT BUFFER:</B></P>" > puts $errorOutbuf > puts </PRE> > } > > > which is the default error handler. You can install a custom error handler > with the ErrorScript directive and in case customize the output for your > needs or fire other code. If the headers haven't been sent already (usual > true while executing BeforeScript) you can redirect the request to another > URL Can that be changed using the .htaccess file? Or do I need to touch the virtual host config? I don't want to use the second way, because I'm trying to reproduce the basic features of PHP frameworks, such as CodeIgniter or CakePHP, using Tcl and Rivet, so I have to imagine a context where you get some user space with an ftp access, you can put everything you want there, but you don't have any access to the system configuration, because it's a third-part provider. > Did you try to put this in a ChildInitScript? It should rename the procedure > once for all as long as the interpreter exists Same as before > are you sure you haven't a bug somewhere in the way you call the ::unknown > error handler? I don't think so. The code I posted is exactly what I put in my .rvt file, a minimum base which reproduces what I got in a little more complex code. Same as the right Tcl code, which I directly typed in interactive tclsh. Thank you very much, Marco --------------------------------------------------------------------- To unsubscribe, e-mail: rivet-dev-unsubscr...@tcl.apache.org For additional commands, e-mail: rivet-dev-h...@tcl.apache.org