Rivet (or ''mod_rivet'') is a module of the famous web server Apache. People mostly use PHP scripting language to build websites. However, for those who want to write websites using Tcl instead of PHP, you can use Rivet. And I am one of those rare people who use Rivet instead of PHP on this site address: http://superlinux.net%|%superlinux.net%|% . You will notice in my website, on your address bar of your browser, that the address of the pages ends with ''.rvt'' instead of ''.php'' like what many websites have. Now, to get the runtime status of PHP , one would use the function ''phpinfo()''. At the time of this writing, Rivet is in version 2.2.2 . Yet, Rivet does not have a quickly called function like that. You will need to contact and run a number of commands to get it done for you. What I have done here is re-organizing and re-arranging them mimicking ''phpinfo()'' in a command called ''rivet_info'' . I here put a big thanks to Mr. Massimo Manghi for his help in this. http://superlinux.net/info.rvt%|%Click here for a demo%|% Here is the code of the command ''rivet_info''. Please understand that the logo of Rivet is embeded in the html tag. ''Please copy the function carefully'' ====== proc rivet_info { } { #This procedure prints all general runtime info of an apache web server running mod_rivet #It's the equivalent of PHP's function phpinfo() in mod_rivet ?> # print the rivet logo puts {
} puts {
Configuration | Value |
---|---|
$key | $value |
$key | $value |
Configuration | Value |
---|---|
$key | $value |
Name | Version |
---|---|
$pkg_name | $pkg_version |