On 11/12/2012 08:38 AM, Marco Pallante wrote:
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 think so. ErrorScript is handled by RivetUserConf directives and they work in .htaccess if this method is enabled. So try using this configuration

RivetUserConf ErrorScript "...:"

and let us know

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.

very interesting. Again let us know about it.

 -- Massimo


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to