[EMAIL PROTECTED] writes:
> -set APXS "apxs"
> +set APXS "/usr/local/apache/bin/apxs"
Hrm... add it to your path? Or is there a better way?
> +TCL_CMD_HEADER( Rivet_AbortPageCmd )
> +{
> + rivet_interp_globals *globals = Tcl_GetAssocData(interp, "rivet",
> NULL);
> + rivet_server_conf *rsc =
> + RIVET_SERVER_CONF( globals->r->server->module_config );
> +
> + if (objc != 1)
> + {
> + Tcl_WrongNumArgs(interp, 1, objv, "");
> + return TCL_ERROR;
> + }
> +
> + Rivet_PrintHeaders(globals->r);
> + Tcl_Flush(*(rsc->outchannel));
> +
> + globals->r->connection->aborted = 1;
> +
> + return TCL_OK;
> +}
Hey, this is cool - how does it work, exactly? It doesn't stop the
script from executing, it just cuts off the page when it is called?
Still not quite 'exit', but better than anything I've got so far.
--
David N. Welton
Consulting: http://www.dedasys.com/
Free Software: http://people.debian.org/~davidw/
Apache Tcl: http://tcl.apache.org/
Personal: http://www.efn.org/~davidw/