... or make your web scripts portable to different web servers and OS's.
I'm working on a portable API at the moment.  If there's enough interest I
might be able to talk my management into distributing it, or even
open-sourcing it.  This would free up server-side scripters from dependency
on IIS, or (in this case) AOLserver, or Apache, or whatever as long as it
can be made to execute TCL.

--
Mark Hubbard: [EMAIL PROTECTED]
Microsoft Certified Professional

"Never apply a Star Trek solution to a Babylon 5 problem."

-----Original Message-----
From: Daniel Page <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
Date: Monday, September 17, 2001 2:06 PM
Subject: Re: Dumb newbie question - Solution


>That would be great, especially for guys like me, weened on Microsoft out
of
>the box up and running (tm) ;-)
>All I have to do is get used to the ns_ prefix for most of the TCL
>instructions (ns = navisoft ?)
>
>Cordially,
>
>Daniel Page
>----- Original Message -----
>From: "Mark Hubbard" <[EMAIL PROTECTED]>
>To: <[EMAIL PROTECTED]>
>Sent: Monday, September 17, 2001 8:05 PM
>Subject: Re: [AOLSERVER] Dumb newbie question - Solution
>
>
>Great - glad to help.  The description is a bit off.  More importantly
>though, could this be changed to default to True in future win32
>distributions so this stumbling block is removed entirely?  I assume if
that
>is what makes it work, then the existing installations of aolserver are all
>running with True??  Why not have it as a default then?
>--
>Mark Hubbard: [EMAIL PROTECTED]
>Microsoft Certified Professional
>
>"Never apply a Star Trek solution to a Babylon 5 problem."
>
>-----Original Message-----
>From: Daniel Page <[EMAIL PROTECTED]>
>To: AOLserver Discussion <[EMAIL PROTECTED]>; Mark Hubbard
><[EMAIL PROTECTED]>
>Date: Monday, September 17, 2001 12:49 PM
>Subject: [AOLSERVER] Dumb newbie question - Solution
>
>
>>Found it ! - enabletclpages.
>>The default in the config file is  ns_param enabletclpages false.
>>
>>The description for this element is "Parse *.tcl files in pageroot"
>>
>>Setting this value to true enables the server to interpret embedded TCL
>>statements in <% ... %> under ADP pages.
>>
>>The description for this line could be clearer, as at a glance, it seems
>>that it will only process .TCL files (i.e. tcl libraries?), but it seems
to
>>activate all tcl processing...
>>
>>Cordially,
>>
>>Daniel Page
>>
>>----- Original Message -----
>>From: "Mark Hubbard" <[EMAIL PROTECTED]>
>>To: <[EMAIL PROTECTED]>
>>Sent: Monday, September 17, 2001 4:18 PM
>>Subject: Re: [AOLSERVER] Dumb newbie question
>>
>>
>>Hi Daniel.  I'm running that binary too, and had the same problem at one
>>time.  I don't remember how I fixed it.  Try my config file (attached)
(of
>>course it's executable code so look through it make sure you like what you
>>see before running).  You can also look closely at the line:
>>ns_param   enabletclpages  true     ;# Parse *.tcl files in pageroot.
>>Though that shouldn't affect ADP's.
>>
>>Also try hitting the aolserver from another machine with Netscape, or a
>>significantly different version of IE (I assume you use IE).  I've had
>>problems with IE apparently using the file extension from the URL to
>>determine MIME type of the content, even when the server returns the
>correct
>>MIME type.  This occurs equally with their own IIS.  You can also try
>typing
>>the URL with http://myipaddress since it probably uses the syntax of the
>URL
>>to decide whether to use the given MIME type or try to guess it based on
>>file extension.
>>
>>I'm copying you directly on this message so you can get the attached file.
>>I assume the listserv won't send the file.  You can ignore any database
>>drivers there that won't load on your configuration.  They won't hurt
>>anything.
>>--
>>Mark Hubbard: [EMAIL PROTECTED]
>>Microsoft Certified Professional
>>
>>"Never apply a Star Trek solution to a Babylon 5 problem."
>>
>>-----Original Message-----
>>From: Daniel Page <[EMAIL PROTECTED]>
>>To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
>>Date: Saturday, September 15, 2001 2:04 PM
>>Subject: Dumb newbie question
>>
>>
>>Hi,
>>
>>I have just installed the pre-compiled Windows version of AOLServer, and
am
>>running NSD.EXE, and I am having grief with the config file with TCL
>>processing.
>>
>>The test file nstelemetry.adp is served, but instead of the actual data, I
>>get tcl code. After having RTFM, everything seems ok "out of the box"
>> lines like map "/*.adp") but this does not seem to do the trick.
>>
>>Can anyone tell me where I am going wrong?
>>
>>Cordially,
>>
>>Daniel Page
>>
>>

Reply via email to