Re: [AOLSERVER] TLS package issue

2010-12-06 Thread Michael A. Cleverly
On Mon, Dec 6, 2010 at 10:18 AM, Jeff Hobbs je...@activestate.com wrote: BTW, everyone should be using 1.6.1 because it fixed a mem leak on each tls::status call. I only see 1.6 at http://sourceforge.net/projects/tls/files/tls/ (released on 2008-03-24). Where is the best place to grab 1.6.1?

Re: [AOLSERVER] Data corruption with fastpath caching

2008-08-20 Thread Michael A. Cleverly
On Wed, Aug 20, 2008 at 12:22 PM, Jeff Rogers [EMAIL PROTECTED] wrote: Linux. This tcl page: set fn /tmp/tmpfile[expr rand()] set f [open $fn w] puts $f [ns_queryget data] close $f after 2 ns_returnfile 200 text/plain $fn ns_unlink $fn [after 2] would wait 2 milliseconds. [after 2000]

Re: [AOLSERVER] aolserver and Pgtcl

2008-04-16 Thread Michael A. Cleverly
On Wed, Apr 16, 2008 at 5:20 PM, Bas Scheffers [EMAIL PROTECTED] wrote: On 17/04/2008, at 8:14 AM, Dossy Shiobara wrote: I don't really like bind variables, I would much rather see it implemented like: ns_db select $db select * from people where country = $1 and age $2 [list au 25] You

Re: [AOLSERVER] ns_db and multibyte support

2008-04-03 Thread Michael A. Cleverly
On Thu, Apr 3, 2008 at 4:14 PM, Cynthia Kiser [EMAIL PROTECTED] wrote: H CSV + stupid Windows encoding. Bas perhaps you have just what I need for a character set issue. I have a data file - actually delimited by upsidedown exclamation points, not commas. It never occurred to me to try

Re: [AOLSERVER] how do I

2008-03-20 Thread Michael A. Cleverly
On Wed, Mar 19, 2008 at 11:35 PM, Michael A. Cleverly [EMAIL PROTECTED] wrote: On Wed, Mar 19, 2008 at 9:08 PM, Robert Seeger [EMAIL PROTECTED] wrote: I've never been fond of the fact that AOLServer has no internal redirect mechanism. Rob Mayoff had a small C extension

Re: [AOLSERVER] how do I

2008-03-20 Thread Michael A. Cleverly
On Wed, Mar 19, 2008 at 9:08 PM, Robert Seeger [EMAIL PROTECTED] wrote: I've never been fond of the fact that AOLServer has no internal redirect mechanism. Rob Seeger Rob Mayoff had a small C extension for AOLserver 3.x that included an internal redirect mechanism; I wouldn't be surprised

Re: [AOLSERVER] does aolserver run on IBM server

2006-12-01 Thread Michael A. Cleverly
On 12/1/06, Dossy Shiobara [EMAIL PROTECTED] wrote: I have no idea if AOLserver will run on IBM S390. My gut tells me that if Tcl will build and run there, AOLserver will to. Caveat: AOLserver 4.5.x brought about a bunch of build machinery changes that may mean it won't build everywhere Tcl

Re: [AOLSERVER] aolserver 3.x not running scheduled procs anymore

2006-10-18 Thread Michael A. Cleverly
On 10/18/06, Mark Aufflick [EMAIL PROTECTED] wrote: I remember some time ago (maybe last year) people complaining that their aolserver 3.x servers stopped running scheduled procs. My sole remaining 3.x site didn't exhibit the problem and I didn't pay too much attention. A few weeks ago,

Re: [AOLSERVER] Handling db events in Tcl

2006-09-12 Thread Michael A. Cleverly
On 9/12/06, Titi Ala'ilima [EMAIL PROTECTED] wrote: This would best be asked in a postgres forum, but does anyone happen to know if you can use the socket command in PL/Tcl? I know I can use UTL_TCP in Oracle, and ns_sock* in AOLserver. If you have installed PL/Tcl as a trusted language (as

Re: [AOLSERVER] cron (ie, timed) jobs in aolserver

