Re: [AOLSERVER] gzip compression

2003-01-05 Thread Nathan Folkman
In a message dated 1/3/03 3:12:12 PM, [EMAIL PROTECTED] writes: rename ns_return ns_return_safe rename ns_returnz ns_return Thanks to everyone who has responded thus far - great info! What about having a server config boolean to enable or disable gzip encoding globally for all content? Anyone

Re: [AOLSERVER] gzip compression

2003-01-05 Thread Jim Wilcoxson
Before investing a lot of time/energy into storing the gzip results, someone may want to do some benchmarks. For a low-volume site, nothing matters. On a high-volume site, storing a large cache of gzip results on disk will put more pressure on the memory subsystem. If someone decides that

Re: [AOLSERVER] gzip compression

2003-01-05 Thread Jim Davidson
In a message dated 1/5/2003 1:45:26 PM Eastern Standard Time, [EMAIL PROTECTED] writes: Before investing a lot of time/energy into storing the gzip results, someone may want to do some benchmarks. For a low-volume site, nothing matters. On a high-volume site, storing a large cache of gzip results

Re: [AOLSERVER] gzip compression

2003-01-05 Thread Peter M. Jansson
On Sun, 5 Jan 2003, Jim Davidson wrote: I'm not sure this could be done well in a single, global manner. Instead, hooks for the three most common request paths directly in the aolserver core may be needed: [snip] perhaps this stuff should be a compile time option triggered on with a

[AOLSERVER] path to nsd binary from nsd.tcl?

2003-01-05 Thread Andrew Piskorski
Is there any Tcl command which to tell me the the command used to start nsd, which I can use WHILE sourcing the nsd.tcl config file? For example, if I start nsd with /web/aol3/bin/nsd, [ns_library shared] will return /web/aol3/modules/tcl, which would work for this, EXCEPT that the ns_library

Re: [AOLSERVER] path to nsd binary from nsd.tcl?

2003-01-05 Thread David Walker
[ns_info nsd] will give you the path to the binary you used to start nsd. Is that enough? On Sunday 05 January 2003 04:51 pm, Andrew Piskorski wrote: Is there any Tcl command which to tell me the the command used to start nsd, which I can use WHILE sourcing the nsd.tcl config file? For

Re: [AOLSERVER] path to nsd binary from nsd.tcl?

2003-01-05 Thread Janine Sisk
My config files use set homedir [file dirname [ns_info config]] for this. Of course, this only works if your config file lives in the right place. janine On Sunday, January 5, 2003, at 05:51 PM, Andrew Piskorski wrote: Is there any Tcl command which to tell me the the

Re: [AOLSERVER] path to nsd binary from nsd.tcl?

2003-01-05 Thread Tom Jackson
Andrew, global argv set nsd_with_path [lindex $argv 0] Now $nsd_with_path has possibly what you want. Works for me at the top of nsd.tcl You might need to somehow massage this if you start nsd relative to you pwd. Maybe using the pwd command with this. Andrew Piskorski wrote: Is there any

Re: [AOLSERVER] path to nsd binary from nsd.tcl?

2003-01-05 Thread Andrew Piskorski
On Sun, Jan 05, 2003 at 05:04:34PM -0600, David Walker wrote: [ns_info nsd] will give you the path to the binary you used to start nsd. Is Perfect! I missed that one somehow, oops. Thanks, David. -- Andrew Piskorski [EMAIL PROTECTED] http://www.piskorski.com

Re: [AOLSERVER] path to nsd binary from nsd.tcl?

2003-01-05 Thread Andrew Piskorski
On Sun, Jan 05, 2003 at 06:30:14PM -0500, Janine Sisk wrote: My config files use set homedir [file dirname [ns_info config]] Yes, a very useful command, which I use for other purposes. But I keep my nsd.tcl under CVS in the server root with the rest of my website files, in