Thank you Rani

I ran your script with my stock rivet (2.1.3) shipped with Linux Mint and it failed because the form '::rivet::inspect server' was introduced with Rivet 2.2.0. I will add a test on the rivet version and conditionally run this part of the code

 -- Massimo

On 05/17/2015 01:02 PM, Rani Ahmed wrote:
OK.. Now, like I promised I made the command /rivet_info/ and published
it on the wiki based on your response.
Here is the wiki page: http://wiki.tcl.tk/41443
here is a demo on my website: http://superlinux.net/info.rvt

I hope Massimo likes it with the embedded logo of Rivet.

On Fri, May 15, 2015 at 11:58 AM, Massimo Manghi
<[email protected] <mailto:[email protected]>> wrote:

    We don't have something able to print the plenty, nifty and verbose
    information phpinfo can output. But mod_rivet has an (undocumented)
    array named 'server' setup when each Tcl interpreter is created and
    set up. If for some reason your Tcl code tampers with this array
    data can be lost or changed. To preserve its content for subsequent
    requests you should create your private copy

    running 'parray server' on my Linux Mint PC prints

    server
    server(MPM_FORKED)    = dynamic
    server(MPM_THREADED)  = unsupported
    server(RIVET_DIR)     = /usr/lib/tcltk/rivet2.1
    server(RIVET_INIT)    = /usr/lib/tcltk/rivet2.1/init.tcl
    server(RIVET_VERSION) = 2.1.3
    server(SERVER_CONF)   = /etc/apache2/apache2.conf
    server(SERVER_ROOT)   = /etc/apache2

    Also command ::rivet::inspect returns configuration information
    about mod_rivet and also provides a consistent replacement for [info
    script]. This command is explained in the on-line manual

      -- Massimo

    On 05/15/2015 04:23 AM, Rani Ahmed wrote:

        I have updated my website http://www.superlinux.net to rivet
        2.2.2.  The
        link named /products /
        uses sqlite and rivet . I have debian jessie. i have also
        ActiveTcl 8.6
        as my Tcl interpreter. I compiled rivet 2.2.2 against ActiveTcl. I
        installed the rivet too. I want the phpinfo() equivalent in
        rivet so i
        can confirm it works just fine and also display the current
        rivet version.



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

Reply via email to