Hi,
I could successfully run mod_dtcl with apache-web server. I am trying to execute 
procedures provided by cgi.tcl inside in a .html file (AddType application/x-httpd-tcl 
.html in httpd.conf). Its recognizing some procedures like cgi_title, cgi_body etc but 
not others. Eg. for cgi_table, it get the following error:

***************************************************************************
invalid command name "cgi_table"
    while executing
"table table border=0 cellpadding=0 cellspacing=0 width=100% {

        table_row {
                td bgcolor=#E6E6E6 " "
                td width=70% bgcolor=#E6E6E6 " "
                td width=30%..."
    (in namespace eval "::request" script line 22)
    invoked from within
"namespace eval request {
buffer_add ""

source cgi.tcl
cgi_title "Status Page for IP35"
cgi_body LINK=#0000FF VLINK=#800080 ALINK=#FF0000 SIZE=2 borde..."

--------------------------------------------------------------------------------

OUTPUT BUFFER:


--------------------------------------------------------------------------------


namespace eval request {
buffer_add ""

source cgi.tcl
cgi_title "Status Page for IP35"
cgi_body LINK=#0000FF VLINK=#800080 ALINK=#FF0000 SIZE=2 border=0 

table table border=0 cellpadding=0 cellspacing=0 width=100% {

        table_row {
                td bgcolor=#E6E6E6 " "
                td width=70% bgcolor=#E6E6E6 " "
                td width=30% bgcolor=#E6E6E6 " "
                td [cgi_imglink one]
        }

        table_row {
                td bgcolor=#E6E6E6 " "
                td width=100% bgcolor=#D5D5D5 colspan=2 height=21 cgi_bold [cgi_font 
face=Verdana size=2 "Critical Alerts"]
                td bgcolor=#E6E6E6 "
        }
        table_row {
                td bgcolor=#E6E6E6 height=21 " "
                td width=100% bgcolor=#E6E6E6 colspan=2 height=21 [cgi_iframe 
id=cricalerts src=cricalerts.html width=100% height=80 frameborder=0 scrolling=auto {}]
                td bgcolor=#E6E6E6 height=21 " "
        }

        table_row {
                td bgcolor=#E6E6E6 " "
                td width=100% bgcolor=#D5D5D5 colspan=2 height=21 cgi_bold [cgi_font 
face=Verdana size=2 "Login Details"]
                td bgcolor=#E6E6E6 " "
        }
        table_row {
                td bgcolor=#E6E6E6 height=21 " "
                td [cgi_iframe id=cricalerts src=accounting_ssi.html width=100% 
height=80 frameborder=0 scrolling=auto {}]
                td bgcolor=#E6E6E6 height=21 " "
        }
}

 hputs "
"

}
********************************************************************************

Why am i getting these errors ?

Reema.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to