Hi, I am an AOLServer newbie and am facing a wierd problem.
I modified the config.tcl file to parse TCL pages in page root. When I start aolserver in the foreground, this what I get confirming that parse TCL pages is enabled: ...snip... [10/Jan/2003:23:44:01][368.134529024][-main-] Notice: conf: [ns/server/server1]enabletclpages = 1 [10/Jan/2003:23:44:01][368.134529024][-main-] Warning: The use of ns_share may result in increased lock contention. We recommend the use of nsv for process scope variables. [10/Jan/2003:23:44:01][368.134529024][-main-] Notice: tcl: enabling .tcl pages [10/Jan/2003:23:44:01][368.134529024][-main-] Notice: tcl: generating interp init script ...snip... First question - What is this warning about ns_share and how do I get rid of it...where can I find nsv? Second question - I invoke a TCL script called time.tcl stored in pageroot of server1 using http://localhost:8000/time.tcl. AOLServer prints the output of the script to the console instead of sending it to the browser!!! What am I doing wrong? Here is my TCL script: -=- ~/aolserver/server/server1/pages/time.tcl puts stdout "Content-Type: text/html\n" puts stdout "<title>The Current Time</title>" puts stdout "The time is <b>[clock format [clock seconds]]</b>" -=- OS: Freebsd 4.7-Release Aolserver: 3.5.1 Hope someone could help me with these questions. Thanks in advance, Raj