2006-08-15 Thread Michael A. Cleverly
On 8/15/06, John Buckman [EMAIL PROTECTED] wrote: Anyone have any advice on how to run tasks on a scheduled basis within the aolserver process? Currently, I use cron to run lynx http://bookmooch.com/ nightlyjobs.adp, and that works fine, but was wondering if there was an all-aolserver way, that

Re: [AOLSERVER] Less than virtual

2006-06-02 Thread Michael A. Cleverly
On 6/2/06, William Scott Jordan [EMAIL PROTECTED] wrote: For the most part, this just means that we need to change the style sheet and use Company X's URL instead of our own. What I'm leaning toward doing is grabbing the Host from the HTTP headers and using that to dictate which style sheet

Re: [AOLSERVER] Something wrong after 2006-05-12 21:25 (was Re: Weird memory leak problem in AOLserver 3.4.2/3.x)

2006-05-19 Thread Michael A. Cleverly
On 5/19/06, 'Jesus' Jeff Rogers [EMAIL PROTECTED] wrote: I imagine on Linux it manifests differently; on Solaris I got the EINVAL return from pthread_cond_timedwait (of course it isn't documented that this can mean a bad time, it usually means a bad pointer) but on linux with a different

Re: [AOLSERVER] string is integer returns true

2003-12-15 Thread Michael A. Cleverly
On Mon, 15 Dec 2003, Tom Jackson wrote: I'm trying to see if a value is an integer, using: if {[string is integer ${var}]} { do something } When var is the empty string it returns true, so I have to use: if {!( eq ${var}) ... Is this a bug, or expected behavior? This is expected

Re: [AOLSERVER] string is integer returns true

2003-12-15 Thread Michael A. Cleverly
On Mon, 15 Dec 2003, Tom Jackson wrote: On Mon, 2003-12-15 at 19:59, Dossy wrote: if {[string is integer $var]} { ... do something ... } Interesting shortcut. I wonder why the empty string returns true for every class. With the -scrict switch 1 is also true, so strict

Re: [AOLSERVER] Startup script

2003-11-21 Thread Michael A. Cleverly
On Fri, 21 Nov 2003, Bas Scheffers wrote: Which one do you use? I remember reading about one of those about a year ago, but can't find any now. This is the strategy I had in mind for a site I am working on now. For our site we use AOLserver for the dynamic content and then Mathopd to serve

Re: [AOLSERVER] outgoing http sniffer, http authentication?

2003-09-30 Thread Michael A. Cleverly
On Tue, 30 Sep 2003, Andrew Piskorski wrote: I want to look at the outging HTTP protocol traffic of my own browser, on Linux, and I do have root access on the machine. What's the best or handiest packet sniffing tool to use for this? Ones I've heard of are tcpdump and ethereal. I'd suggest

Re: [AOLSERVER] tDOM question

2003-07-01 Thread Michael A. Cleverly
On Tue, 1 Jul 2003, Alexander Leykekh wrote: ... and another one - why does the following snippet of code fail? What is the proper way to swap values of 2 Tcl variables holding domNodes? If you specify [$doc createElement foo n1] then when n1 is changed or unset (i.e., if within a proc that

Re: [AOLSERVER] Any way to time connections?

2003-03-10 Thread Michael A. Cleverly
uses the server auth - particularly since the admin screens disappeared when the server admin port was introduced. ad_proc log_extra_fields_to_access_log {} { Sticks extra fields into [ns_conn headers] that AOLserver can be configured to log to the access.log file. @author Michael

Re: [AOLSERVER] gzip compression

2003-01-03 Thread Michael A. Cleverly
We've used a slightly modified version of Jim Wilcoxson's rl_returnz for the past 18 months or so. It's been very stable. gzipping at the level of -3 the additional CPU cycles haven't even been noticable, though the drop in our bandwidth usage has been. On Fri, 3 Jan 2003, Nathan Folkman wrote:

Re: [AOLSERVER] Parrot for multi-lang support?

2002-11-12 Thread Michael A. Cleverly
On Tue, 12 Nov 2002, Talli Somekh wrote: Anyway, I hope this helps. Perhaps a potentially new way for thinking about the problem? This idea is currently being discussed on comp.lang.tcl ( cross-posted to other comp.lang groups). http://groups.google.com/groups?th=a0c66514e743b9c6 Michael

Re: [AOLSERVER] URL case insensitivity.

2002-11-08 Thread Michael A. Cleverly
On Fri, 8 Nov 2002, Lamar Owen wrote: This may be an obvious one, but I'm trying to move a site over from an IIS host to an AOLserver one, and the web pages link to mixed-case filenames. However, the filenames are all actually lower case, meaning I get a lot of 404's. With IIS this works

Re: [AOLSERVER] AOLserver Project Update

2002-11-07 Thread Michael A. Cleverly
On Thu, 7 Nov 2002, Gabriel Ricard wrote: Wonderful! Now my only gripe is the multi-dimensional array issue, hehe. At least there are lots of solutions for that problem available. I'm not at all familiar with PHP. Could you describe (possibly included actual PHP code snipets or other

Re: [AOLSERVER] AOLServer 2.3 could be configured to restrict the acc ess to his service.

2002-10-24 Thread Michael A. Cleverly
On Thu, 24 Oct 2002, Peter M. Jansson wrote: AOLserver 2.3 includes a web interface to the permissions database, available from http://yourservername/NS/Admin which you can use to add the restriction to a part of your page tree by hostname. Make sure you add permission records for both GET

Re: [AOLSERVER] ns_get_multipart_formdata

2002-09-04 Thread Michael A. Cleverly
On Wed, 4 Sep 2002, Brett Schwarz wrote: Just curious, 'file tail' did not work for you? I thought it worked cross platform... It would if the backslashes were converted to forward slashes. (It ought to work with backslashes under Windows.) % set tcl_platform(os) Linux % file tail

Re: [AOLSERVER] file upload vulnerability in AOLserver

2002-08-09 Thread Michael A. Cleverly
On Fri, 9 Aug 2002, Tom Jackson wrote: I have noticed a file upload vulnerability in AOLserver that can be exploited to potentially read, expose or copy the contents of any file readable by the user account under which AOLserver runs. This vulnerability does not exist in the ArsDigita

Re: [AOLSERVER] malformed bucket chain in Tcl_DeleteHashEntry

2002-04-22 Thread Michael A. Cleverly
On Thu, 18 Apr 2002, Rusty Brooks wrote: The point being, if I had a method to bring one of the shared variables into the current context, like ns_share did, then all other procedures downstream could be blissfully unaware if they were shared or not. How about using variable read/write

Re: [AOLSERVER] TCL question

2002-02-22 Thread Michael A. Cleverly
If you're using nsd8x (and not nsd76) you can get your desired result by using [string map] instead of [regsub]: proc insert_macro { thestring key macro} { return [string map [list $key $macro] $thestring] } See:

Re: [AOLSERVER] Code Rainbow attacks

2001-09-18 Thread Michael A. Cleverly
The web server will respond with some amount of traffic. I'd imagine the 302 redirect response would be shorter, overall, than a 404 response with a not found page--especially if the site has a custom 404 page. If the worm actually follows the redirect it will end up talking to itself and,

[AOLSERVER] Can nsssle certificates be made to work with nsopenssl?

2001-09-12 Thread Michael A. Cleverly
Is it possible to use an existing certificate (created originally with AOLserver 2.3 the nsssle module and signed by Verisign) with nsopenssl, or do new keys have to be generated (and either self-signed or purchased from Verisign or another CA)? Thanks, Michael

Re: [AOLSERVER] conditional code in an ADP

2001-04-10 Thread Michael A. Cleverly
On Tue, 10 Apr 2001, Rob Mayoff wrote: Note that "some HTML" and "some different HTML" must NOT contain any %...% blocks. If you need nested %...% blocks, you'll need to use multiple files and ns_adp_include. I think someone might have once written an alternate ADP parser that lets you do