========================================================================= Date: Wed, 31 Jul 1996 15:33:06 -0700 Reply-To: Web Development with GNNserver and GNN Hosting Service Sender: Web Development with GNNserver and GNN Hosting Service From: Chris Umali Subject: Random Web Images Comments: To: GNNHOST-L@SERVICES.WEB.AOL.COM Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Hello, Has anyone implemented a random image generator in their web site? Would using tcl be a great option, or cgi? This image generator would display random banners like the Yahoo and CNet web sites. Any suggestions, or clues? Have a nice day, Chris Umali Assistant WebMaster Envision Group, NetWerks chris@netwerks.com http://www.netwerks.com 310-523-2000 ========================================================================= Date: Thu, 1 Aug 1996 10:42:32 +0100 Reply-To: Web Development with GNNserver and GNN Hosting Service Sender: Web Development with GNNserver and GNN Hosting Service From: Thomas Dachsel Subject: Running AOLserver 2.033 and Illustra 3.1 under Windows NT 4.0 Comments: cc: hek@ger.sas.com, gerroh@ger.sas.com, gerkug@ger.sas.com Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Jim: At 00:01 23.07.96 -0400, Jim Davidson wrote: > >At 03:47 PM 7/22/96 -0400, Joseph Heitzman wrote: >>I am trying to install AOLserver into Win NT 4.0. When I do, I get >>an error about Win95 not being supported. Has anyone come up with >>a work around for this? I would prefer to use AOLserver, but if I >>can't under this version of NT, I'm stuck with IIS. > > >The message is a warning because the InstallShield program used for setup >believes NT 4.0 is Win95. You can safely continue the installation. The same applies for Illustra 3.1, however you cannot continue the installation there. I had to boot to NT 3.51 in order to perform the Illustra installation, and then copy some files from the NT 3.51 SYSTEM32 directory to the NT 4.0 SYSTEM32 directory, and transfer the registry keys HKEY_LOCAL_MACHINE\SOFTWARE\Illustra HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Illustra default HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Illustra ELM from the Windows NT 3.51 registry to the Windows NT 4.0 registry. You have to be sure to setup a user "miadmin" and have the two services "Illustra default" and "Illustra ELM" start under the miadmin account. Now these two services run fine on my Windows NT 4.0 machine, and AOLserver 2.033 comes up with both nsdb.dll (nsill.dll) and nstext.dll running. Only problem is that when issuing "net start AOLserver" you get the error message: The AOLserver service is starting............. The AOLserver service could not be started. More help is available by typing NET HELPMSG 3523. Nevertheless, the AOLserver service runs just fine after that. Regards, Thomas -- Thomas Dachsel Special Knowledge Group / National Language Support SAS Institute GmbH, P. O. Box 10 53 07, D-69043 Heidelberg, Germany ========================================================================= Date: Thu, 1 Aug 1996 09:53:31 -0700 Reply-To: Web Development with GNNserver and GNN Hosting Service Sender: Web Development with GNNserver and GNN Hosting Service From: gnat Subject: User names and passwords not updating? MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Hi all, I am working on a module that will do extensive work with the nsperm module in C. The problem I am having is that if I change a users password it still recognises the old password until the server is stopped and restarted. It also does not recognise new users until after a restart and I would assume permission records will be the same (haven't gotten that far yet). Has anyone had this problem? Does anyone have any ideas? The exact command I am using is Ns_PasswordCheck(hServer, user, password). I am running the 2.03x SGI server. Thanks, Dave David Whittle Internet Systems Developer Digital City, Inc. (P) (703) 918-2465 (F) (703) 918-1207 (E) gnat@aol.net ========================================================================= Date: Thu, 1 Aug 1996 03:07:23 -0400 Reply-To: Web Development with GNNserver and GNN Hosting Service Sender: Web Development with GNNserver and GNN Hosting Service From: Axel Rebai Subject: pb to run script CGI Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" hi, I try to install the product Excite for Web Server on my NT server 3.51 with run with WEB server GNN I use netscape client 2.0 start the installation with the command: http://mysite/cgi-bin/AT-start.exe? This command is specify in documentation of Excite product, the documentation specify to pu the charcater **?** at the end of the URL because some web server require this character in order for to recognize that it is a script to be executed and not downloaded. BUT: The browser netscape ask me always where it must save the file AT-start.exe It's impossible to execute the script for start the configuration Can't give me a idea thanks ________________________________________________________ Axel Rebai A.R.D.E.P Esplanade diderot 42300 Roanne France Tel 77 71 20 00 Fax 77 72 52 99 ________________________________________________________ ========================================================================= Date: Thu, 1 Aug 1996 08:34:06 -0700 Reply-To: Web Development with GNNserver and GNN Hosting Service Sender: Web Development with GNNserver and GNN Hosting Service From: Chris Umali Subject: Database Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Hello, I was wondering, does anyone know how I can import a whole database into the illustra database? I have this CSV database, and I would like to insert it to the illustra database. But before I do this, I need to convert it to a tab seperated. Has anyone done this? If so, can you give me procedures in doing such a task. Thanks, Chris Umali Assistant WebMaster Envision Group, NetWerks chris@netwerks.com http://www.netwerks.com 310-523-2000 ========================================================================= Date: Thu, 1 Aug 1996 12:20:18 -0700 Reply-To: Web Development with GNNserver and GNN Hosting Service Sender: Web Development with GNNserver and GNN Hosting Service From: gnat Subject: Re: User names and passwords not updating? Comments: To: "Jason Y. Chiang" In-Reply-To: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On Thu, 1 Aug 1996, Jason Y. Chiang wrote: > I dunno if I am right or not. Is that not a problem on server but client > side? I mean, even when you have changed the user's password and he has > already logged on, his browser won't feel the change in the same session. > I hope I am helping you. > Please let me know how you solve the problem. I am also interested. Actually it is more a matter of if something is changed in the permissions (password change, user added/deleted, etc...) my module was still accepting the outdate info (i.e. user password is beavis, the password is changed to butthead, but it only accepts beavis not butthead) until the server is restarted. In the meantime though I have found a/the fix. Prior to playing with permission use ReloadMemory(hServer) and that will get the latest information. Hope that helps someone else too. Thanks, Dave David Whittle Internet Systems Developer Digital City, Inc. (P) (703) 918-2465 (F) (703) 918-1207 (E) gnat@aol.net ========================================================================= Date: Thu, 1 Aug 1996 14:16:47 -0400 Reply-To: Web Development with GNNserver and GNN Hosting Service Sender: Web Development with GNNserver and GNN Hosting Service From: Aleotta@aol.com Subject: Re: Database Chris, I do it all the time. I write load programs in C and C++. That read the CSV and insert the data into Illustra. I also write Lex and Yacc programs to parse the nasty data that I some-times get..... Do you program in C? Tony Leotta ========================================================================= Date: Thu, 1 Aug 1996 15:53:08 -0400 Reply-To: Web Development with GNNserver and GNN Hosting Service Sender: Web Development with GNNserver and GNN Hosting Service From: Jeff Rawlings Subject: Re: Random Web Images Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" At 03:33 PM 7/31/96 -0700, you wrote: >Hello, > Has anyone implemented a random image generator in their web site? >Would using tcl be a great option, or cgi? This image generator would >display random banners like the Yahoo and CNet web sites. Any suggestions, >or clues? There are probably many ways to do this. One, in Tcl, would be to use ns_localtime, pull out the "seconds" component, and choose an image from your list based on that value. This would let you control the percentage of time each image gets displayed; if you felt like it, you could even change the percentages based on the hour, day of the week, etc. Cheers, Jeff Rawlings -- rawlings@primehost.com -- http://www.primehost.com/ Internet Marketing Manager, AOL PrimeHost *Web hosting with multiple-T3 connectivity and 7x24 monitoring *AOLserver software, with relational database and full APIs ========================================================================= Date: Thu, 1 Aug 1996 16:09:08 -0400 Reply-To: Web Development with GNNserver and GNN Hosting Service Sender: Web Development with GNNserver and GNN Hosting Service From: "Peter M. Jansson" Subject: Re: Database Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" >Hello, > I was wondering, does anyone know how I can import a whole database >into the illustra database? I have this CSV database, and I would like to >insert it to the illustra database. But before I do this, I need to convert >it to a tab seperated. Has anyone done this? If so, can you give me >procedures in doing such a task. CSV should be OK, just use the micopy command: micopy table_name from 'somefile.txt' using delimiters ',' Pete. ========================================================================= Date: Thu, 1 Aug 1996 19:16:17 -0400 Reply-To: Web Development with GNNserver and GNN Hosting Service Sender: Web Development with GNNserver and GNN Hosting Service From: "Steve B. Pal" Subject: Are C++ Modules Possible? MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII I've been trying to develop a C++ module for GNNserver, but have encountered many problems along the way. When I tried compiling my module, I was held up by one error in the header file "nsfuncs.h". g++ was getting caught up on the declaration of "Ns_ScheduleProc". I commented the declaration (I didn't use the function anywhere) and compiled the program. It didn't work. I compiled the same program with a C compiler (gcc) and the module worked fine. However, when the module was created using a C++ compiler it doesn't work. Is it just not possible to create C++ modules for GNNserver?!? Any help or comments would be greatly appreciated. _______________________________________________________________________ Steven B. Pal InterDimensions Corp. tel: 617.661.4200 25 Ellery Street fax: 617.661.5807 Webmaster_____________Cambridge, MA 02138__________stevep@interdim.com ========================================================================= Date: Fri, 2 Aug 1996 09:09:47 -0700 Reply-To: Web Development with GNNserver and GNN Hosting Service Sender: Web Development with GNNserver and GNN Hosting Service From: gnat Subject: Can you stop just a module? MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII I know you can use Ns_StopServer(hServer) to stop an entire virtual server. What if you only want to unload a module without affecting the rest of the server? Any one have any ideas? Doug, Jim is it possible? Thanks, Dave David Whittle Internet Systems Developer Digital City, Inc. (P) (703) 918-2465 (F) (703) 918-1207 (E) gnat@aol.net ========================================================================= Date: Fri, 2 Aug 1996 09:52:31 -0400 Reply-To: Web Development with GNNserver and GNN Hosting Service Sender: Web Development with GNNserver and GNN Hosting Service From: Scott Munro Subject: Database Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Chris Umali wrote: >Hello, > I was wondering, does anyone know how I can import a whole database >into the illustra database? I have this CSV database, and I would like to >insert it to the illustra database. But before I do this, I need to convert >it to a tab seperated. Has anyone done this? If so, can you give me >procedures in doing such a task. >Thanks, Chris, While writing a C or C++ routine to append CSV data into your illustra tables will certainly work (as Tony Leotta suggests), if you want to avoid the coding here is an alternate approach: 1. Get a copy of MS Excel. Open up your CSV data and save it out as Tab-delimited. You could also do this in dBase, or a number of other apps, I'm sure. 2. In the server/bin directory for your Navi/GNN/AOL-Server, start nsql from a shell prompt. This will allow you directly execute SQL commands to your Illustra database. See the Server documentation for more info. 3. At the nsql '*' prompt, you can use the micopy command to upload the Tab-delimited file. Ex: * micopy MyTable (MyColumn1, MyColumn2, MyColumn3) from 'MyTabDelData.txt'; It is possible to specify other delimiters for use with the micopy command. You may want to take a look at this in the documentation if you want to avoid step 1. above. Here's two questions from me to anybody: 1. I use the nsql command on both a Silicon Graphics box and Windows NT. When I use micopy to upload large (3000 records or more) tab delimited data files on the Silicon Graphics machine... no problem. When I perform the same operation on Windows NT (from MSDOS prompt), my machine eventially starts thrashing and eventually runs out of virtual memory. Why is it even using virtual memory at all? Both machines have plenty of memory and little else running on them. 2. In the Windows NT installation, an interesting app called the "Illustra Query Tool-32" is installed. Can't seem to get it to connect to my database. I'm assuming that the Illustra License that comes with the GNNServer does not cover the use of this app. Am I right, or am I screwing up somewhere? Thanx, Scott Munro Aardvark Interactive, LLC ========================================================================= Date: Fri, 2 Aug 1996 16:02:04 +0200 Reply-To: Web Development with GNNserver and GNN Hosting Service Sender: Web Development with GNNserver and GNN Hosting Service From: Franz Rohner Subject: Re: pb to run script CGI In-Reply-To: <199608010707.DAA19310@services.web.aol.com> Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Hi, I am running AOLserver on HP-UX. I just installed Excite for Web server (free) and it works. Don't ask me why. I just followed instructions from Excite-Architext. Franz Rohner ========================================================================= Date: Fri, 2 Aug 1996 09:18:07 +0000 Reply-To: Web Development with GNNserver and GNN Hosting Service Sender: Web Development with GNNserver and GNN Hosting Service From: William H Powell Subject: Random Web Images In-Reply-To: your message <199608020400.AAA12175@services.web.aol.com> of Fri Aug 2 00:00:22 -0400 1996 Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Chris, I've been looking into a random TCL function as well. If nothing else shows up, I'll probably implement in C. Here is a code snip for the current date in mm/dd/yyyy format You could modify my mess to extract the day-of-year, hours, minutes and seconds to produce a UNIQUE (but not random) number. Bill Powell AT&T Technical Education wpowell@att.com # Refer to GNNServer TCL Developer's Guide - Page 40 for # NS_LocalTime Function and Results # # NOTE - NS_LocalTime returns an array of valuse. You only # need to extract those values that you actually use. # # Do the time warp - again set time [ns_localtime] set year [expr [lindex $time 5] + 1900] # PLEASE NOTE the need to "update" yer code on 01/01/2000 set month [expr [lindex $time 4] + 1] set day [lindex $time 3] # build the output line append whatever $month/$day/$year # # Permission granted to post in Developers Library of semi- # usefull items. whp # ____________________ Begin Original Message ___________________________ Date: Wed, 31 Jul 1996 15:33:06 -0700 From: Chris Umali Subject: Random Web Images Hello, Has anyone implemented a random image generator in their web site? Would using tcl be a great option, or cgi? This image generator would display random banners like the Yahoo and CNet web sites. Any suggestions, or clues? Have a nice day, Chris Umali Assistant WebMaster Envision Group, NetWerks chris@netwerks.com http://www.netwerks.com 310-523-2000 ========================================================================= Date: Fri, 2 Aug 1996 16:49:53 +0200 Reply-To: Web Development with GNNserver and GNN Hosting Service Sender: Web Development with GNNserver and GNN Hosting Service From: Gaute Amundsen Subject: Re: Database - IQT Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" At 09:52 02.08.96 -0400, you wrote: >Chris Umali wrote: >2. In the Windows NT installation, an interesting app called the "Illustra >Query Tool-32" is installed. Can't seem to get it to connect to my database. >I'm assuming that the Illustra License that comes with the GNNServer does >not cover the use of this app. Am I right, or am I screwing up somewhere? No, quite right. When the GNNServer became free, there was no IQT license. I have been trying to get one from illutra/informix, but they seem unable to handle it. I get referred to an european distributor who doesn't answer his mail..... I am still trying. gaute -- ----------------------------------------------------------- Gaute Amundsen Grafisk InterLink TCL/CGI & Drift Din kurs leverandor gaute@gil.no http://www.GIL.no ----------------------------------------------------------- ========================================================================= Date: Fri, 2 Aug 1996 10:54:03 -0400 Reply-To: pkwu@lehman.com Sender: Web Development with GNNserver and GNN Hosting Service From: Peter Wu Subject: TEXTAREA instead of INPUT in forms.tcl? Hi, What is the correct way for me to change the forms.tcl to allow the editing of text areas instead of just using INPUT? I have multi-lined data in the text fields and INPUT doesn't handle them correctly. Any ideas? I tried to add: text { set widget " to the end of the widget. One thing about editing forms in the browser ... it's a real pain in the butt. Isn't there another way to go? I would like to use emacs or something and just go in there and edit the files and then have someway for the server to notice my changes without having to edit in the browser. There is no way to search. After each update, your position in the textarea editing the tcl script is lost and you are back at the top of the script. Any ideas? -- Peter Wu - pkwu@lehman.com ========================================================================= Date: Fri, 2 Aug 1996 19:24:34 UT Reply-To: Web Development with GNNserver and GNN Hosting Service Sender: Web Development with GNNserver and GNN Hosting Service From: Doug Patton <365_TAO_DigitalBeing@msn.com> Subject: Re: Database - IQT The IQT is an application which must be purchased from Illustra. We use Illustra 3.3 and had to buy the IQT. Or if you are adventurous you can use MSQL and Perl to talk to the Illustra Database. There is a MSQL module which talks to Illustra. ---------- From: Web Development with GNNserver and GNN Hosting Service on behalf of Gaute Amundsen Sent: Friday, August 02, 1996 10:49 AM To: Multiple recipients of list GNNDEVELOPER-L Subject: Re: Database - IQT At 09:52 02.08.96 -0400, you wrote: >Chris Umali wrote: >2. In the Windows NT installation, an interesting app called the "Illustra >Query Tool-32" is installed. Can't seem to get it to connect to my database. >I'm assuming that the Illustra License that comes with the GNNServer does >not cover the use of this app. Am I right, or am I screwing up somewhere? No, quite right. When the GNNServer became free, there was no IQT license. I have been trying to get one from illutra/informix, but they seem unable to handle it. I get referred to an european distributor who doesn't answer his mail..... I am still trying. gaute -- ----------------------------------------------------------- Gaute Amundsen Grafisk InterLink TCL/CGI & Drift Din kurs leverandor gaute@gil.no http://www.GIL.no ----------------------------------------------------------- ========================================================================= Date: Fri, 2 Aug 1996 16:02:58 -0400 Reply-To: Web Development with GNNserver and GNN Hosting Service Sender: Web Development with GNNserver and GNN Hosting Service From: "Steve B. Pal" Subject: Can cgi scripts access the Illustra database? MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII I wanted to start developing some stuff to use Illustra, but it doesn't appear that you can access the database through anything but a module. Is this right, or am I totally missing something? Is it possible to access Illustra through a cgi script? Thanks. _______________________________________________________________________ Steven B. Pal InterDimensions Corp. tel: 617.661.4200 25 Ellery Street fax: 617.661.5807 Webmaster_____________Cambridge, MA 02138__________stevep@interdim.com ========================================================================= Date: Fri, 2 Aug 1996 14:50:12 -0700 Reply-To: Web Development with GNNserver and GNN Hosting Service Sender: Web Development with GNNserver and GNN Hosting Service From: Jim Davidson Subject: Re: Can you stop just a module? Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" At 09:09 AM 8/2/96 -0700, gnat wrote: >I know you can use Ns_StopServer(hServer) to stop an entire virtual >server. What if you only want to unload a module without affecting the >rest of the server? >Any one have any ideas? Doug, Jim is it possible? Hello, Ns_StopServer(hServer) is an undocumented function which never really did the right thing on 2.0 and was removed in 2.1. As for unloading a module, unfortunately the only way to do so is to restart the process. Typically modules provide pointers to functions so it would be very unsafe to unload (or even reload) a module without being absolutely sure it would never be referenced again. Actually, dynamic loading is pretty simple so you could implment your own loader if necessary. On Unix, use the dlopen() function (shl_load on HP) and on NT use LoadLibrary(). Cheers, -Jim _______________________ Jim Davidson jimbo@sb.aol.com Voice: (805) 882-2350 Fax: (805) 899-4316 ========================================================================= Date: Fri, 2 Aug 1996 16:38:29 CDT Reply-To: Web Development with GNNserver and GNN Hosting Service Sender: Web Development with GNNserver and GNN Hosting Service From: "Tank (SPM)" Subject: Preventing dual entry to C DLL in GNN v2.0x MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; X-MAPIextension=".TXT" Content-Transfer-Encoding: quoted-printable Greets all- I have a small problem with a DLL I have written running under GNNServer. The DLL triggers a long procedure (approx 40 sec.) and then returns data = to the user. The problem occurs when the user (waiting for GNN to return data) clicks = on the Submit button a second time. This results in the DLL generating a G.P.F., and stops the GNNServer Serv= ice.... Can anyone tell me how to trap for this situation, and prevent the dual-e= ntry error from occurring? Thanks. =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Tank (SPM) Sean P. McNamara Tank@PG.NET The Planet Group, Inc. Network Operations Center Voice: (312) 772-8333 Fax: (312) 772-9214 ========================================================================= Date: Fri, 2 Aug 1996 14:59:01 -0700 Reply-To: Web Development with GNNserver and GNN Hosting Service Sender: Web Development with GNNserver and GNN Hosting Service From: Jim Davidson Subject: Re: Can cgi scripts access the Illustra database? Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" At 04:02 PM 8/2/96 -0400, Steve B. Pal wrote: >I wanted to start developing some stuff to use Illustra, but it doesn't >appear that you can access the database through anything but a module. > >Is this right, or am I totally missing something? > >Is it possible to access Illustra through a cgi script? You can use the nsql program in the aolserver bin directory to send queries to the database from a shell command. Use the -c option, something like: nsql -U miadmin -s default nsdb -c 'select * from mytable;' Note that this is much slower to execute than through the Tcl API where the database connections are automatically held open between connections. Cheers, -Jim _______________________ Jim Davidson jimbo@sb.aol.com Voice: (805) 882-2350 Fax: (805) 899-4316 ========================================================================= Date: Mon, 5 Aug 1996 06:55:14 -0700 Reply-To: Web Development with GNNserver and GNN Hosting Service Sender: Web Development with GNNserver and GNN Hosting Service From: Jim Davidson Subject: Re: Preventing dual entry to C DLL in GNN v2.0x Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" At 04:38 PM 8/2/96 CDT, Tank (SPM) wrote: >Greets all- > >I have a small problem with a DLL I have written running under GNNServer. > >The DLL triggers a long procedure (approx 40 sec.) and then returns data to the user. > >The problem occurs when the user (waiting for GNN to return data) clicks on the Submit button a second time. > >This results in the DLL generating a G.P.F., and stops the GNNServer Service.... > >Can anyone tell me how to trap for this situation, and prevent the dual-entry error from occurring? Sounds like your code is not "thread safe" or "reentrant". Typically you'll need to either rewrite your code so it can be executed simultaneously by multiple threads or protect the unsafe areas through the use of an Ns_Mutex or other thread synchronization object in the GNN/AOLserver nsthreads interface. A list of nsthread functions are available at: http://www.aolserver.com/server/docs/2.0/html/c-ch3.htm and a nice table of how nsthread objects compare to platform specific objects are listed on: http://www.aolserver.com/server/docs/2.1b/html/v21-ap74.htm The Visual C++ Win32 documentation also contains a nice section on multithreading. Note: The nsthread interface is a thin platform-independent layer over the corresponding platform-specific functions (for example, Ns_LockMutex simply calls the underlying the Win32 WaitForSingleObject on NT) but this isn't always the case. In particular the Ns_BeginThread function does some initialization and cleanup around the underlying thread creation function so you should not mix the interfaces. Because nsthreads provides all the basic functions this is almost never needed. In fact, nsthreads provides more functionality than most vendor interfaces, for example condition variables and thread local storage cleanup on NT and semaphores on HP and OSF platforms. Cheers, -Jim _______________________ Jim Davidson jimbo@sb.aol.com Voice: (805) 882-2350 Fax: (805) 899-4316 ========================================================================= Date: Fri, 2 Aug 1996 20:52:47 -0400 Reply-To: Web Development with GNNserver and GNN Hosting Service Sender: Web Development with GNNserver and GNN Hosting Service From: "Peter M. Jansson" Subject: Re: Database Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" >1. Get a copy of MS Excel. Open up your CSV data and save it out as >Tab-delimited. You could also do this in dBase, or a number of other apps, Oy! > > >* micopy MyTable (MyColumn1, MyColumn2, MyColumn3) from 'MyTabDelData.txt'; > >It is possible to specify other delimiters for use with the micopy command. Yeah, I'd recommend micopy MyTable (MyColumn1, MyColumn2, MyColumn3) from 'MyCSVData.txt' using delimiters ',' and bag that Excel stuff! Pete :-) ========================================================================= Date: Fri, 2 Aug 1996 17:04:56 -0700 Reply-To: Web Development with GNNserver and GNN Hosting Service Sender: Web Development with GNNserver and GNN Hosting Service From: Matthew Hewitt Subject: Re: Random Web Images In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=_03tW00g.bO1996u.N00d000A.r08Y.05:006f72" Content-Transfer-Encoding: 7bit --=_03tW00g.bO1996u.N00d000A.r08Y.05:006f72 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit This is some code for producing a semi-random number. I hope that this helps. It might take a little modifiying to get it to work with what you want to do. proc random {args} { global RNG_seed set max 259200 set argcnt [llength $args] if { $argcnt < 1 || $argcnt > 2 } { error "wrong # args: random limit | seed ?seedval?" } if ![string compare [lindex $args 0] seed] { if { $argcnt == 2 } { set RNG_seed [lindex $args 1] } else { set RNG_seed [expr ([ns_info interp]*[lindex [ns_localtime] 0]+[pid])%$max] } return } if ![info exists RNG_seed] { set RNG_seed [expr ([ns_info interp]*[lindex [ns_localtime] 0]+[file atime d:/smartad/p.txt])%$max] } set RNG_seed [expr ($RNG_seed*7141+54773) % $max] return [expr $RNG_seed % [lindex $args 0]] } >____________________ Begin Original Message ___________________________ >Date: Wed, 31 Jul 1996 15:33:06 -0700 >From: Chris Umali >Subject: Random Web Images > >Hello, > Has anyone implemented a random image generator in their web site? >Would using tcl be a great option, or cgi? This image generator would >display random banners like the Yahoo and CNet web sites. Any suggestions, >or clues? > >Have a nice day, > >Chris Umali >Assistant WebMaster >Envision Group, NetWerks >chris@netwerks.com >http://www.netwerks.com >310-523-2000 > --=_03tW00g.bO1996u.N00d000A.r08Y.05:006f72 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="SIG.TXT" Content-Description: The Sender's Signature -- ---------------------------------------------------------------- Matthew Hewitt AM Computers mailto:matthew@am.net 1040-B N. Dutton Ave Voice: (800) 579-2018 Santa Rosa, CA 95401 (707) 579-2010 http://am.net ---------------------------------------------------------------- The Source for Advanced Computing Solutions ---------------------------------------------------------------- am.net = The Best Hosting Service with integrated database, secure transactions, real-time credit card processing and more ---------------------------------------------------------------- --=_03tW00g.bO1996u.N00d000A.r08Y.05:006f72-- ========================================================================= Date: Sat, 3 Aug 1996 09:07:37 -0400 Reply-To: Web Development with GNNserver and GNN Hosting Service Sender: Web Development with GNNserver and GNN Hosting Service From: Mario Mastrosimone Subject: nsql missing? Did I do something wrong in the instalation of the AOLServer 2.1 the nsql program is not there...I installed the Illustra database just like the web page said to, but I don't have nsql in my AOLServer\bin directory or anywhere on my system? I'm using the windows NT version What did I do? ========================================================================= Date: Sun, 4 Aug 1996 17:43:16 -0400 Reply-To: Web Development with GNNserver and GNN Hosting Service Sender: Web Development with GNNserver and GNN Hosting Service From: "Steve B. Pal" Subject: User Access Control for 5000 users MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII I'm trying to implement a system which allows users to register and then access a restricted (members only) area. I was considering doing this by adding new users to the *actual* user file and creating a group which these users would also be added to. The directory structure which would be restricted would be accessible only to that user group. I'm doing this by appending the user file (users.dat) and parsing and adding to the group file (groups.dat). Two questions : 1. Are there api's which add new users to the user file and group file automatically for you? 2. Is this the right way to go? We're expecting about 5000 users to register. Is it unreasonable to add these users to the *actual* users and groups files? Or should I do this another way? If I'm going to have 5000 users, I'd rather authenticate against the database instead of the file. Everything I need to restrict is behind one directory structure. Can I register some authentication procedure which will authenticate against the database? Thanks, Steve _______________________________________________________________________ Steven B. Pal InterDimensions Corp. tel: 617.661.4200 25 Ellery Street fax: 617.661.5807 Webmaster_____________Cambridge, MA 02138__________stevep@interdim.com ========================================================================= Date: Sun, 4 Aug 1996 22:30:05 -0400 Reply-To: Web Development with GNNserver and GNN Hosting Service Sender: Web Development with GNNserver and GNN Hosting Service From: "Peter M. Jansson" Subject: How many Tcl interps? Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Typically, how many Tcl interpreters are running for a server? For a virtual server? In our configuration, we've specified MaxThreads as 50. Pete. ========================================================================= Date: Mon, 5 Aug 1996 20:06:22 +0800 Reply-To: Web Development with GNNserver and GNN Hosting Service Sender: Web Development with GNNserver and GNN Hosting Service From: Cecil Subject: Virtual Server permission level configuration MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hi, Anybody has any idea on how to hide the "../NS/Admin" page of the virtual server from unauthorised access ? I'm using AOLserver 2.033 on NT server 3.51. It seems that whenever I try "http://virtualserverURL/NS/Admin", the server return me with the "../NS/Admin" page without asking me for any authentication. Another problem is that, I can change the super user password for the global configuration, but for the subsequent virtual server, it is always "ruffruff". And I can neither add user to this virtual server nor can I login as nsadmin using the changed password except using "ruffruff". Thank you for the trouble to look into this problem. Cecil Aidem Consultants ========================================================================= Date: Mon, 5 Aug 1996 09:44:33 -0400 Reply-To: Web Development with GNNserver and GNN Hosting Service Sender: Web Development with GNNserver and GNN Hosting Service From: Michael Kmiec Subject: Profiling bin/nsd Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Has anyone ever encountered (or heard of any) problems while using Sparc Solaris' tcov to profile a shared object used by nsd? I keep trying with the different cc compiler flags, but I get a fatal relocation error for a symbol not found -- __bb_init_func, to be exact. The reason I'm trying this is because one of our servers takes up over 13% of the CPU. (For details, see below message from the Network Manager here.) This is NaviServer v. 2.0 running on a Sparc 5 w/Solaris 2.4. Running SSL. With, I think, a version of Illustra that has a memory leak anyway. Granted, many things happening at once, but I want to see whether or not our stuff is adding to the problems. mike +++++ extra info follows +++++ >% swap -s >total: 38632k bytes allocated + 7592k reserved = 46224k used, 28772k available > >% /usr/ucb/ps -aux | more >USER PID %CPU %MEM SZ RSS TT S START TIME COMMAND >nsadmin 10596 6.5 10.2 12408 6396 ? S Aug 02 432:37 bin/nsd -c nerdnet >afinkel 11643 0.9 1.2 908 732 pts/0 O 09:11:33 0:00 /usr/ucb/ps -aux >root 3 0.2 0.0 0 0 ? S Jul 09 108:35 fsflush >afinkel 11626 0.2 5.8 4300 3660 ? S 09:01:51 0:01 /usr/openwin/bin/x >afinkel 11644 0.2 0.8 692 508 pts/0 S 09:11:33 0:00 more >afinkel 11627 0.1 1.1 876 684 pts/0 S 09:01:53 0:00 csh >miadmin 10598 0.1 5.4 6408 3356 ? S Aug 02 5:18 /u1/miadmin/bin/mi >root 188 0.0 1.0 4924 580 ? S Jul 09 4:12 /u1/miadmin/bin/el >nsadmin 9887 0.0 4.2 5028 2644 ? S Aug 01 2:23 bin/nsd -c testSer >root 0 0.0 0.0 0 0 ? T Jul 09 0:00 sched >miadmin 9889 0.0 3.9 5688 2436 ? S Aug 01 0:19 /u1/miadmin/bin/mi >[truncated] > >Note process 10598, which one of the miserver processes started by the nsill >module. It is also larger than normal (refer to process 9889.) > > >This is immedietly after it is restarted: > ># /usr/ucb/ps -aux | grep nsd >nsadmin 11696 7.7 6.8 4820 4272 ? R 09:17:39 0:03 bin/nsd -c nerdnet >root 11701 0.2 0.7 648 424 pts/0 S 09:18:10 0:00 grep nsd >nsadmin 9887 0.1 4.2 5028 2636 ? S Aug 01 2:23 bin/nsd -c testSer >miadmin 11697 0.0 5.9 5200 3668 ? S 09:17:41 0:02 /u1/miadmin/bin/mi >miadmin 11698 0.0 5.7 5172 3548 ? S 09:17:42 0:01 /u1/miadmin/bin/mi >[truncated] +++++ end extra info +++++ ------------------------------------------------------ Michael Kmiec PFN Incorporated 26 Landsdowne Street Cambridge, MA 02139 mike@pfn.com 617.494.9980 ========================================================================= Date: Mon, 5 Aug 1996 11:25:05 -0400 Reply-To: Web Development with GNNserver and GNN Hosting Service Sender: Web Development with GNNserver and GNN Hosting Service From: "Jason Y. Chiang" Subject: Bourne shell question In-Reply-To: <2.2.32.19960805135514.008ecde8@152.163.236.131> Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Hello. In Bourne shell, how can I make a HTTP request and get something from the server? Thanks. Jason Chiang ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Jason Y. Chiang CyberSurfer Studios 22 West 19th Street New York, NY 10011 Tel: 212-807-7071 212-691-9117 Fax: 212-691-9203 www: http://sparky.cs.nyu.edu:12345 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ========================================================================= Date: Mon, 5 Aug 1996 12:57:52 -0400 Reply-To: Web Development with GNNserver and GNN Hosting Service Sender: Web Development with GNNserver and GNN Hosting Service From: Jim Wilcoxson Subject: Reload broken with AOLserver 2.1? Content-Type: text I've been using GNNserver 2.033 for a few months now and loaded AOLserver 2.1b6 (on SGI IRIX) this weekend to get new Tcl functionality. It looks like Netscape's "reload" feature doesn't work now. I'm sure this was working before the update. I checked the virtual server config, and I have "If modified since" turned on (I didn't change any config params for 2.1). Any help would be appreciated. ========================================================================= Date: Mon, 5 Aug 1996 15:19:05 -0400 Reply-To: Web Development with GNNserver and GNN Hosting Service Sender: Web Development with GNNserver and GNN Hosting Service From: Jonathan Yarden Subject: Re: User Access Control for 5000 users In-Reply-To: from "Steve B. Pal" at Aug 4, 96 05:43:16 pm MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit > > I'm trying to implement a system which allows users to register and then > access a restricted (members only) area. I was considering doing this by > adding new users to the *actual* user file and creating a group which > these users would also be added to. The directory structure which would > be restricted would be accessible only to that user group. I'm doing this > by appending the user file (users.dat) and parsing and adding to the group > file (groups.dat). Hmm...I personally don't care fro text file searching myself. This also implies that you are going to use HTTP 401-type authentication and not cookies. You might consider cookies as an alternative or adjunct. > Two questions : > 1. Are there api's which add new users to the user file and group file > automatically for you? There probably is, since the AOLServer permissions module has to use something to do this. Don't know offhand what the calls are, though. I'm not sure if the AOLServer does a least-recently-used type cache on permissions, but if it didn't, you are looking at a linear search of 5000 lines per secure request. Translation -> slow performance. > 2. Is this the right way to go? We're expecting about 5000 users to > register. Is it unreasonable to add these users to the *actual* users and > groups files? Or should I do this another way? If I'm going to have 5000 > users, I'd rather authenticate against the database instead of the file. > Everything I need to restrict is behind one directory structure. Can I > register some authentication procedure which will authenticate against > the database? I currently handle about 5000 users and expect it to hit about 100,000 in the next few year or two. I wrote the original user authentication routines in TCL + Illustra and got good response for a few months, but now it seems that I made a bad choice to use SQL as an authentication scheme. It's just too resource intensive to do the lookups. I am in the process of adapting the work I have already done to the GNU and/or Berkeley DB libraries and making it a stand-alone module. I would recommend doing something like this if you expect lots of traffic. Jon Yarden, Internet Tool & Die ========================================================================= Date: Mon, 5 Aug 1996 14:04:09 -0800 Reply-To: Web Development with GNNserver and GNN Hosting Service Sender: Web Development with GNNserver and GNN Hosting Service From: Alex Khassin Subject: RE[2]: Can you stop just a module? In-Reply-To: <2.2.32.19960802215012.008c17a0@152.163.236.131> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=_05tW10g.bO1996u.N22d000A.r08Y.04:0063a4" Content-Transfer-Encoding: 7bit --=_05tW10g.bO1996u.N22d000A.r08Y.04:0063a4 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit >Ns_StopServer(hServer) is an undocumented function which never really did >the right thing on 2.0 and was removed in 2.1. > Boy, I am sure David is going to be upset! Any plans to re-implement individual server start/stop? I remember that being promised for 2.1. --=_05tW10g.bO1996u.N22d000A.r08Y.04:0063a4 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="alexsig.txt" Content-Description: The Sender's Signature -- ---------------------------------------------------------------- Alex Khassin AM Computers mailto:akhassin@am.net 1040-B N. Dutton Ave Voice: (800) 579-2018 Santa Rosa, CA 95401 (707) 579-2010 http://am.net ---------------------------------------------------------------- The Source for Advanced Computing Solutions ---------------------------------------------------------------- am.net = The Best Hosting Service with integrated database, secure transactions, real-time credit card processing and more ---------------------------------------------------------------- --=_05tW10g.bO1996u.N22d000A.r08Y.04:0063a4-- ========================================================================= Date: Mon, 5 Aug 1996 14:07:35 -0800 Reply-To: Web Development with GNNserver and GNN Hosting Service Sender: Web Development with GNNserver and GNN Hosting Service From: Alex Khassin Subject: Re: User Access Control for 5000 users In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=_05tW36g.bO1996u.N22d000A.r08Y.07:006645" Content-Transfer-Encoding: 7bit --=_05tW36g.bO1996u.N22d000A.r08Y.07:006645 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit >Two questions : >1. Are there api's which add new users to the user file and group file >automatically for you? You don't want to parse the files directly. AOLServer does cache the files and if it detects a difference between its cache and the file it will abort! Instead, in 2.1 use ns_users, ns_groups, and ns_perms. See the online docs. > >2. Is this the right way to go? We're expecting about 5000 users to >register. Is it unreasonable to add these users to the *actual* users and >groups files? Or should I do this another way? If I'm going to have 5000 >users, I'd rather authenticate against the database instead of the file. >Everything I need to restrict is behind one directory structure. Can I >register some authentication procedure which will authenticate against >the database? You wouldn't want to use a SQL database, too slow. Unless you need to add all 5000 users at one time using the API the permission system should work quite well. --=_05tW36g.bO1996u.N22d000A.r08Y.07:006645 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="alexsig.txt" Content-Description: The Sender's Signature -- ---------------------------------------------------------------- Alex Khassin AM Computers mailto:akhassin@am.net 1040-B N. Dutton Ave Voice: (800) 579-2018 Santa Rosa, CA 95401 (707) 579-2010 http://am.net ---------------------------------------------------------------- The Source for Advanced Computing Solutions ---------------------------------------------------------------- am.net = The Best Hosting Service with integrated database, secure transactions, real-time credit card processing and more ---------------------------------------------------------------- --=_05tW36g.bO1996u.N22d000A.r08Y.07:006645-- ========================================================================= Date: Mon, 5 Aug 1996 14:11:31 -0800 Reply-To: Web Development with GNNserver and GNN Hosting Service Sender: Web Development with GNNserver and GNN Hosting Service From: Alex Khassin Subject: Re: Virtual Server permission level configuration In-Reply-To: <3205E3BE.4982@singnet.com.sg> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=_05tW32g.bO1996u.N22d000A.r08Y.11:006948" Content-Transfer-Encoding: 7bit --=_05tW32g.bO1996u.N22d000A.r08Y.11:006948 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit >Hi, > > Anybody has any idea on how to hide the "../NS/Admin" page of the >virtual server from unauthorised access ? > Simply add a permission for the GET method to /NS/Admin to restrict to system users only. >Another problem is that, I can change the super user password >for the global configuration, but for the subsequent virtual >server, it is always "ruffruff". And I can neither add user to >this virtual server nor can I login as nsadmin using the >changed password except using "ruffruff". In the nssetup directory under modules there is a template directory. In this directory are the template users.dat, perms.dat, and groups.dat that nssetup uses to create new virtual servers. Simply edit the users.dat file and change the password for nsadmin to whatever you want (keep in mind it's encrypted) --=_05tW32g.bO1996u.N22d000A.r08Y.11:006948 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="alexsig.txt" Content-Description: The Sender's Signature -- ---------------------------------------------------------------- Alex Khassin AM Computers mailto:akhassin@am.net 1040-B N. Dutton Ave Voice: (800) 579-2018 Santa Rosa, CA 95401 (707) 579-2010 http://am.net ---------------------------------------------------------------- The Source for Advanced Computing Solutions ---------------------------------------------------------------- am.net = The Best Hosting Service with integrated database, secure transactions, real-time credit card processing and more ---------------------------------------------------------------- --=_05tW32g.bO1996u.N22d000A.r08Y.11:006948-- ========================================================================= Date: Mon, 5 Aug 1996 14:14:07 -0800 Reply-To: Web Development with GNNserver and GNN Hosting Service Sender: Web Development with GNNserver and GNN Hosting Service From: Alex Khassin Subject: Re: How many Tcl interps? In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=_05tW08g.bO1996u.N22d000A.r08Y.14:006b45" Content-Transfer-Encoding: 7bit --=_05tW08g.bO1996u.N22d000A.r08Y.14:006b45 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit >Typically, how many Tcl interpreters are running for a server? For a >virtual server? In our configuration, we've specified MaxThreads as 50. > MaxThreads is not the same as NumInterps. The latter one under the TCL module section in nsd.ini is what you want to set. I've been told by Doug about 8 months ago that the default is 5 but the docs say it's 1. So I am not sure, but you can set it to anything you want with NumInterps= --=_05tW08g.bO1996u.N22d000A.r08Y.14:006b45 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="alexsig.txt" Content-Description: The Sender's Signature -- ---------------------------------------------------------------- Alex Khassin AM Computers mailto:akhassin@am.net 1040-B N. Dutton Ave Voice: (800) 579-2018 Santa Rosa, CA 95401 (707) 579-2010 http://am.net ---------------------------------------------------------------- The Source for Advanced Computing Solutions ---------------------------------------------------------------- am.net = The Best Hosting Service with integrated database, secure transactions, real-time credit card processing and more ---------------------------------------------------------------- --=_05tW08g.bO1996u.N22d000A.r08Y.14:006b45-- ========================================================================= Date: Mon, 5 Aug 1996 17:51:27 -0300 Reply-To: Web Development with GNNserver and GNN Hosting Service Sender: Web Development with GNNserver and GNN Hosting Service From: George Browning Subject: SSI and TCL MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Is there any way to make TCL output go through the Server Side Includes interpreter? My scripts are generating pages which need to take advantage of the # include and #exec SSI directives for banner and random ad generation. Thanks in advance for any assistance! George Browning ========================================================================= Date: Tue, 6 Aug 1996 03:08:12 -0400 Reply-To: Web Development with GNNserver and GNN Hosting Service Sender: Web Development with GNNserver and GNN Hosting Service From: Malte Sussdorff Subject: Re: Bourne shell question In einer eMail vom 05.08.1996 17:47:42, schreiben Sie: >In Bourne shell, how can I make a HTTP request and get something from >the server? >Thanks. > > try lynx and redirect the output Malte ========================================================================= Date: Tue, 6 Aug 1996 01:51:49 -0400 Reply-To: Web Development with GNNserver and GNN Hosting Service Sender: Web Development with GNNserver and GNN Hosting Service From: Jim Wilcoxson Subject: Tcl expression evaluation with long strings of digits Content-Type: text Hi! I'm no Tcl expert, so maybe this is normal. If you do something like: set name [ns_set get $form name] if {$name == ""} { ... } That works fine until you put a large string of digits in for the name, then you get a server error. I'm guessing that when Tcl tries to convert $name to an integer, some kind of overflow exception occurs. Wouldn't it make more sense to treat it like a string since it can't be autocast to a number? If this is "normal" Tcl, everybody should avoid using tests like this for fields longer than 9 characters that MAY contain digits. Jim Wilcoxson ========================================================================= Date: Tue, 6 Aug 1996 12:28:03 +0000 Reply-To: jlemcke@image-sys.com Sender: Web Development with GNNserver and GNN Hosting Service From: Jack Lemcke Organization: Image Systems Inc. Subject: quotation forms MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hello, I have a quotation form (http://www.image-sys.com/isiquoter.html) that I am trying to setup on an SGI with Gnn. The form is large and I would like to know what is the best way to start? Illustra, cgi, tcl? Question?? How do I determine the number of columns to start, etc. I also would like to have a text file generated and emailed to the appropriate contact for the company. A format like the following might be easy for them to read the information for each category. Or would I be easier to pull the information through the browser? example: ---------------------------------------- customer info ---------------------------------------- name company address city state zip phone fax email ---------------------------------------- genral job description ---------------------------------------- job name etc ----------------------------------------- Thanks, jl ps: $ consultant inquiry welcome. ========================================================================= Date: Tue, 6 Aug 1996 14:30:56 -0400 Reply-To: Web Development with GNNserver and GNN Hosting Service Sender: Web Development with GNNserver and GNN Hosting Service From: Barlow Subject: Forms testing Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" I am attempting to use a simple form in GNN, but keep getting error messages to the effect that no local form processiing is allowed(yet)does this mean I cannot test forms locally on the system?Do I need to setup something special in GNN to use forms that the installer did not do? Also the documentation talks of a Databases link from the Gnn administration page, I have no such link to setting up databases ?? thanks all http://204.181.7.192 barlow@servtech.com ========================================================================= Date: Tue, 6 Aug 1996 14:58:45 -0400 Reply-To: Web Development with GNNserver and GNN Hosting Service Sender: Web Development with GNNserver and GNN Hosting Service From: Jonathan Yarden Subject: Re: Tcl expression evaluation with long strings of digits In-Reply-To: <199608060551.BAA02908@meritnet.com> from "Jim Wilcoxson" at Aug 6, 96 01:51:49 am MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit > > Hi! I'm no Tcl expert, so maybe this is normal. If you do something like: > > set name [ns_set get $form name] > if {$name == ""} { > ... > } > > That works fine until you put a large string of digits in for the name, then > you get a server error. I'm guessing that when Tcl tries to convert $name to > an integer, some kind of overflow exception occurs. Wouldn't it make more > sense to treat it like a string since it can't be autocast to a number? If > this is "normal" Tcl, everybody should avoid using tests like this for fields > longer than 9 characters that MAY contain digits. Yep...TCL does the "Crash-O-Matic" on this. I've got another TCL "gem" for you. A leading zero to TCL means that the number you want is in OCTAL. Yes, OCTAL. Like anyone ever uses octal anymore (excepting brain-dead unix masochists who memerize permissions bits). If the digit following isn't a valid octal digit, it makes it a string. But if it's a period, then it's a float. And I though C++ was confusing... I found this octal-thingy out at exactly 12:05am on August 1, 1996 when one of my scripts decided to choke. I was doing a month comparison (07 is a valid octal number, but 08 gets turned into a string). I wasn't amused... No wonder Rich Stallman decided not to GNU TCL... Jon Yarden, Brain-Dead Unix Masochist, Internet Tool & Die ========================================================================= Date: Tue, 6 Aug 1996 12:58:39 -0700 Reply-To: Web Development with GNNserver and GNN Hosting Service Sender: Web Development with GNNserver and GNN Hosting Service From: Doug McKee Subject: Re: Tcl expression evaluation with long strings of digits In-Reply-To: <199608060551.BAA02908@meritnet.com> (message from Jim Wilcoxson on Tue, 6 Aug 1996 01:51:49 -0400) >>>>> "Jim" == Jim Wilcoxson writes: Jim> set name [ns_set get $form name] Jim> if {$name == ""} { Jim> ... Jim> } Jim> That works fine until you put a large string of digits in for Jim> the name, then you get a server error. I'm guessing that Jim> when Tcl tries to convert $name to an integer, some kind of Jim> overflow exception occurs. Wouldn't it make more sense to Jim> treat it like a string since it can't be autocast to a Jim> number? If this is "normal" Tcl, everybody should avoid Jim> using tests like this for fields longer than 9 characters Jim> that MAY contain digits. Yup, this is true; I recommend using if [string match "" $value] { ... } doug -- ---------------------------------------------------------------- Doug McKee America Online, Inc. Email: doug@sb.aol.com 511 Bath Street Voice: (800) 529-9166 Santa Barbara, CA (805) 882-2350 93101 Fax: (805) 899-4316 ---------------------------------------------------------------- ========================================================================= Date: Tue, 6 Aug 1996 17:50:06 -0400 Reply-To: Web Development with GNNserver and GNN Hosting Service Sender: Web Development with GNNserver and GNN Hosting Service From: Jeff Rawlings Subject: Re: Forms testing Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" At 02:30 PM 8/6/96 -0400, you wrote: >I am attempting to use a simple form in GNN, but keep getting error messages >to the effect that no local form processiing is allowed(yet)does this mean I >cannot test forms locally on the system?Do I need to setup something special >in GNN to use forms that the installer did not do? Yes, you need a script on the server (at the URL you specified in the "Form Handler Location") that will accept the form submission and do something with it. Unless you use a mailto: URL as the form handler, you can't test locally. >Also the documentation talks of a Databases link from the Gnn administration >page, I have no such link to setting up databases ?? You first need to set up your database and turn on the database services module for your server. The documentation of http://www.aolserver.com should show you what to do... Cheers, Jeff Rawlings -- rawlings@primehost.com -- http://www.primehost.com/ Internet Marketing Manager, AOL PrimeHost *Web hosting with multiple-T3 connectivity and 7x24 monitoring *AOLserver software, with relational database and full APIs ========================================================================= Date: Tue, 6 Aug 1996 21:38:48 -0400 Reply-To: Web Development with GNNserver and GNN Hosting Service Sender: Web Development with GNNserver and GNN Hosting Service From: Scott Munro Subject: Mysterious Truncation of group.dat file Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Here's a problem I've run into that's really killing me. Interested in finding out if anyone has experienced this: One of my virtual servers has approximately 1800 user accounts on it. Access to various pages is partly controlled by which group the user belongs to. Some of my groups have many members (some over 1000). Recently I've noticed that some of my groups mysteriously disappear when I go to update them from the /NS/Admin Access control pages. After much doinking around, it appears that when the ns_group routine is called by the updategroup procedure, the groups.dat file is truncated (and thus I lose some groups and associated data). The same thing happens if I try to add a user to a group from /NS/Perm/User pages. This is quite a problem for us since I now must resort to editing the groups.dat file directly, and then restart the server, until I can write my own code to handle the problem. Really would appreciate hearing from anyone who can shed some light on this. Details: GNNServer Ver 2.031 Build 2 on Silicon Graphics box, GNNhost dedicated service account. Thanx, Scott Munro Aardark Interactive ========================================================================= Date: Wed, 7 Aug 1996 11:46:50 -0400 Reply-To: Web Development with GNNserver and GNN Hosting Service Sender: Web Development with GNNserver and GNN Hosting Service From: "Peter M. Jansson" Subject: When is SQL logged? Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" When we turn on verbose SQL logging for a pool, is the statement logged before it is issued, or after it completes? I see this in my server log, when the system is hung: [07/Aug/1996:11:16:14 -0500][135.305] Notice: SQL(default:realdb): begin transaction with (isolation level read uncommitted, nodiary) [07/Aug/1996:11:16:24 -0500][135.233] Notice: SQL(default:realdb): begin transaction with (isolation level read uncommitted, nodiary) [07/Aug/1996:11:17:05 -0500][135.203] Notice: SQL(default:realdb): begin transaction with (isolation level read uncommitted, nodiary) [07/Aug/1996:11:29:50 -0500][135.270] Notice: Viewing last 2048 bytes from server log: d:/NaviSoft/Server/log/server.log Three read-only transactions were started, and hung for 20 minutes, until we shut the system down. I don't know how to find out what they were waiting for. If I set the transaction isolation level to "read uncommitted", doesn't that prevent the transaction from waiting for any locks? Thanks, Pete. ------------- Peter M. Jansson petej@clickvision.com Click Interactive Visions, LLC. (410) 488-3690 Interactive WWW development services. ========================================================================= Date: Sun, 7 Jul 1996 14:54:15 +0200 Reply-To: Web Development with GNNserver and GNN Hosting Service Sender: Web Development with GNNserver and GNN Hosting Service From: Marco Coletti Subject: Re: Describe Page and Metadata? Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" At 13.55 22/07/96 -0700, you wrote: > Marco> I'm talking about some method to associate keywords with > Marco> pages. > >You've guessed correctly; this functionality existed in 1.0 but was >removed between 1.0 and 2.0. It let you associated relational data >with pages and then do combination keyword/relational searching. >Unfortuantely, no one used it, and it wasn't particularly flexible. >The good news is that you have all the tools at your disposal in the >Tcl api to write your own relational/full text system. > >If you just want to associate non-displayed keywords with your pages, >I'm not sure how to do this, since all tags (including comments) are >removed before full-text indexing. Anyone know how to do a >"keyword1 keyword2 keyword3" ? Thanks for your reply. Just an idea: if the background color is white (for example): in AOLpress, we can type our keywords at the bottom of the page, prefixed by some special character #keyword1 #keyword2 #keyword3 or prefixed by some "magic" sequence (chosen so as it can never appear in regular text) KWDkeyword1 KWDkeyword2 KWDkeyword3 then, we can select that line and turn it to white, obtaining something like KWDkeyword1 KWDkeyword2 KWDkeyword3 That way, simply by using full-text indexing, we are able to index automatically some "special" words without displaying them. All that we must say to an ipothetical AOLpress user is "type the keywords at the bottom, prefixed by KWD, and make them the same color of the background". Finally, we can arrange a "Keyword Search Page" that is nothing more than the standard AOLserver full-text search page modified in that it prefixes the words with "KWD" before starting the search. Any drawbacks? (I'm wondering whether all existing browsers do support the tag) -= MarCo =- ========================================================================= Date: Wed, 7 Aug 1996 14:30:24 +0100 Reply-To: Web Development with GNNserver and GNN Hosting Service Sender: Web Development with GNNserver and GNN Hosting Service From: Thomas Dachsel Subject: Illustra / Informix Universal Server licenses and new DataBlades Comments: cc: gerroh@ger.sas.com, gerkug@ger.sas.com, gerhek@ger.sas.com Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Hi, I recently read in the computer press that Informix has bought Illustra and are now relabeling/enhancing Illustra database to "Informix Universal Server". At the international Informix users conference, 24 partners presented new DataBlades for the Informix Universal Server: Adobe (document management) Excalibur (text and image processing) Mapinfo (geographical systems) Mathsoft (statistics) Meta Cube (OLAP) MKS (web) Premenos (cryptography) Verity (full text search) Virage (image processing) Vxtreme (video compressing) Steve Sommer, Vice President Marketing of Informix, mentioned that there may be several hundreds of new DataBlades next year, as software vendors and even end users may develop DataBlades of their own. Two questions: 1. Will the Illustra license offered with GNNserver/AOLserver continue to be valid, now that Informix owns Illustra? 2. What about integrating some of the mentioned datablades into GNNserver/AOLserver? Is is possible a) from a technical point of view? b) from a licensing point of view? Some of the mentioned datablades might turn out to be very useful for enhancing web server functionality. Regards, Thomas -- Thomas Dachsel Special Knowledge Group / National Language Support SAS Institute GmbH, P. O. Box 10 53 07, D-69043 Heidelberg, Germany ========================================================================= Date: Wed, 7 Aug 1996 17:40:25 -0700 Reply-To: Web Development with GNNserver and GNN Hosting Service Sender: Web Development with GNNserver and GNN Hosting Service From: Wendy Liu Subject: memory leak Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Hi, Recently we implemented a program that does a lot of database query, and after we put the program online for people to use, the server hangs almost once everyday. Looking at the server log, it seems we have run out of memory, the server complains "there is no more space to fork a child process". We have to kill the server process, and restart it. So we start paying attention to our process size, and it seems to be getting bigger and bigger as it runs. I cannot be sure, but I thought it almost grows bigger every time after submitting a query. We looked at our program, and could not determine why this is happening. We add code to do a "ns_db flush" after every query, and made sure we release handle every time after a query, but things did not improve. Anyone has any idea why this is happening? Is there such a problem reported for AOLServer? We have Ver.2.0 running on a Solaris platform. Thanks in advance, Wendy Liu Infowave Communications Corp. ========================================================================= Date: Thu, 8 Aug 1996 10:46:44 +0200 Reply-To: Web Development with GNNserver and GNN Hosting Service Sender: Web Development with GNNserver and GNN Hosting Service From: Christian Gross Subject: Redistribution MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Hi, If I develop a commercial product with GNN server can I redistribute the server with my installation package? -- Christian Gross euSOFT Phone +41.1.492.7827 Fax +41.1.492.7757 ========================================================================= Date: Thu, 8 Aug 1996 09:26:31 -0700 Reply-To: Web Development with GNNserver and GNN Hosting Service Sender: Web Development with GNNserver and GNN Hosting Service From: gnat Subject: Re: Illustra / Informix Universal Server licenses and new DataBlades In-Reply-To: <2.2.32.19960807133024.00f7b4b4@gerthd.ger.sas.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On Wed, 7 Aug 1996, Thomas Dachsel wrote: > Adobe (document management) > Excalibur (text and image processing) > Mapinfo (geographical systems) > Mathsoft (statistics) > Premenos (cryptography) > Verity (full text search) > Virage (image processing) > Vxtreme (video compressing) Very Interesting indeed. Do you know where I can more info on those blades? > Two questions: > > 1. Will the Illustra license offered with GNNserver/AOLserver > continue to be valid, now that Informix owns Illustra? Your key will work with your version of Illustra for its specified time length so long as you don't do something like change your IP address or you CPU (elan is a pain about those things). > 2. What about integrating some of the mentioned datablades into > GNNserver/AOLserver? Is is possible > a) from a technical point of view? > b) from a licensing point of view? > Some of the mentioned datablades might turn out to be > very useful for enhancing web server functionality. The adding them to your Illustra server should not be a problem so long as you get new licenses to handle the new blades. The idea of intergrating the new blades with the NaviServer is a different issue. It should not be a problem though, just using different commands based on what you are doing. Dave David Whittle Internet Systems Developer Digital City, Inc. (P) (703) 918-2465 (F) (703) 918-1207 (E) gnat@aol.net ========================================================================= Date: Thu, 8 Aug 1996 15:44:13 -0400 Reply-To: Web Development with GNNserver and GNN Hosting Service Sender: Web Development with GNNserver and GNN Hosting Service From: Jeff Rawlings Subject: Re: Describe Page and Metadata? Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" At 02:54 PM 7/7/96 +0200, you wrote: >then, we can select that line and turn it to white, obtaining something like > >KWDkeyword1 KWDkeyword2 KWDkeyword3 > >That way, simply by using full-text indexing, we are able to index >automatically some "special" words without displaying them. >All that we must say to an ipothetical AOLpress user is "type the keywords >at the bottom, prefixed by KWD, and make them the same color of the background". > >Finally, we can arrange a "Keyword Search Page" that is nothing more than >the standard AOLserver full-text search page modified in that it prefixes >the words with "KWD" before starting the search. > >Any drawbacks? Well, there is one. When you do a search with the full-text system, the pages you retrieve are actually marked up. The "GetLHP" URLs actually bold the search terms, and anchor the first occurrence in the page. You might want to do a bit more modification of your DoSearch script... Don't really want your pages to scroll to the bottom automatically when a user follows the link. >(I'm wondering whether all existing browsers do support the tag) Of course not... do you know of anything that "all existing browsers" support? :) Cheers, ========================================================================= Date: Thu, 8 Aug 1996 14:41:56 -0400 Reply-To: Web Development with GNNserver and GNN Hosting Service Sender: Web Development with GNNserver and GNN Hosting Service From: Barlow Subject: NSD exception errors Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Hello everyone I keep getting NSD.exe exception errors on my WinNT system. the Drwatson log does not give me enough info to determine why these occur. I just installed the latest version of AOLserver 2.03 and still get the errors They seem to occur randomly,not related to whatever else is going on in the system at the time. I could post the DrWatson log if it would help. is anyone else aware of such problems with Gnnserver? thanks all http://204.181.7.192 barlow@servtech.com ========================================================================= Date: Thu, 8 Aug 1996 15:44:14 -0400 Reply-To: Web Development with GNNserver and GNN Hosting Service Sender: Web Development with GNNserver and GNN Hosting Service From: Jeff Rawlings Subject: Re: Illustra / Informix Universal Server licenses and new DataBlades Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" At 09:26 AM 8/8/96 -0700, gnat wrote: >On Wed, 7 Aug 1996, Thomas Dachsel wrote: >> 1. Will the Illustra license offered with GNNserver/AOLserver >> continue to be valid, now that Informix owns Illustra? > >Your key will work with your version of Illustra for its specified time >length so long as you don't do something like change your IP address or >you CPU (elan is a pain about those things). Yes, elan can be a pain -- but the licenses you get when you download Illustra these days are actually host-independent. Changing your IP address or CPU shouldn't be a problem... Cheers, Jeff Rawlings -- rawlings@primehost.com -- http://www.primehost.com/ Internet Marketing Manager, AOL PrimeHost *Web hosting with multiple-T3 connectivity and 7x24 monitoring *AOLserver software, with relational database and full APIs ========================================================================= Date: Thu, 8 Aug 1996 15:45:17 -0400 Reply-To: Web Development with GNNserver and GNN Hosting Service Sender: Web Development with GNNserver and GNN Hosting Service From: "Jason Y. Chiang" Subject: AOLserver freezes In-Reply-To: <2.2.32.19960802215901.00869888@152.163.236.131> Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Is it possible that when I telnet to my server and nsql to database it would cause AOLserver to freeze? I mean, if server is running other process while serving as web server, will AOLserver funcution inproperly? I noticed that sometimes especially in day time AOL server will skip "CheckServer" process at times. And it will cause AOLServer not to realease idle/unnecessary threads. I set CheckInterval to 10 seconds now and AOLserver just doesn't do it at times. I've got the following in server.log [08/Aug/1996:15:46:22 -0400][20204.20220] Notice: RunDriver(vserver1, nssock): Accepting. [08/Aug/1996:15:46:36 -0400][20204.20220] Notice: RunDriver(vserver1, nssock): New connection 118 (waiting: 13 threads: 50 (0 idle)) Any clues? Thanks in advance. Jason Chiang ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Jason Y. Chiang CyberSurfer Studios 22 West 19th Street New York, NY 10011 Tel: 212-807-7071 212-691-9117 Fax: 212-691-9203 www: http://sparky.cs.nyu.edu:12345 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ========================================================================= Date: Thu, 8 Aug 1996 22:27:48 GMT Reply-To: Web Development with GNNserver and GNN Hosting Service Sender: Web Development with GNNserver and GNN Hosting Service From: Ken Fricklas Organization: Boulder Community Net/AND Interactive Subject: Re: AOLserver freezes In-Reply-To: Actually, this can cause all of AOL to freeze -- for about 19 hours... better not do that again... On Thu, 8 Aug 1996 15:45:17 -0400, you wrote: >Is it possible that when I telnet to my server and nsql to database it >would cause AOLserver to freeze? I mean, if server is running other >process while serving as web server, will AOLserver funcution inproperly? > >I noticed that sometimes especially in day time AOL server will skip >"CheckServer" process at times. And it will cause AOLServer not to >realease idle/unnecessary threads. I set CheckInterval to 10 seconds now >and AOLserver just doesn't do it at times. > >I've got the following in server.log > >[08/Aug/1996:15:46:22 -0400][20204.20220] > Notice: RunDriver(vserver1, nssock): Accepting. >[08/Aug/1996:15:46:36 -0400][20204.20220] > Notice: RunDriver(vserver1, nssock): New connection 118 (waiting: 13 > threads: 50 (0 idle)) > >Any clues? > >Thanks in advance. > >Jason Chiang > > >~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > Jason Y. Chiang > CyberSurfer Studios > 22 West 19th Street > New York, NY 10011 > Tel: 212-807-7071 > 212-691-9117 > Fax: 212-691-9203 > www: http://sparky.cs.nyu.edu:12345 >~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ==================================================== Ken Fricklas -- AND Interactive. http://www.andnet.com Boulder Community Net A&E Coordinator http://bcn.boulder.co.us/ ==================================================== ========================================================================= Date: Thu, 8 Aug 1996 17:02:41 -0700 Reply-To: Web Development with GNNserver and GNN Hosting Service Sender: Web Development with GNNserver and GNN Hosting Service From: Chris Umali Subject: Database Comments: To: support@PRIMEHOST.COM, pisacane@PRIMEHOST.COM, JohnDivney@aol.com, ELZ@aol.com Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Hello, Does anyone know how I would be able to change the datatype of a column in the illustra database, when one has already inputted/created the table information? Thanks, Chris Umali Assistant WebMaster Envision Group, NetWerks http://www.netwerks.com 310-523-2000 ========================================================================= Date: Thu, 8 Aug 1996 20:40:30 -0400 Reply-To: Web Development with GNNserver and GNN Hosting Service Sender: Web Development with GNNserver and GNN Hosting Service From: John Baldwin Subject: Re: NSD exception errors Comments: cc: Barlow Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Hi, Yes I've gotten it too, and been too busy to post it here before. The error message in DrWatson.Log starts: Application exception occurred: App: nsd.exe (pid=144) Exception number: c0000005 (access violation) In my case, it seemed to happen when I was testing my https pages which also called up a perl script. After the NSD notice, the GNNServer service _stopped_ and had to be restarted manually. Nothing in the server logs indicating what got sick and threw up. I am using a P100, 48MB RAM, NT3.51WS w/sp4 GNNServer 2.031 I will make the Dr. Watson logs available if they would help. Many thanks, John Baldwin Eastview Media Group Westchester's Web Weavers 350 Main Street Suite 202 White Plains, NY 10601-3607 USA Phone 1-914-684-2468 Fax 1-914-684-2469 http://w-w-w.com At 02:41 PM 8/8/96 -0400, you wrote: >Hello everyone I keep getting NSD.exe exception errors on my WinNT system. >the Drwatson log does not give me enough info to determine why these occur. >I just installed the latest version of AOLserver 2.03 and still get the errors >They seem to occur randomly,not related to whatever else is going on in the >system at the time. >I could post the DrWatson log if it would help. >is anyone else aware of such problems with Gnnserver? >thanks all >http://204.181.7.192 >barlow@servtech.com > John Baldwin Eastview Media Group Westchester's Web Weavers 350 Main Street Suite 202 White Plains, NY 10601-3607 USA Phone 1-914-684-2468 Fax 1-914-684-2469 http://w-w-w.com ========================================================================= Date: Thu, 8 Aug 1996 14:46:31 -0700 Reply-To: Web Development with GNNserver and GNN Hosting Service Sender: Web Development with GNNserver and GNN Hosting Service From: Liankui Sun Subject: Re: Illustra / Informix Universal Server licenses and new DataBlades Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Hello: I have installed aolserver2.1b6, I try to use access Rotation features mentioned in AOLserver Release Notes, But I can not find the new parameters like RollHour et al. Any help are much appreciated! Sun ========================================================================= Date: Fri, 9 Aug 1996 00:13:10 -0400 Reply-To: philg@mit.edu Sender: Web Development with GNNserver and GNN Hosting Service From: Philip Greenspun Subject: Re: GNNDEVELOPER-L Digest - 7 Aug 1996 to 8 Aug 1996 In-Reply-To: <199608090402.AAA12210@services.web.aol.com> (message from Automatic digest processor on Fri, 9 Aug 1996 00:01:06 -0400) Date: Wed, 7 Aug 1996 14:30:24 +0100 From: Thomas Dachsel Subject: Illustra / Informix Universal Server licenses and new DataBlades Hi, I recently read in the computer press that Informix has bought Illustra and are now relabeling/enhancing Illustra database to "Informix Universal Server". 1. Will the Illustra license offered with GNNserver/AOLserver continue to be valid, now that Informix owns Illustra? Nobody from AOL has answered what I think is your question: "are AOLserver users going to be getting a license to use the new Informix Universal Server?" What they answered was "will I be able to use my current software with no upgrades in the year 2002 [or whatever]?" 2. What about integrating some of the mentioned datablades into GNNserver/AOLserver? Is is possible a) from a technical point of view? Sure. NaviServer's job is to maintain the database pools, ship your SQL to a relational database, and give you the bits that come back from the database. It took us about 10 minutes to integrate the PLS Blade into our NaviServer at Hearst. We just added an index from msql and then changed a query in our Tcl code. That doesn't mean the canned NS/Admin pages will do what you want, of course... b) from a licensing point of view? Not if you aren't going to upgrade to the Informix software. -- Philip Greenspun ------------------------------------------------------------- MIT Department of Electrical Engineering and Computer Science 545 Technology Square, Rm 609, Cambridge, MA 02139, (617) 253-8574 Personal Web URL: http://www-swiss.ai.mit.edu/philg/ ========================================================================= Date: Fri, 9 Aug 1996 09:25:40 -0500 Reply-To: Web Development with GNNserver and GNN Hosting Service Sender: Web Development with GNNserver and GNN Hosting Service From: Krish Menon Subject: Access Logs for 2.03 Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Ok, thew access logs generated by 2.03 _look_ like they're in the common log format, but I've been unable to get a single stats program to generate output properly with them -- is there a fix I need? Krish Menon, Webmaster -- Iway Internet Services krish@iw.net, http://www.iw.net, webstart@iw.net 140, N. Phillips Suite 404, Sioux Falls SD 57102 (605) 331 4211, (605) 331 6585 (ah) - CST 6:00pm ------------------------------------------------ "The difference between a hitcher with a sign that says 'Akron OH' and another that says 'Home For Christmas' is the difference between selling and marketing." ========================================================================= Date: Fri, 9 Aug 1996 15:47:17 -0400 Reply-To: pkwu@lehman.com Sender: Web Development with AOLserver and PrimeHost From: Peter Wu Subject: Reports out of illustra? Hi, I have collected a lot of data into a illustra table. Now I need to make reports out of those. Is there any facility other than tcl that I can use to talk to the illustra database that comes with gnnserver? I can use perl with nsql but nsql likes to print the table around the output. If I turn off the table, then I get boundary less output. I.e. I don't know which field is which (I have mostly text fields with embedded returns and spaces). The normal database searching (/NS/Db/Admin) results are too generic for my needs. What have people been using to get data out of gnnserver and illustra? Thanks a lot. -- Peter Wu - pkwu@lehman.com ========================================================================= Date: Fri, 9 Aug 1996 23:13:49 +0000 Reply-To: Web Development with AOLserver and PrimeHost Sender: Web Development with AOLserver and PrimeHost Comments: Authenticated sender is Comments: Sender has elected to use 8-bit data in this message. If problems arise, refer to postmaster at sender's site. From: Christof Schmidbauer Organization: Ferengi Institute for Business Ethics Subject: Re: Access Logs for 2.03 MIME-Version: 1.0 Content-type: text/plain; charset=ISO-8859-1 Content-transfer-encoding: 8BIT Accesswatch works for me (Perl Script run under Windows NT 3.51). Look at http://caladan.wiwi.uni-frankfurt.de/.stats/ It seems that some scripts won4t work properly with the referer and user_agent option enabled. IMHO logging the referer URL and the user_agent too two different log files would be a better solution. > Ok, thew access logs generated by 2.03 _look_ like they're in the common log > format, but I've been unable to get a single stats program to generate > output properly with them -- is there a fix I need? Christof Schmidbauer jwgi@wiwi.uni-frankfurt.de @ Teledata Boerseninformations GmbH: cschmidb@teledata.de http://www.hornblower.de/ ========================================================================= Date: Fri, 9 Aug 1996 23:33:59 +0100 Reply-To: Web Development with AOLserver and PrimeHost Sender: Web Development with AOLserver and PrimeHost From: Thomas Dachsel Subject: Different nsadmin passwords Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" At 00:02 06.08.96 -0400, Cecil wrote: > >Date: Mon, 5 Aug 1996 20:06:22 +0800 >From: Cecil >Subject: Virtual Server permission level configuration > >Hi, > > Anybody has any idea on how to hide the "../NS/Admin" page of the >virtual server from unauthorised access ? > > I'm using AOLserver 2.033 on NT server 3.51. It seems that whenever >I try "http://virtualserverURL/NS/Admin", the server return me with >the "../NS/Admin" page without asking me for any authentication. >Another problem is that, I can change the super user password for the >global configuration, but for the subsequent virtual server, it is >always "ruffruff". And I can neither add user to this virtual server >nor can I login as nsadmin using the changed password except using >"ruffruff". > > Thank you for the trouble to look into this problem. > > >Cecil >Aidem Consultants Thank you for posting about this problem. I had searched for HOURS to find about the password for nsadmin for the NS/Admin pages. Where the heck did you find the information that the initial password for virtual server setup is "ruffruff"? I did not find the documentation to be very clear about the different passwords for nsadmin in global configuration in contrast to to nsadmin in virtual server administration. One remark: I would welcome it if I could access the "Administer Server" http://virtualserverURL/NS/Admin page from the Setup Virtual Servers item in the Setup AOLserver global configuration (port 9876). I need not to invoke AOLpress for that, it is sufficient to point to http://virtualserverURL/NS/Admin using an arbitrary WWW browser. However, I need to type this in rather than just clicking somewhere in the AOLserver global configuration setup. Regards, Thomas -- Thomas Dachsel Special Knowledge Group / National Language Support SAS Institute GmbH, P. O. Box 10 53 07, D-69043 Heidelberg, Germany ========================================================================= Date: Fri, 9 Aug 1996 18:41:07 -0400 Reply-To: Web Development with AOLserver and PrimeHost Sender: Web Development with AOLserver and PrimeHost From: Jeff Rawlings Subject: Re: Access Logs for 2.03 Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" At 11:13 PM 8/9/96 +0000, you wrote: >Accesswatch works for me (Perl Script run under Windows NT 3.51). >Look at http://caladan.wiwi.uni-frankfurt.de/.stats/ > >It seems that some scripts won4t work properly with the referer and >user_agent option enabled. IMHO logging the referer URL and the >user_agent too two different log files would be a better solution. We actually did that for a while... IMO, though, that's a pain. The logs (with referrer and user_agent tacked on) are actually in NCSA combined log format, and there are tools that will recognize them. (One example, for NT users, is Interse -- actually does a nice job of it.) Cheers, Jeff Rawlings -- rawlings@primehost.com -- http://www.primehost.com/ Internet Marketing Manager, AOL PrimeHost *Web hosting with multiple-T3 connectivity and 7x24 monitoring *AOLserver software, with relational database and full APIs ========================================================================= Date: Fri, 9 Aug 1996 16:59:02 -0700 Reply-To: Web Development with AOLserver and PrimeHost Sender: Web Development with AOLserver and PrimeHost From: Jim Davidson Subject: Re: Access Logs for 2.03 Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" At 11:13 PM 8/9/96 +0000, Christof Schmidbauer wrote: >Accesswatch works for me (Perl Script run under Windows NT 3.51). >Look at http://caladan.wiwi.uni-frankfurt.de/.stats/ > >It seems that some scripts won4t work properly with the referer and >user_agent option enabled. IMHO logging the referer URL and the >user_agent too two different log files would be a better solution. Check out the logrefer example C API module. It logs the refer headers to a seperate file or a database table (warning: database logging is slow). Cheers, -Jim _______________________ Jim Davidson jimbo@sb.aol.com Voice: (805) 882-2350 Fax: (805) 899-4316 ========================================================================= Date: Fri, 9 Aug 1996 19:27:52 -0700 Reply-To: Web Development with AOLserver and PrimeHost Sender: Web Development with AOLserver and PrimeHost From: Jim Davidson Subject: Re: memory leak Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" At 05:40 PM 8/7/96 -0700, Wendy Liu wrote: >Hi, >Recently we implemented a program that does a lot of database query, and >after we put the program online for people to use, the server hangs almost >once everyday. Looking at the server log, it seems we have run out of >memory, the server complains "there is no more space to fork a child >process". We have to kill the server process, and restart it. > >So we start paying attention to our process size, and it seems to be getting >bigger and bigger as it runs. I cannot be sure, but I thought it almost >grows bigger every time after submitting a query. We looked at our program, >and could not determine why this is happening. We add code to do a "ns_db >flush" after every query, and made sure we release handle every time after a >query, but things did not improve. > >Anyone has any idea why this is happening? Is there such a problem reported >for AOLServer? We have Ver.2.0 running on a Solaris platform. Hello, There are no known memory leaks in AOLserver. However, it is possible the way Tcl garbage collects is causing you problems because temporary sets are not free'd until after your script returns. These sets are returned from the "ns_set copy" or "ns_set new" commands as well as the "ns_db 1row" (or "ns_db 0or1row") commands. If your script has many 1row commands and runs for a long time, the process will grow and grow until the script exits. AOLserver 2.1b7 (posted today) provides the new "ns_set free" command so you can free sets inside your script to avoid this problem. For example: for ... { set row [ns_db 1row $db $sql] ... work with $row ... ns_set free $row } Another option you can use in AOLserver 2.0 as well is to simply use select and getrow instead of 1row. This works because select returns an id to an internal set which is free'd on each flush, for example: proc my_1row {db sql} { ns_db flush $db ; # free's internal row set row [ns_db select $db $sql] ; # returns internal row ns_db getrow $db $row ; # modifies internal row return $row } for ... { set row [my_1row $db $sql] ... work with $row ... } Of course in this case the contents of the previous row are lost each time around so something like the following only works with the real 1row: for {set i 0} {$i < 10} {incr i} { set rows($i) [ns_db 1row $db $sql($i)] } ... work with the 10 sets saved in the $rows array ... If you used my_1row instead of ns_db 1row, the set id's would all be the same and the set would only contain the data from the last my_1row. Another problem with my_1row procedure above is that it doesn't benefit from the checking performed by the underlying Ns_Db1Row command. Ns_Db1Row raises an error if more than one row is returned, similar to the way "select unique" would. This is often an important runtime database integrity check. Cheers, -Jim _______________________ Jim Davidson jimbo@sb.aol.com Voice: (805) 882-2350 Fax: (805) 899-4316 ========================================================================= Date: Fri, 9 Aug 1996 17:04:48 -0800 Reply-To: Web Development with AOLserver and PrimeHost Sender: Web Development with AOLserver and PrimeHost From: Alex Khassin Subject: Re: Database In-Reply-To: <2.2.32.19960809000241.006a2118@netwerks.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=_10tW49g.bO1996u.N01d000A.r08Y.04:00527f" Content-Transfer-Encoding: 7bit --=_10tW49g.bO1996u.N01d000A.r08Y.04:00527f Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit > Does anyone know how I would be able to change the datatype of a >column in the illustra database, when one has already inputted/created the >table information? Can't do it! You can neither delete nor modify columns after they have been created. But you can RENAME the old column, create a new column with the old name but the right type and copy all the data from the old column to the new one and then set every row in the old column to \null. Oof! Unfortunately it's the only way short of deleting the table and creating a new one as a select of all columns other than the wrong one from the old table. --=_10tW49g.bO1996u.N01d000A.r08Y.04:00527f Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="alexsig.txt" Content-Description: The Sender's Signature -- ---------------------------------------------------------------- Alex Khassin AM Computers mailto:akhassin@am.net 1040-B N. Dutton Ave Voice: (800) 579-2018 Santa Rosa, CA 95401 (707) 579-2010 http://am.net ---------------------------------------------------------------- The Source for Advanced Computing Solutions ---------------------------------------------------------------- am.net = The Best Hosting Service with integrated database, secure transactions, real-time credit card processing and more ---------------------------------------------------------------- --=_10tW49g.bO1996u.N01d000A.r08Y.04:00527f-- ========================================================================= Date: Sat, 10 Aug 1996 19:10:57 -0400 Reply-To: james@plantaganet.com Sender: Web Development with AOLserver and PrimeHost From: James Smallacombe Organization: PlantagaNet, Inc. Subject: AOLserver d/l freezes MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hi: I'm running AOLserver 2.1b6 with the under Solaris 2.5, with all the patches called for both for AOLserver and the OS. I've noticed that some pages won't load all the way from Netscape. 99% of the page loads fine, but it hangs on the last line or two. It doesn't happen with every page, but about half. Has anyone else seen this, or better yet, a solution? TIA ____________________________________________________________________ James Smallacombe Bucks County, PA PlantagaNet, Inc. Internet Access Providers james@plantaganet.com http://www.plantaganet.com "Slave, I have set my life upon a cast, and I will stand the hazard of the die." Richard III, V, v. ========================================================================= Date: Mon, 12 Aug 1996 12:59:24 -0700 Reply-To: Web Development with AOLserver and PrimeHost Sender: Web Development with AOLserver and PrimeHost From: Richard Galpin Subject: Performance of a Sun server. Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Hello, Does anyone have any practical experience of the performance using a Sun 4 server with 32MB of memory. I will be using it with Illustra but only for small databases. What hit rate can this server support? Thanks for your help. Richard ========================================================================= Date: Mon, 12 Aug 1996 14:08:32 -0400 Reply-To: Web Development with AOLserver and PrimeHost Sender: Web Development with AOLserver and PrimeHost From: Barlow Subject: TCL interface Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" I am reading the docs on TCL useage and it says there is a link from the nsadmin setup page for TCL scripting I have no such link?? I also tried the /NS/tclinit url to no avail. As far as I can tell my server install did not setup any TCL useage for me, how do I enable this feature now?? thanks all! http://204.181.7.192 barlow@servtech.com ========================================================================= Date: Mon, 12 Aug 1996 18:10:44 -0400 Reply-To: Web Development with AOLserver and PrimeHost Sender: Web Development with AOLserver and PrimeHost From: Jeff Rawlings Subject: Re: Support and Documentation Comments: To: Ted Goessling Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Ted, I've cc:ed the server list on this reply. As you mentioned, many of the list members might be interested in more information about the support contract we're offering. At 11:48 AM 8/12/96 U, Ted wrote: >1) What's included in the support contract? Is there a certain number of > issues, hours, response time, etc? When I first started using GNN > server, I got some wonderful informal support from folks there, but now > I need to be able to tell my boss what we'll get for the $1,000/year. Unlimited customer service/tech support during our normal hours of operation (currently 9am - 6pm weekdays). >2) What's included in the documentation? I understand that it's the only > way to get the Illustra stuff (which I really need!), but also want to > get the documents for AOLserver 2.1 when they are released. The support contract will include the documentation for the current release. Now, that's version 2.033. Software upgrades will be free; new documentation will need to be purchased separately. Here is the full list of server documentation: AOLserver Administration Guide AOLserver Tcl Developer's Guide AOLserver C Developer's Guide AOLserver CGI Developer's Guide Illustra System Administration Guide Illustra User's Guide Guide to Illustra Text DataBlade & Sybase Gateway >3) Does support come with or open the option of getting media for the > software? There's a certain warm and fuzzy feeling managers get when > they have shrink-wrapped CDs to show for their purchases. We don't currently have any plans to ship the software on media. The capability to update the shipping version of the software quickly gives us quite a bit of flexibility... >4) What rev(s) of the server software are included in the support? Version 2.033, and future versions after they've been officially released. >5) Does support include help/bug fixes for AOLpress? I now have about 50 > AOLpress users that I'd like to supply with better answers when things > go wrong. I assume that we would need to designate a contact person and > not let end users access our support person, but I don't know if the > support includes AOLpress problems. No, the support contract doesn't include AOLpress support. Currently, the best way to get AOLpress support is to purchase a Domain Service account with PrimeHost. I hope that answers your questions. Let me know if you have any more, or any suggestions! Regards, Jeff Rawlings -- rawlings@primehost.com -- http://www.primehost.com/ Internet Marketing Manager, AOL PrimeHost *Web hosting with multiple-T3 connectivity and 7x24 monitoring *AOLserver software, with relational database and full APIs ========================================================================= Date: Mon, 12 Aug 1996 18:21:53 -0700 Reply-To: Web Development with AOLserver and PrimeHost Sender: Web Development with AOLserver and PrimeHost From: gnat Subject: Re: Compile HTML Upload Module Comments: To: jyu@novatel.ca In-Reply-To: <199608071745.LAA00536@ntsrv001.corp.novatel.ca> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On Wed, 7 Aug 1996 jyu@novatel.ca wrote: > The program compile fine but the linker said it cannot find the external > ns_openwrite. Ohhhhh I feel stupid. Ok I did two bad things here. One is that ns_openwrite is an undocumented function that apparently doesn't like NT. The other was that in the call to ns_openwrite I call Ns_GetContentFileCreationMode() and I hard coded the virtual server that I was testing on....opps. I know I saw something somewhere where I can get the hServer from the Tcl interp without passing the hServer variable, but i'm not sure, and not sure if its documented if I did. As a temp fix until I finish moving and can get back to my C API guide I have hard coded it to use the file creation mode of 0644 (the default for the server). Hopefully my Indy will be working by the end of the week and I can get a real fix in there. I replaced the old code with the temp fix. Sorry all. Dave David Whittle Internet Systems Developer Digital City, Inc. (P) (703) 918-2465 (F) (703) 918-1207 (E) gnat@aol.net ========================================================================= Date: Tue, 13 Aug 1996 12:06:12 UT Reply-To: Web Development with AOLserver and PrimeHost Sender: Web Development with AOLserver and PrimeHost From: Doug Patton <365_TAO_DigitalBeing@msn.com> Subject: Re: Performance of a Sun server. We are using a Sparc 4 with 64 megs of ram. We have 6 development databases, and 2 public Web Sites. It is slow as &*ell. Basically Illustra ques the queries, and since the Illustra loads the Web Dameon everytime a request comes in it is swapping to disk all the time. The Sparc 4 would be enough if all that was on it was the Illustra Database with just one Web Site. No Web Server, and having Illustra just pre-publish all the Web Pages so a another machine - (LINUX BOX :-) or something else, with the Web Server Software serve up the static pages. Only have access to the database if the information is TEXT only. With Binaries it is just to slow. The big problem is the Caching just doesn't work all that well. We are using the lastest Illustra 3.3 and the latest Web Drivers and such. It could be are queries they are rather complex. But for a database MSQL is faster and at least you have source to that. It just is Illustra has a great Idea O-R, but they have left out the all the amenities that come with a Relational Database , record locking, Indexing, cross indexing , speed, etc. Maybe and Hope alot that the Universal server will give that. I am betting the whole company that it will so it better. :-). ---------- From: Web Development with AOLserver and PrimeHost on behalf of Richard Galpin Sent: Monday, August 12, 1996 3:59 PM To: Multiple recipients of list AOLSERVER Subject: Performance of a Sun server. Hello, Does anyone have any practical experience of the performance using a Sun 4 server with 32MB of memory. I will be using it with Illustra but only for small databases. What hit rate can this server support? Thanks for your help. Richard ========================================================================= Date: Tue, 13 Aug 1996 10:23:38 -0500 Reply-To: Web Development with AOLserver and PrimeHost Sender: Web Development with AOLserver and PrimeHost From: eric Subject: questions MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hi all, I have a couple of questions: 1) In trying to run the latest server (2.1) beta 7 on NT I get an error about not finding MSVCRT.DLL. I copy msvcrt40.dll to msvcrt.dll and I then get incorrect function. You can see screen prints of this at http://www.4622.com/aol.html. 2) Has anyone written a database driver for Informix 7? I am running Work Group Server on NT x86. Does anyone know of documentation for writing a database driver? -- other that the examples that ship with the server. I am very interested in using some of the features new to 2.1 like the external database driver. 3) Has anyone looked into FastCGI -- see http://www.fastcgi.com -- for the AOLserver? While the external database driver is a step in the right direction, an implementation of FastCGI is what I would really like -- move the application processing outside the AOLserver process space. TIA Eric ========================================================================= Date: Tue, 13 Aug 1996 23:15:11 -0400 Reply-To: pkwu@lehman.com Sender: Web Development with AOLserver and PrimeHost From: Peter Wu Subject: perl4 function for use with nsql/msql Hi, Perhaps some of you can make use of it if you prefer perl over tcl as I do. It seems to work well with nsql at least with my limited testing thus far. #!/usr/local/bin/perl # # Function: msqlcmd # Author: Peter K. Wu (peter@columbia.edu|pkwu@lehman.com) # # A perl subroutine that can make sane usage of msql (or nsql) that comes # with illustra. # # Bugs: can't use pipe "|" as data because this function uses the # character as the field separator. # # Usage: msqlcmd($msql,$user,$passwd,$database,$sql) # # Returns: ($numcols,$numrows,$header,%data,$err) # @header is a 1D array from 0 to $numcols-1 # %data is a 2D array of {row,column} # row 0 of %data is the heading # rows 1 through $numcols-1 are the data # $err contains any messages from illustra written to stderr # ############################################################################### ############################################################################### # Test code: # $sql="select * from Survey where TIMS_MANAGER='Foo Bar'"; # $database="Foobar"; # $user="Foobar"; # $command="/opt/gnnserver/bin/nsql"; # print $sql . "\n"; # # ($numcols,$numrows,$header,%data,$err)=&msqlcmd($command,$user,'',$database,$sql); # print "numcols=$numcols\n"; # print "rows=$numrows\n"; # print "-------------------------------------------------------------\n"; # for( $j=0; $j<$numrows; $j++ ) # { # for( $k=0; $k<$numcols; $k++ ) # { # print $header[$k] . "\n"; # print $data{$j,$k} . "\n"; # } # print "-------------------------------------------------------------\n"; # } # # print "ERROR=$err\n"; sub msqlcmd { local($msql,$user,$passwd,$database,$sql)=@_; local($i); local($row,$count,$cols,$header); # Force the flushing of stdin/out local($flushstate)=$|; $|=1; # Set the field separater to the pipe character local($separator)=$/; $/='|'; # get rid of any trailing commas so we only send one to illustra $sql =~ s/;$//; open(IN,"echo \"$sql;\" |$msql -w 0 -U $user -P '$passwd' $database 2>/tmp/gnn.stderr.$$ |"); # get the header $cols=0; while( ) { s/^\*\s//; next if /^NSQL/; next if /^Connected/; next if /^\s+$/; last if /-------------------------------------------------------/; s/\s*\|$//; $header[$cols++]=$_; } $count=0; do { for( $i=0; $i<$cols; $i++ ) { $_=; s/\s*\|$//; $row{ $count ,$i}=$_; } $_=; $count++ if $_ ne ''; } while( !eof(IN) ); close(IN); $/=$separater; open(ERR," ) { chop(); $err.=$_; } close(ERR); $|=$flushstate; unlink("/tmp/gnn.stderr.$$"); # return this ($cols,$count,@header,%row,$err); } ========================================================================= Date: Wed, 14 Aug 1996 03:20:58 -0400 Reply-To: Web Development with AOLserver and PrimeHost Sender: Web Development with AOLserver and PrimeHost From: Barlow Subject: accessLog stat program Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" can anyone recommend an access log stats program that works with the Gnnserver? I have seen numerous stat programs around the net but they all have some deficiency.Nothing to fancy just something a customer can view there stats with easier then deciphering the text based access log Thankyou all P.S. if your name is All a double thankyou http://204.181.7.192 barlow@servtech.com ========================================================================= Date: Wed, 14 Aug 1996 03:24:26 -0400 Reply-To: Web Development with AOLserver and PrimeHost Sender: Web Development with AOLserver and PrimeHost From: Barlow Subject: winNT virtual servers Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" I read in the GNN docs that you can setup winnt manually to be able to recognize up to 16 differant IP address numbers.What gives here? I was under the impression that winNT could support at least 256?? I have not run virtual Ips/servers yet but plan to in the future and only being able to have 16 virtual accounts seems like a real handycap! Bye the way I am running WinNT workstation at this time thanks all http://204.181.7.192 barlow@servtech.com ========================================================================= Date: Wed, 14 Aug 1996 10:39:57 -0700 Reply-To: Web Development with AOLserver and PrimeHost Sender: Web Development with AOLserver and PrimeHost From: Jim Davidson Subject: Re: winNT virtual servers Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" At 03:24 AM 8/14/96 -0400, Barlow wrote: >I read in the GNN docs that you can setup winnt manually to be able to >recognize up to 16 differant IP address numbers.What gives here? I was under >the impression that winNT could support at least 256?? I have not run >virtual Ips/servers yet but plan to in the future and only being able to >have 16 virtual accounts seems like a real handycap! >Bye the way I am running WinNT workstation at this time Yes, it's true you can only have 16ip addresses on WinNT 3.51 and this was a real handicap. I heard a rumor that under 4.0 the number was greatly increased, perhaps to 256 per interface. Remember that Microsoft only discovered the Internet about a year ago so this isn't too surprising. For comparison, Solaris allow 256 addresses per interface and I've configured over a 1000 addresses on a single SGI interface. By the way, AOLserver 2.1 had much of it's core optimized for many more virtual servers (100's instead of 10's). This meant the elimination of a few idle threads per server and the ability to use a single socket to listen for connections to all servers. Cheers, -Jim _______________________ Jim Davidson jimbo@sb.aol.com Voice: (805) 882-2350 Fax: (805) 899-4316 ========================================================================= Date: Wed, 14 Aug 1996 20:54:13 +0200 Reply-To: Web Development with AOLserver and PrimeHost Sender: Web Development with AOLserver and PrimeHost From: Gaute Amundsen Subject: Illustra (re)innstallation Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" I am having one very annoying problem when installing Illustra. I am installing AOLserver and Illustra on a DEC Prioris - NT 3.5.1 sp4. Just before I began the installation I changed the name of the server from "pri1" to "senior". Problem is, Illustra installs as pri1! There used to be an installation of both Illustra and the GNNserver on this Prioris. I removed them both very careful, an edited the registry to remove any traces. By now I have done this several times. I still cannot get the illustra server to recognize where it is. The only possible remaining problem I can think of could be that the ip is still registered as pri1. To work around this until our DNS provider can change it I added a line to the hosts file. This works fine for AOLserver, but apparently not for Illustra. Please Illustra/NT-gurus out there, a hint? gaute ========================================================================= Date: Wed, 14 Aug 1996 06:01:32 -0400 Reply-To: Web Development with AOLserver and PrimeHost Sender: Web Development with AOLserver and PrimeHost From: Barlow Subject: form handler routine Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Hi all I have torn my hair out for 10 days now trying to figure the useage of the form handler in GNN. Does Gnn have a generic form handler built in that users can access or not?? GNNpress form's help screen and tutorial links me to an outside URL for form processing what a joke. Gnn documentation talks of useing forms but does not give the form action url either. Another section says if you have commercial version of GNN you can write your own TCL script for forms, all fine and good if you are a programmer :( I searched the GNN FAQ database (another joke) to no avail as well I found a nice mail.txt TCL script for mail sending that I was able to install easily but did not see any examples for Forms in general. I cannot believe this is so difficult, what am I doing wrong?? I had thought forms were so basic to web servers that it should be obvious what the form action URL would be for GNN server???if there is a TCL script hideing out there I need to install please advise me. any help would be GREATLY appreciated http://204.181.7.192 barlow@servtech.com ========================================================================= Date: Wed, 14 Aug 1996 13:08:25 -0700 Reply-To: Web Development with AOLserver and PrimeHost Sender: Web Development with AOLserver and PrimeHost From: Jim Davidson Subject: Re: Illustra (re)innstallation Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" At 08:54 PM 8/14/96 +0200, Gaute Amundsen wrote: >I am having one very annoying problem when installing Illustra. >I am installing AOLserver and Illustra on a DEC Prioris - NT 3.5.1 sp4. >Just before I began the installation I changed the name of the server >from "pri1" to "senior". >Problem is, Illustra installs as pri1! > >There used to be an installation of both Illustra and the GNNserver >on this Prioris. >I removed them both very careful, an edited the registry to remove any traces. > >By now I have done this several times. > >I still cannot get the illustra server to recognize where it is. > >The only possible remaining problem I can think of could be >that the ip is still registered as pri1. >To work around this until our DNS provider can change it >I added a line to the hosts file. >This works fine for AOLserver, but apparently not for Illustra. > >Please Illustra/NT-gurus out there, a hint? Hello, What's in your MiParams file? Try setting MI_HOST and MI_LICENSE to "localhost". Also, you may need to reinstall the Illustra license key with the ELMD Administrator. -Jim _______________________ Jim Davidson jimbo@sb.aol.com Voice: (805) 882-2350 Fax: (805) 899-4316 ========================================================================= Date: Wed, 14 Aug 1996 17:27:42 -0400 Reply-To: Web Development with AOLserver and PrimeHost Sender: Web Development with AOLserver and PrimeHost From: Jeff Rawlings Subject: Re: form handler routine Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" At 06:01 AM 8/14/96 -0400, you wrote: >Hi all I have torn my hair out for 10 days now trying to figure the useage >of the form handler in GNN. Does Gnn have a generic form handler built in >that users can access or not?? Are talking about the members.gnn.com server, a PrimeHost (formerly GNN Hosting) account, or your own server running GNNserver? >GNNpress form's help screen and tutorial links me to an outside URL for form >processing what a joke. >Gnn documentation talks of useing forms but does not give the form action >url either. The form action URL is often different, based on what you want the form to do. If you just want to send email with the form data, you have different options: 1) If you are on members.gnn.com, check the gnn.discuss newsgroup for a FAQ and instructions on using the built-in mail script. 2) If you are on PrimeHost, the Getting Started manual has instructions for using both of the built-in mail scripts we provide: http://www.primehost.com/members/create/tutorial 3) If you have your own server, you'll need to add a script to your server and register it to handle a particular URL. The server documentation on www.aolserver.com has instructions, and there are several sample scripts in the Developer's Corner: http://www.primehost.com/members/develop/code >Another section says if you have commercial version of GNN you can write >your own TCL script for forms, all fine and good if you are a programmer :( >I searched the GNN FAQ database (another joke) to no avail as well I'm open to suggestions -- what would you like to see? >I found a nice mail.txt TCL script for mail sending that I was able to >install easily but did not see any examples for Forms in general. What sort of processing do you want to do with your form? You might very well have to code a script. > I cannot believe this is so difficult, what am I doing wrong?? I had >thought forms were so basic to web servers that it should be obvious what >the form action URL would be for GNN server???if there is a TCL script >hideing out there I need to install please advise me. Forms can be processed at any URL on the server... In order to do so, you need to register the form handling script to answer at that URL. A good example of how this works is the mail.tcl script you mentioned. That script registers itself to handle POST to /mail . So, if you want to use that script, /mail is your form handler location. For other scripts, you can decide what that URL should be. I hope that helps a little... Jeff Rawlings -- rawlings@primehost.com -- http://www.primehost.com/ Internet Marketing Manager, AOL PrimeHost *Web hosting with multiple-T3 connectivity and 7x24 monitoring *AOLserver software, with relational database and full APIs ========================================================================= Date: Wed, 14 Aug 1996 23:08:22 +0200 Reply-To: Web Development with AOLserver and PrimeHost Sender: Web Development with AOLserver and PrimeHost From: Gaute Amundsen Subject: Installing the Illustra Client Toolkit Comments: To: illustra-users@ftp.illustra.com Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" I was lead to believe that if I bough the Illustra Client Toolkit, it would include a license to enable me to run IQT with the version of Illustra that comes with the AOL / GNN server that normally does not support IQT. I just received the kit from Informix and found no license nr. included. Maybe this version of IQT magically installs its own license nr? On the previous incarnation of the GNNserver, the Naviserver, IQT was included, but one had to manually enter the license nr. NSQL works fine with the same host-db-passw settings. So it may seem like I have been miss lead..... gaute -- ----------------------------------------------------------- Gaute Amundsen Grafisk InterLink TCL/CGI & Drift Din kurs leverandor gaute@gil.no http://www.GIL.no ----------------------------------------------------------- ========================================================================= Date: Wed, 14 Aug 1996 23:46:22 -0700 Reply-To: Web Development with AOLserver and PrimeHost Sender: Web Development with AOLserver and PrimeHost From: Jim Davidson Subject: Re: Performance of a Sun server. Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" At 12:06 PM 8/13/96 UT, Doug Patton wrote: >We are using a Sparc 4 with 64 megs of ram. We have 6 development >databases, and 2 public Web Sites. It is slow as &*ell. Basically Illustra >ques the queries, and since the Illustra loads the Web Dameon everytime >a request comes in it is swapping to disk all the time. > >The Sparc 4 would be enough if all that was on it was the Illustra Database >with just one Web Site. No Web Server, and having Illustra just >pre-publish all the Web Pages so a another machine - (LINUX BOX :-) or >something else, with the Web Server Software serve up the static pages. Only >have access to the database if the information is TEXT only. With Binaries it >is just to slow. The big problem is the Caching just doesn't work all that >well. >We are using the lastest Illustra 3.3 and the latest Web Drivers and such. It >could be are queries they are rather complex. But for a database MSQL is >faster and at least you have source to that. It just is Illustra has a great >Idea >O-R, but they have left out the all the amenities that come with a Relational >Database , record locking, Indexing, cross indexing , speed, etc. Maybe and >Hope alot that the Universal server will give that. I am betting the whole >company that it will so it better. :-). Hello, Are you accessing pages through the Illustra Web Datablade CGI interface? If so I'm not surprised it's slow because that's quite a bit of overhead. You should be able to issue the same queries as the Web Datablade CGI through the AOLserver Tcl interface. It would be some work but the performance gain could be significant. Cheers, -Jim _______________________ Jim Davidson jimbo@sb.aol.com Voice: (805) 882-2350 Fax: (805) 899-4316 ========================================================================= Date: Wed, 14 Aug 1996 10:20:35 +0200 Reply-To: Web Development with AOLserver and PrimeHost Sender: Web Development with AOLserver and PrimeHost From: Kristian Jorg Subject: C module for uploading of files via multipart-encoded form data Hi all! I have made a module for uploading files to a web-server from a form that uses enctype='multipart/form-data'. I could not find any C code either on the AOL site or any other place on the net for decoding this. It seems to be missing in the GNN C API as well so I wrote my own decoder. The code is in use today and quite stable, but can be considered as beta since it is not widely tested. If there is an interest in this code I might give it a lookover and upload the stuff to the GNN site. /Kristian ========================================================================= Date: Thu, 15 Aug 1996 16:46:24 +0200 Reply-To: Web Development with AOLserver and PrimeHost Sender: Web Development with AOLserver and PrimeHost From: Gaute Amundsen Subject: Byteserver?? Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Has anyone implemented a byteserver module or TCL script, that they would be willing to share? ref: http://www.adobe.com/acrobat/3beta/byteserve.html This is to let a client request parts of an acrobat document. There is a perl script provided on the above page, and it does not look difficult to port to TCL, but if someone has already done it, it would still be a waste. gaute ========================================================================= Date: Thu, 15 Aug 1996 10:49:19 -0700 Reply-To: Web Development with AOLserver and PrimeHost Sender: Web Development with AOLserver and PrimeHost From: Jim Davidson Subject: Re: Installing the Illustra Client Toolkit Comments: cc: illustra-users@ftp.illustra.com Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" At 11:08 PM 8/14/96 +0200, Gaute Amundsen wrote: >I was lead to believe that if I bough the Illustra Client Toolkit, >it would include a license to enable me to run IQT with the version of >Illustra that comes with the AOL / GNN server that normally does not support >IQT. > >I just received the kit from Informix and found no license nr. included. > >Maybe this version of IQT magically installs its own license nr? > >On the previous incarnation of the GNNserver, the Naviserver, >IQT was included, but one had to manually enter the license nr. > >NSQL works fine with the same host-db-passw settings. > >So it may seem like I have been miss lead..... Hello, The AOLserver only includes licenses for accessing the Illustra server and a few datablades through the nsill.so module, the nsql program, or the new AOLserver 2.1 nsillpd database proxy daemon. This restriction is enforced through a special application key nsill.so, nsql, and nsillpd send which cause Illustra to use 11000-series license keys instead of the ordinary 00-series keys. At one time Illustra was allowing us to distribute a single 00 Illustra server key which allowed you to use IQT but this is no longer the case. Note that even in those days you still couldn't use IQT to access the features of the Text datablade, including an attempt to dump a database with Text datablade installed. So it sounds to me like Illustra is confused and assumed you were an ordinary customer with an existing 00 key. This isn't too surprising because the old NaviSoft/Illustra agreement pre-dated the Illustra/Informix merger and Informix is now handling the keys. They need to either give you cooresponding 00-series keys or refund your money. Cheers, -Jim _________________________________________________ Jim Davidson | jimbo@sb.aol.com AOLserver Project Manager | America Online Inc. | 511 Bath Street | Voice: (800) 529-9166 Santa Barbara, CA 93101 | Fax: (805) 899-4316 ========================================================================= Date: Thu, 15 Aug 1996 10:54:03 -0700 Reply-To: Web Development with AOLserver and PrimeHost Sender: Web Development with AOLserver and PrimeHost From: Jim Davidson Subject: Re: C module for uploading of files via multipart-encoded form data Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" At 10:20 AM 8/14/96 +0200, Kristian Jorg wrote: >Hi all! > >I have made a module for uploading files to a web-server from a form >that uses enctype='multipart/form-data'. > >I could not find any C code either on the AOL site or any other place on >the net for decoding this. It seems to be missing in the GNN C API as well >so I wrote my own decoder. > >The code is in use today and quite stable, but can be considered as beta >since it is not widely tested. > >If there is an interest in this code I might give it a lookover and upload >the stuff to the GNN site. Hello, Sounds like a great addition to the AOLserver developer's corner: http://www.primehost.com/members/develop/code/index.htm Cheers, -Jim _______________________ Jim Davidson jimbo@sb.aol.com Voice: (805) 882-2350 Fax: (805) 899-4316 ========================================================================= Date: Thu, 15 Aug 1996 14:06:13 -0400 Reply-To: Web Development with AOLserver and PrimeHost Sender: Web Development with AOLserver and PrimeHost From: Jeff Rawlings Subject: Re: Email Forms Comments: To: gnnhost-l@services.web.aol.com Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" At 02:47 PM 8/14/96 -0400, Nilt wrote: >Hi, > >Thanks for posting such a great script for handling e-mail messages and updating a database at the same time! >I'm planning to use your code to do just that. > >In your code you suggest that a pool be set in the POSTed form. How exactly do I set this up? I used something >called a "SQL database pool" when I created a table for my site. I suppose this would be the "pool" to specify >in the form, but I'm uncertain about the syntax to so. > >Nilt Nilt, If you're on PrimeHost (it sounds like you are), it might just be easier to hard-code the pool into the script. There should be a line like: set pool [ns_set get $formdata pool] Change it to: set pool "sql" If you want, you can set it in your form instead. This is useful if you have more than one pool, but you don't as a PrimeHost customer. You would use this to set the pool in your form: Hope that helps! Do you mind if I forward your question with the reply to the mailing lists? Others might benefit from it... Thanks, Jeff Rawlings -- rawlings@primehost.com -- http://www.primehost.com/ Internet Marketing Manager, AOL PrimeHost *Web hosting with multiple-T3 connectivity and 7x24 monitoring *AOLserver software, with relational database and full APIs ========================================================================= Date: Thu, 15 Aug 1996 14:10:53 -0400 Reply-To: Web Development with AOLserver and PrimeHost Sender: Web Development with AOLserver and PrimeHost From: Jeff Rawlings Subject: Re: Email Form Comments: To: Nilt Comments: cc: gnnhost-l@services.web.aol.com Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" At 01:26 PM 8/15/96 -0400, Nilt wrote: >Thank you for your help yesterday with my "pool" question. By the way, yes you can add >my question to your list serv. > >I followed the examples you give for creating a template and form to work with your >"Email Form" script. But I don't understand what the connection between the the form, >template and script is. I understand that the form will use the template to display the >data entered into it, which I'll receive in the form of an e-mail message. But neither >your form nor template examples specify what script to use. Your form example invokes >the template but not the script to use. And the template in merely a text file which >allocates space for the info entered into the form but does not, in any way I can see, >invoke the script. Excellent questions. If you take a look at the first line of the script, you'll see something like: ns_register_proc POST /*.row insertandmailop This is what connects the form to the template and the script. Every time you post from a form to any URL on your server that ends with ".row", this script will be invoked. The script knows where to get the template, because the filename of the template is in the URL. So, here's what you do: 1) put your template on the site at some location; say /template.row . 2) put your form on the site at some location, such as /feedback.html . 3) the form's Action should be a POST to the template's URL; in this case, /template.row . >I was told that I would need to get a copy of the script and copy it to my site >directory (/web/pages I assume). What should I call it, mailform.tcl? How can I make my >form use the script? If you're on PrimeHost's commercial service, the script is probably already installed. If it isn't, you can install the script like this: 1) Copy it from the PrimeHost developer's corner. 2) Go to the /NS/Admin URL on your site 3) click on Tcl Scripting, then Edit/Create script files 4) at the bottom of the page, type a name for the script and click "Create Script" 5) Paste the script into the form you now see, and click create. The script is now installed on your server. Hope that makes it a bit clearer! Regards, Jeff Rawlings -- rawlings@primehost.com -- http://www.primehost.com/ Internet Marketing Manager, AOL PrimeHost *Web hosting with multiple-T3 connectivity and 7x24 monitoring *AOLserver software, with relational database and full APIs ========================================================================= Date: Thu, 15 Aug 1996 14:38:34 -0400 Reply-To: Web Development with AOLserver and PrimeHost Sender: Web Development with AOLserver and PrimeHost From: Jeff Rawlings Subject: List name changes; subscribing & unsubscribing Comments: To: HOSTING@services.web.aol.com Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Hello, everyone. Because of our recent rebranding to PrimeHost, AOLpress, and AOLserver (instead of GNN Hosting, press, and server), we have renamed these two lists. The list for discussion of 'press and hosting, previously called "GNNHOST-L", is now called "HOSTING". The list for discussion of scripting, databases, and other advanced usage of the server is now called "AOLSERVER" instead of "GNNDEVELOPER-L". The readership of the lists and the relevant topics have not changed. In fact, the new names are aliases; the listserv will still execute commands that refer to the old list names, as well as the new. To unsubscribe from the list(s), send this message to LISTSERV@services.web.aol.com: SIGNOFF HOSTING SIGNOFF AOLSERVER If this doesn't work, it probably means that you've signed on at an alias, or for some other reason your From: address doesn't exactly match your entry in the list. If this happens, you can go to this URL to remove your subscription: http://www.primehost.com/members/discuss/listserv.htm (Please don't send unsubscribe requests to the list!) Regards, Jeff Rawlings -- rawlings@primehost.com -- http://www.primehost.com/ Webmaster, PrimeHost Moderator, HOSTING and AOLSERVER mailing lists For inquiries about Web Hosting, send email to ========================================================================= Date: Thu, 15 Aug 1996 14:31:37 -0400 Reply-To: Web Development with AOLserver and PrimeHost Sender: Web Development with AOLserver and PrimeHost From: gnat Subject: Re: C module for uploading of files via multipart-encoded form data In-Reply-To: <9608140820.AA16304@ befor.se> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On Wed, 14 Aug 1996, Kristian Jorg wrote: > I have made a module for uploading files to a web-server from a form > that uses enctype='multipart/form-data'. > > I could not find any C code either on the AOL site or any other place on > the net for decoding this. It seems to be missing in the GNN C API as well > so I wrote my own decoder. > > The code is in use today and quite stable, but can be considered as beta > since it is not widely tested. > > If there is an interest in this code I might give it a lookover and upload > the stuff to the GNN site. I have a module that does this at http://www.deadend.org/dev/c_tcl.html also. Except for NT not liking an undocumented function and a stupid hardcoding mistake I made, I think it is pretty stable right now (I did fix those two things). If you don't mind I would like to see your code though. Dave David Whittle Internet Systems Developer Digital City (P) (703) 918-2465 (F) (703) 917-1207 (E) gnat@digitalcity.com ========================================================================= Date: Fri, 16 Aug 1996 11:47:26 +0800 Reply-To: Web Development with AOLserver and PrimeHost Sender: Web Development with AOLserver and PrimeHost From: edmas Organization: Aidem Consultants Subject: Multiple IP address on Windows NT 3.51 Comments: cc: barlow@servtech.com, jimbo@sb.aol.com MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit At 03:24 AM 8/14/96 -0400, Barlow wrote: >I read in the GNN docs that you can setup winnt manually to be able to >recognize up to 16 differant IP address numbers.What gives here? I was under >the impression that winNT could support at least 256?? I have not run >virtual Ips/servers yet but plan to in the future and only being able to >have 16 virtual accounts seems like a real handycap! >Bye the way I am running WinNT workstation at this time I'd tried adding 40 addresses to one interface card for Windows NT 3.51, they seem to be working fine, I've no problem ping-ing these addresses. As for the AOL virtual servers, I'd configured them to listen to selected addresses at random, and they worked fine too. (too tedious to add and configure all 40 of them) below is a quote from Mr. Tank: -----------------------------------------------------------------------> 3) Have you come accross people running 40 ip address on one > NT machine? Yes, there was someone on the GNN-Developer list who said they were running close to 100 on NT 3.51 > 4) What is the limit (IP) for NT and GNNserver, any idea? Microsoft claims that the limit is something like 16 and that is all they will openly support, but I have talked with a few people who say they are using many more without problem. NT 4.0 will not have the same limit.... meaning 250+ IP's per interface should be acceptable. As far as I know, GNN does not have a limit on virtual servers. ----------------------------------------------------------------------- Thanks again to Tank (SPM) Edmas Aidem Consultants ========================================================================= Date: Fri, 16 Aug 1996 15:51:07 +0000 Reply-To: Web Development with AOLserver and PrimeHost Sender: Web Development with AOLserver and PrimeHost From: William H Powell Subject: Additional Disk Drives Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Most Learned WebMeisters, I'm adding three additional virtual servers and have managed to weasel a couple of two gig drives from the sponsor. The system runs on Win NT 3.51 Workstation so I can't link in the filesystems on the new drives under the server root. Is there ANY (reasonable) way to get AOL/GNNServer to look for it's pages directory on a different drive under NT? Thanx in advance, Bill Powell ========================================================================= Date: Fri, 16 Aug 1996 16:55:23 -0400 Reply-To: Web Development with AOLserver and PrimeHost Sender: Web Development with AOLserver and PrimeHost From: John Nielsen Subject: ns_sendmail MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit When I try to use ns_sendmail, it only allows me to send to one users, it won't accept a list of users delimited by commas or spaces. Can you only use ns_sendmail to send to one user? john ========================================================================= Date: Fri, 16 Aug 1996 14:46:08 -0700 Reply-To: Web Development with AOLserver and PrimeHost Sender: Web Development with AOLserver and PrimeHost From: Jim Davidson Subject: Re: Additional Disk Drives Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" At 03:51 PM 8/16/96 +0000, William H Powell wrote: >Most Learned WebMeisters, > >I'm adding three additional virtual servers and have managed >to weasel a couple of two gig drives from the sponsor. > >The system runs on Win NT 3.51 Workstation so I can't link in >the filesystems on the new drives under the server root. >Is there ANY (reasonable) way to get AOL/GNNServer to look for >it's pages directory on a different drive under NT? Hello, Set PageRoot as described on: http://www.aolserver.com/server/docs/2.0/html/con-ch4.htm -Jim _______________________ Jim Davidson jimbo@sb.aol.com Voice: (805) 882-2350 Fax: (805) 899-4316 ========================================================================= Date: Sat, 17 Aug 1996 04:06:03 -0400 Reply-To: Web Development with AOLserver and PrimeHost Sender: Web Development with AOLserver and PrimeHost From: "PGG Graphics, Inc" Subject: Re: AOLSERVER Digest - 15 Aug 1996 to 16 Aug 1996 Comments: cc: GirliePix@aol.com This has been hinted at several times, and asked by several different people over the past few weeks, and I wonder if anyone could give a simple, but concrete example of adding a user ID and password via TCL to the database. The real-world application is after the user does some function, such as supply a valid code number, or other authentication, they are presented with the ability to enter an ID and password, and become a member of a group or groups. Their information should ben entered into a database, so some sort of expiring system can be used. In the real world, some verification would be needed, so e-mailing them the "temporary" password, and allowing them to change it later would server that function. You'd want to accept a code number, or MC/Visa number, verify it (snippets are out there to do that) and have them type their email address twice (our service department is almost lounging around since we did that) then ask for some optional information, and insert it into a database, and then create/insert their user ID and generate a temporary password, make them a member of a group or groups, E_mail them their temporary password, and a brief note how to change it. That makes a very rudimentary but functional access control system, the machinery behind each part are instance dependent, but how to insert the UID and PW and update a table SECURELY are not. Anyone have a code snippet to show how that is done? And cautions as to where problems would occur? Not everyone is a programmer, but EVERYONE needs and wants to control access to parts or all of the server automagically, and to collect some basic information. I *REALLY* feel this should be a PART of the server, not something that has to be reinvented for every site every time. How difficult would it be to have somone who knew the server and TCL write an installable module to do that? Webmasters could then alter/add/modify the basic admission routine to their site (ie: URLs, groups, and any added processing to get there such as a Web900 or MC/Visa code). -r- PGG Graphics, Inc. ========================================================================= Date: Sun, 18 Aug 1996 21:08:38 +0200 Reply-To: Web Development with AOLserver and PrimeHost Sender: Web Development with AOLserver and PrimeHost From: Bengt Falke Subject: Problems with Beta 7 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Hello! ==== We have been using Naviserver and GNNServer and are now testing AOLServer 2.1 Beta 7. We are having som trouble with the database connectivity and I would like to ask som questions about it. I hope its OK. I am using a Compaq server with NT 3.51 and service pack 4. 1. I cant get the database-link on the AOL-Server Administration page: What must be done, and in witch order to get the database-link on the AOL-Server Administration page? Must illustra be running, or is it OK with any ODBC system datasource? 2. During installation of Beta 7 AOLServer complains about missing MSVCRT.DLL. I did copy MSVCRT40.DLL to MSVCRT.DLL to get AOLServer running. I did not see this message in Beta 6 or earlier on. Is this important? 3. Another server with Beta 6 works OK with ODBC. When I uppdated to Beta 7 it crashes when I try to use any odbc-links from either the AOL-server Administration page or through the normal forms. Best regards Med vänlig hälsning Bengt Falke ----------------------------- MIS, IT-chef Bengt Falke Hultsfreds kommun falke@hultsfred.se (+46)-495-16262 ========================================================================= Date: Mon, 19 Aug 1996 02:46:47 -0700 Reply-To: Web Development with AOLserver and PrimeHost Sender: Web Development with AOLserver and PrimeHost From: Matthew Hewitt Subject: Re: ns_sendmail In-Reply-To: <199608162055.QAA14632@chemistry.mps.ohio-state.edu> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=_19tW50g.bO1996u.N09d000A.r08Y.46:003723" Content-Transfer-Encoding: 7bit --=_19tW50g.bO1996u.N09d000A.r08Y.46:003723 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit ns_sendmail is designed to send one message to one e-mail address. You can make it do multiple addresses by implimenting the following script or modifying the orginal ns_sendmail script. proc ns_sendmaillist {to from subject message} { foreach address [split $to ","] { ns_sendmail $address $from $subject $message } } This takes a comma seperated list of to addresses. I hope this helps. >When I try to use ns_sendmail, it only allows me to send to one >users, it won't accept a list of users delimited by commas or spaces. > >Can you only use ns_sendmail to send to one user? > >john > --=_19tW50g.bO1996u.N09d000A.r08Y.46:003723 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="SIG.TXT" Content-Description: The Sender's Signature -- ---------------------------------------------------------------- Matthew Hewitt AM Computers Head Programer 1040-B N. Dutton Ave mailto:matthew@am.net Santa Rosa, CA 95401 Voice: (800) 579-2018 http://am.net (707) 579-2010 Fax: (707) 579-2059 ---------------------------------------------------------------- The Source for Advanced Computing Solutions ---------------------------------------------------------------- am.net = The Best Hosting Service with integrated database, secure transactions, real-time credit card processing and more ---------------------------------------------------------------- --=_19tW50g.bO1996u.N09d000A.r08Y.46:003723-- ========================================================================= Date: Mon, 19 Aug 1996 12:53:40 -0800 Reply-To: Web Development with AOLserver and PrimeHost Sender: Web Development with AOLserver and PrimeHost From: Alex Khassin Subject: RE[2]: AOLSERVER Digest - 15 Aug 1996 to 16 Aug 1996 In-Reply-To: <960817040601_181043538@emout17.mail.aol.com> >This has been hinted at several times, and asked by several different people >over the past few weeks, and I wonder if anyone could give a simple, but >concrete example of adding a user ID and password via TCL to the database. > If you are talking about the user database (users.dat) (not Illustra) then we have just completed a script like this. It's currently in beta testing. Unfortunately it runs ONLY on 2.1! But it does everything you describe, which is, automated password generation, e-mailing the user, etc. It's designed to be generic and can be used even by hosting customers without their own virtual server without compromising the overall security. We'd be happy to post that in the developer's corner once it's ready for production. -- ---------------------------------------------------------------- Alex Khassin AM Computers mailto:akhassin@am.net 1040-B N. Dutton Ave Voice: (800) 579-2018 Santa Rosa, CA 95401 (707) 579-2010 http://am.net ---------------------------------------------------------------- The Source for Advanced Computing Solutions ---------------------------------------------------------------- am.net = The Best Hosting Service with integrated database, secure transactions, real-time credit card processing and more ---------------------------------------------------------------- ========================================================================= Date: Mon, 19 Aug 1996 14:29:07 -0700 Reply-To: Web Development with AOLserver and PrimeHost Sender: Web Development with AOLserver and PrimeHost From: Edward Un Subject: Exclude URL's in a full text search Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Is it possible to set up a full text search which excludes a few URL's (and the pages underneath them)? I know how to restrict the search to a specified set of URLs but I want to search the entire site except for a few URLs. Thanks, Ed -- ------------------------------------------------------------------------- Edward Un 444 De Haro Street, Suite 132 Just in Time Solutions, Inc. San Francisco, CA 94107 main: (415) 487-7870 edu@justintime.com direct: (415) 487-7878 http://www.justintime.com fax: (415) 487-7877 ------------------------------------------------------------------------- ========================================================================= Date: Mon, 19 Aug 1996 16:15:12 -0700 Reply-To: Web Development with AOLserver and PrimeHost Sender: Web Development with AOLserver and PrimeHost From: Matthew Hewitt Subject: Problems with Beta 7 TCL In-Reply-To: <19082591900565@www.hultsfred.se> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=_19tW15g.bO1996u.N23d000A.r08Y.15:0021e3" Content-Transfer-Encoding: 7bit --=_19tW15g.bO1996u.N23d000A.r08Y.15:0021e3 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Ok we have been experimenting with TCL under 2.1 beta 7 under NT. We have not been able to get ns_register_trace to work. it doesn't generate an error but the server is unable to find a particular url under ns_register_trace. This is the code we have been trying to use: ns_register_trace GET /*/adduser am_adduser Has anyone else had any similar trouble or fixes. TIA --=_19tW15g.bO1996u.N23d000A.r08Y.15:0021e3 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="SIG.TXT" Content-Description: The Sender's Signature -- ---------------------------------------------------------------- Matthew Hewitt AM Computers Head Programer 1040-B N. Dutton Ave mailto:matthew@am.net Santa Rosa, CA 95401 Voice: (800) 579-2018 http://am.net (707) 579-2010 Fax: (707) 579-2059 ---------------------------------------------------------------- The Source for Advanced Computing Solutions ---------------------------------------------------------------- am.net = The Best Hosting Service with integrated database, secure transactions, real-time credit card processing and more ---------------------------------------------------------------- --=_19tW15g.bO1996u.N23d000A.r08Y.15:0021e3-- ========================================================================= Date: Tue, 20 Aug 1996 11:02:50 -0400 Reply-To: Web Development with AOLserver and PrimeHost Sender: Web Development with AOLserver and PrimeHost From: Barlow Subject: Mime types setup Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" I do not have the MimeType link that is listed in the documentation page 48 administrators guide (NS\Server\server-name\MimeTypes) Please advise me on how to access this section.My thoughts were to setup .HTM to link to .HTML so that users would not have to rename their files. thanks all http://204.181.7.192 barlow@servtech.com ========================================================================= Date: Tue, 20 Aug 1996 14:26:19 -0400 Reply-To: Web Development with AOLserver and PrimeHost Sender: Web Development with AOLserver and PrimeHost From: Jeff Rawlings Subject: Re: Mime types setup Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" At 11:02 AM 8/20/96 -0400, you wrote: >I do not have the MimeType link that is listed in the documentation page 48 >administrators guide (NS\Server\server-name\MimeTypes) Please advise me on >how to access this section.My thoughts were to setup .HTM to link to .HTML >so that users would not have to rename their files. In the 2.033 server, the MimeType section is not included in the nsd.ini by default. You can add that section to the nsd.ini by hand. You don't need to add anything about .htm or .html, though; by default, both of those extensions have the text/html mime type. (It should make no difference to the browser whether a file is .htm or .html). Cheers, Jeff Rawlings -- rawlings@primehost.com -- http://www.primehost.com/ Webmaster, PrimeHost Moderator, HOSTING and AOLSERVER mailing lists For inquiries about Web Hosting, send email to ========================================================================= Date: Tue, 20 Aug 1996 14:06:35 -0400 Reply-To: Web Development with AOLserver and PrimeHost Sender: Web Development with AOLserver and PrimeHost From: John Nielsen Subject: lame ns_sendmail In-Reply-To: <199608200404.AAA19334@services.web.aol.com> from "Automatic digest processor" at Aug 20, 96 00:01:25 am MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit > Date: Mon, 19 Aug 1996 02:46:47 -0700 > From: Matthew Hewitt > Subject: Re: ns_sendmail > > --=_19tW50g.bO1996u.N09d000A.r08Y.46:003723 > Content-Type: text/plain; charset="us-ascii" > Content-Transfer-Encoding: 7bit > > ns_sendmail is designed to send one message to one e-mail > address. You can make it do multiple addresses by implimenting the > following script or modifying the orginal ns_sendmail script. > > proc ns_sendmaillist {to from subject message} { > foreach address [split $to ","] { > ns_sendmail $address $from $subject $message > } > } > > This takes a comma seperated list of to addresses. I hope this helps. Thanks for the advice, I have already done something like that. The problem then is though that are all in individual to: fields (so it looks like the message was only sent to one person) and you can't define any other headers like cc, gcc, reply-to, etc. At least with perl, it is realtively trivial to use sendmail and define whatever headers you want, I would assume with tcl, it shouldn't be too hard, though I haven't looked yet at how it handels IPC. I just needed it verified that I wasn't missing something, and they provided a rather lame way to use sendmail. john ========================================================================= Date: Tue, 20 Aug 1996 13:22:50 +0100 Reply-To: Web Development with AOLserver and PrimeHost Sender: Web Development with AOLserver and PrimeHost From: Cass Tyson Subject: Re: Illustra 3.2 upgrade for NT Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Hi. Can anyone tell me about the availability of Illustra 3.2 for NT for use with AOLserver 2.x? Is it available now? Will it be soon? We really need to upgrade, as we've uncovered a bug in the 3.1 release which (I have on good authority) is gone in the 3.2 release. Thanks. ------------------- Cass Tyson NetSmarts EPS Inc. ctyson@netsmarts.com 410-602-1392 (voice and fax) ========================================================================= Date: Tue, 20 Aug 1996 19:40:50 +0100 Reply-To: Web Development with AOLserver and PrimeHost Sender: Web Development with AOLserver and PrimeHost From: Howard Jones Subject: Changing the Expires: header? MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII How do people set the expires header on pages generated from TCL/Databases? I have a problem where Netscape is caching older copies of pages that are dynamic (it's a listing that lets you delete/modify entries) so that entries appear to 'come back from the dead' with links that will give an error message. I looked at adding to the ns_conn outputheaders set, but this doesn't seem to work - is there any other way of setting an expiry date programmatically? I'm using GNN 2.031 on NT.351/Intel currently (looking forward to NT 4.0 and AOL 2.1 though). Regards, Howard. -- Howard Jones HELP! MY TYPEWRITER IS BROKEN! Voss Net Plc. - E.E.CUMMINGS Internet: hjones@vossnet.co.uk http://www.vossnet.co.uk/people/Howard/index.html ========================================================================= Date: Tue, 20 Aug 1996 13:00:27 -0400 Reply-To: Web Development with AOLserver and PrimeHost Sender: Web Development with AOLserver and PrimeHost From: "Peter M. Jansson" Subject: Illustra 3.2? Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" In developing a web site, we've stumbled across a defect in Illustra in which certain queries hang, never returning. Illustra reports that the problem is not present in version 3.2, as opposed to the version we are currently running (3.0.7?) under GNNServer. Their suggestion (not surprisingly) was to upgrade if possible. Is it possible to use Illustra 3.2 with GNNServer? We are depending on the Illustra interface in some ways that would make it difficult to switch to ODBC, so we would need the existing GNNServer Illustra interface to work with Illustra 3.2. Will it? Thanks, Pete. ------------- Peter M. Jansson petej@clickvision.com Click Interactive Visions, LLC. (410) 488-3690 Interactive WWW development services. ========================================================================= Date: Tue, 20 Aug 1996 15:37:17 -0400 Reply-To: Web Development with AOLserver and PrimeHost Sender: Web Development with AOLserver and PrimeHost From: Jeff Rawlings Subject: Re: Support and Documentation Comments: To: Ted Goessling Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Ted, One of the answers below has changed (the last one), so I'm resending. I've cc:ed the server list on this reply -- I'm sorry if any of you have seen some of this before. At 11:48 AM 8/12/96 U, Ted wrote: >1) What's included in the support contract? Is there a certain number of > issues, hours, response time, etc? When I first started using GNN > server, I got some wonderful informal support from folks there, but now > I need to be able to tell my boss what we'll get for the $1,000/year. Unlimited customer service/tech support during our normal hours of operation (currently 9am - 6pm weekdays). >2) What's included in the documentation? I understand that it's the only > way to get the Illustra stuff (which I really need!), but also want to > get the documents for AOLserver 2.1 when they are released. The support contract will include the documentation for the current release. Now, that's version 2.033. Software upgrades will be free; new documentation will need to be purchased separately. Here is the full list of server documentation: AOLserver Administration Guide AOLserver Tcl Developer's Guide AOLserver C Developer's Guide AOLserver CGI Developer's Guide Illustra System Administration Guide Illustra User's Guide Guide to Illustra Text DataBlade & Sybase Gateway >3) Does support come with or open the option of getting media for the > software? There's a certain warm and fuzzy feeling managers get when > they have shrink-wrapped CDs to show for their purchases. We don't currently have any plans to ship the software on media. The capability to update the shipping version of the software quickly gives us quite a bit of flexibility... >4) What rev(s) of the server software are included in the support? Version 2.033, and future versions after they've been officially released. >5) Does support include help/bug fixes for AOLpress? I now have about 50 > AOLpress users that I'd like to supply with better answers when things > go wrong. I assume that we would need to designate a contact person and > not let end users access our support person, but I don't know if the > support includes AOLpress problems. Yes, we are now including AOLpress support for a contact person within your organization. This support is now part of our server support contract offering. I hope that answers your questions. Let me know if you have any more, or any suggestions! Regards, Jeff Rawlings -- rawlings@primehost.com -- http://www.primehost.com/ Internet Marketing Manager, AOL PrimeHost *Web hosting with multiple-T3 connectivity and 7x24 monitoring *AOLserver software, with relational database and full APIs ========================================================================= Date: Tue, 20 Aug 1996 15:52:16 -0400 Reply-To: Web Development with AOLserver and PrimeHost Sender: Web Development with AOLserver and PrimeHost From: Jeff Rawlings Subject: Re: lame ns_sendmail Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" At 02:06 PM 8/20/96 -0400, john wrote: >Thanks for the advice, I have already done something like that. The problem >then is though that are all in individual to: fields (so it looks like the >message was only sent to one person) and you can't define any other headers >like cc, gcc, reply-to, etc. At least with perl, it is realtively trivial to >use sendmail and define whatever headers you want, I would assume with tcl, it >shouldn't be too hard, though I haven't looked yet at how it handels IPC. I >just needed it verified that I wasn't missing something, and they provided a >rather lame way to use sendmail. A slight correction -- the ns_sendmail command *doesn't* use sendmail directly. If you want, though, you can exec sendmail and send it any headers you like; just keep in mind the security risks of doing that. You'll want to comment out dangerous characters like | and ` . Here is an example script that I used with the old NaviServer 1.0, before ns_sendmail; you can probably modify it to suit your needs: proc sendmail {to from subject msg} { regsub -all "|" $to "" to regsub -all "!" $to "" to regsub -all ";" $to "" to regsub -all "`" $to "" to set fp [open "|/usr/lib/sendmail $to" w] puts $fp "From: $from" puts $fp "Subject: $subject" puts $fp $msg close $fp } Hope that helps, Jeff Rawlings -- rawlings@primehost.com -- http://www.primehost.com/ Webmaster, PrimeHost Moderator, HOSTING and AOLSERVER mailing lists For inquiries about Web Hosting, send email to ========================================================================= Date: Tue, 20 Aug 1996 15:39:45 -0400 Reply-To: Web Development with AOLserver and PrimeHost Sender: Web Development with AOLserver and PrimeHost From: gnat Subject: Re: Changing the Expires: header? Comments: To: Howard Jones In-Reply-To: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On Tue, 20 Aug 1996, Howard Jones wrote: > How do people set the expires header on pages generated from TCL/Databases? > I have a problem where Netscape is caching older copies of pages that are > dynamic (it's a listing that lets you delete/modify entries) so that > entries appear to 'come back from the dead' with links that will give an > error message. > > I looked at adding to the ns_conn outputheaders set, but this doesn't > seem to work - is there any other way of setting an expiry date > programmatically? I wrote a ns_returnnocache tcl function that set the Date and Expires header data to the same thing and then sends the status code and content that you pass it. You can take a look at it at http://www.deadend.org/dev/tcl_util.html. It should be pretty easy to modify it to allow some caching if you wanted to. Dave David Whittle Internet Systems Developer Digital City (P) (703) 918-2465 (F) (703) 917-1207 (E) gnat@digitalcity.com ========================================================================= Date: Tue, 20 Aug 1996 16:01:12 -0400 Reply-To: Web Development with AOLserver and PrimeHost Sender: Web Development with AOLserver and PrimeHost From: Barlow Subject: server permissions Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Somehow I messed up my server permissions and cannot access my NS/setup section of server now :( Recently I setup a permission for NS/admin to prevent people from accessing those pages, and gave permission to my IP number as a host because I could not get the system to accept a DNS name. this still works but now I cannot get into the NS/setup area.Today I deleted the NS/admin permission but this did not help.I double checked my capslock key 1 other thing, I have been notieced previously that on login to setup screens for some reason I would have to tell the security access screen to try again for a login/security check this appeared to start after the GNN to AOL upgrade last week. Any advice as to what I should do now would be greatly appreciated. IS there anyway to reset my NSadmin permission? thanks all!! http://204.181.7.192 barlow@servtech.com ========================================================================= Date: Tue, 20 Aug 1996 13:31:31 -0700 Reply-To: Web Development with AOLserver and PrimeHost Sender: Web Development with AOLserver and PrimeHost From: Matthew Hewitt Subject: Re: lame ns_sendmail In-Reply-To: <199608201806.OAA23217@chemistry.mps.ohio-state.edu> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=_20tW34g.bO1996u.N20d000A.r08Y.31:006ac1" Content-Transfer-Encoding: 7bit --=_20tW34g.bO1996u.N20d000A.r08Y.31:006ac1 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable >> Date: Mon, 19 Aug 1996 02:46:47 -0700 >> From: Matthew Hewitt >> Subject: Re: ns_sendmail >> >> --=3D_19tW50g.bO1996u.N09d000A.r08Y.46:003723 >> Content-Type: text/plain; charset=3D"us-ascii" >> Content-Transfer-Encoding: 7bit >> >> ns_sendmail is designed to send one message to one e-mail >> address. You can make it do multiple addresses by implimenting the >> following script or modifying the orginal ns_sendmail script. >> >> proc ns_sendmaillist {to from subject message} { >> foreach address [split $to ","] { >> ns_sendmail $address $from $subject $message >> } >> } >> >> This takes a comma seperated list of to addresses. I hope this helps. > >Thanks for the advice, I have already done something like that. The prob= lem >then is though that are all in individual to: fields (so it looks like t= he >message was only sent to one person) and you can't define any other head= ers >like cc, gcc, reply-to, etc. At least with perl, it is realtively trivia= l to >use sendmail and define whatever headers you want, I would assume with tcl, it >shouldn't be too hard, though I haven't looked yet at how it handels IPC= . I >just needed it verified that I wasn't missing something, and they provid= ed a >rather lame way to use sendmail. > >john > Basically what they did with ns_sendmail is talk to the sendmail port directly. And then they provided a minimalist interface to it. What you c= an do is modify the original ns_sendmail code so that it behaves more like sendmail. for instance you can change the line in sendmail.tcl in _ns_sendmail from: set data "To: $to\nFrom: $from\nSubject: $subject\n\n$body\n." to: set data "To: $to\nFrom: \ $from\nReply-to:$replyto\nSubject:$subject\n\n$body\n." And then do the same for all the features you want to add. ns_sendmail is ok for most simple tasks, but like you said to just doesn't cut it for doing anything complicated. --=_20tW34g.bO1996u.N20d000A.r08Y.31:006ac1 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="SIG.TXT" Content-Description: The Sender's Signature -- ---------------------------------------------------------------- Matthew Hewitt AM Computers Head Programer 1040-B N. Dutton Ave mailto:matthew@am.net Santa Rosa, CA 95401 Voice: (800) 579-2018 http://am.net (707) 579-2010 Fax: (707) 579-2059 ---------------------------------------------------------------- The Source for Advanced Computing Solutions ---------------------------------------------------------------- am.net = The Best Hosting Service with integrated database, secure transactions, real-time credit card processing and more ---------------------------------------------------------------- --=_20tW34g.bO1996u.N20d000A.r08Y.31:006ac1-- ========================================================================= Date: Tue, 20 Aug 1996 15:10:52 -0700 Reply-To: Web Development with AOLserver and PrimeHost Sender: Web Development with AOLserver and PrimeHost From: Jim Davidson Subject: Re: lame ns_sendmail Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Hello, The design goals of ns_sendmail were: 1. Speed. ns_sendmail opens and talks SMTP directly over sockets. If you configure your AOLserver to talk to a fast remote SMTP server you can often send many more messages using ns_sendmail than through exec'ing sendmail with much reduced load. 2. Demonstration. ns_sendmail demonstrates the use of several Tcl socket commands including I/O timeout checks through the use of ns_sockselect (the timeout checks are in 2.1). 3. Portability. ns_sendmail works the same on all platforms (except Win95 were is doesn't work at all because none of Tcl socket commands work because sockets aren't ordinary files on Win95). So, if ns_sendmail doesn't do the right thing for you feel free to hack it up or, on Unix, dump it for a more powerful (but slower) exec of sendmail. Cheers, -Jim At 01:31 PM 8/20/96 -0700, Matthew Hewitt wrote: >>> Date: Mon, 19 Aug 1996 02:46:47 -0700 >>> From: Matthew Hewitt >>> Subject: Re: ns_sendmail >>> >>> --=_19tW50g.bO1996u.N09d000A.r08Y.46:003723 >>> Content-Type: text/plain; charset="us-ascii" >>> Content-Transfer-Encoding: 7bit >>> >>> ns_sendmail is designed to send one message to one e-mail >>> address. You can make it do multiple addresses by implimenting the >>> following script or modifying the orginal ns_sendmail script. >>> >>> proc ns_sendmaillist {to from subject message} { >>> foreach address [split $to ","] { >>> ns_sendmail $address $from $subject $message >>> } >>> } >>> >>> This takes a comma seperated list of to addresses. I hope this helps. >> >>Thanks for the advice, I have already done something like that. The problem >>then is though that are all in individual to: fields (so it looks like the >>message was only sent to one person) and you can't define any other headers >>like cc, gcc, reply-to, etc. At least with perl, it is realtively trivial >to >>use sendmail and define whatever headers you want, I would assume with >tcl, it >>shouldn't be too hard, though I haven't looked yet at how it handels IPC. I >>just needed it verified that I wasn't missing something, and they provided >a >>rather lame way to use sendmail. >> >>john >> >Basically what they did with ns_sendmail is talk to the sendmail port >directly. And then they provided a minimalist interface to it. What you can >do is modify the original ns_sendmail code so that it behaves more like >sendmail. for instance you can change the line in sendmail.tcl in >_ns_sendmail from: > set data "To: $to\nFrom: $from\nSubject: $subject\n\n$body\n." > >to: > > set data "To: $to\nFrom: \ >$from\nReply-to:$replyto\nSubject:$subject\n\n$body\n." > > >And then do the same for all the features you want to add. ns_sendmail is >ok for most simple tasks, but like you said to just doesn't cut it for >doing anything complicated. >Content-Type: text/plain; charset="us-ascii" >Content-Transfer-Encoding: 7bit >Content-Disposition: inline; filename="SIG.TXT" >Content-Description: The Sender's Signature > > >-- >---------------------------------------------------------------- >Matthew Hewitt AM Computers >Head Programer 1040-B N. Dutton Ave >mailto:matthew@am.net Santa Rosa, CA 95401 >Voice: (800) 579-2018 http://am.net > (707) 579-2010 Fax: (707) 579-2059 >---------------------------------------------------------------- > The Source for Advanced Computing Solutions >---------------------------------------------------------------- > am.net = The Best Hosting Service with integrated database, > secure transactions, real-time credit card processing and more >---------------------------------------------------------------- > _______________________ Jim Davidson jimbo@sb.aol.com Voice: (805) 882-2350 Fax: (805) 899-4316 ========================================================================= Date: Tue, 20 Aug 1996 18:28:20 -0500 Reply-To: Web Development with AOLserver and PrimeHost Sender: Web Development with AOLserver and PrimeHost From: Krish Menon Subject: New AolServer backed Site Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Hi, The Art of HTML is a highly popular web-help site on the net, with over 6000 hits a day. I just recently moved it to the AOLServer, and the site now has some nifty server-based features. Check out the dynamically generated pages, and the interactive submission forms. Both the tutorials and beginner's sections are dynamically generated, and I'm adding several ways of listing those. The URL is http://www.taoh.com Just another day in the life of the world's best web server :-) -KM Krish Menon, Webmaster -- Iway Internet Services krish@iw.net, http://www.iw.net, webstart@iw.net 140, N. Phillips Suite 404, Sioux Falls SD 57102 (605) 331 4211, (605) 331 6585 (ah) - CST 6:00pm ------------------------------------------------ "The difference between a hitcher with a sign that says 'Akron OH' and another that says 'Home For Christmas' is the difference between selling and marketing." ========================================================================= Date: Wed, 21 Aug 1996 06:56:04 -0400 Reply-To: Web Development with AOLserver and PrimeHost Sender: Web Development with AOLserver and PrimeHost From: John Nielsen Subject: buying illustra docs In-Reply-To: <199608210400.AAA29493@services.web.aol.com> from "Automatic digest processor" at Aug 21, 96 00:00:00 am MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit > Here is the full list of server documentation: > AOLserver Administration Guide > AOLserver Tcl Developer's Guide > AOLserver C Developer's Guide > AOLserver CGI Developer's Guide > Illustra System Administration Guide > Illustra User's Guide > Guide to Illustra Text DataBlade & Sybase Gateway It is possible to buy this documentation? (specifically the illustra stuff) How do we order it? john ========================================================================= Date: Wed, 21 Aug 1996 07:00:43 -0400 Reply-To: Web Development with AOLserver and PrimeHost Sender: Web Development with AOLserver and PrimeHost From: John Nielsen Subject: thanks In-Reply-To: <199608210400.AAA29493@services.web.aol.com> from "Automatic digest processor" at Aug 21, 96 00:00:00 am MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Ah! Thanks a lot for the advice and sample program! I hadn't had time to look at the tcl for ns_sendmail, I just assumed because of the name that it used sendmail. Thanks, john > A slight correction -- the ns_sendmail command *doesn't* use sendmail > directly. If you want, though, you can exec sendmail and send it any > headers you like; just keep in mind the security risks of doing that. > You'll want to comment out dangerous characters like | and ` . Here is > an example script that I used with the old NaviServer 1.0, before > ns_sendmail; you can probably modify it to suit your needs: > > proc sendmail {to from subject msg} { > regsub -all "|" $to "" to > regsub -all "!" $to "" to > regsub -all ";" $to "" to > regsub -all "`" $to "" to > set fp [open "|/usr/lib/sendmail $to" w] > puts $fp "From: $from" > puts $fp "Subject: $subject" > puts $fp $msg > close $fp > } > > Hope that helps, > > Jeff Rawlings -- rawlings@primehost.com -- http://www.primehost.com/ > Webmaster, PrimeHost > Moderator, HOSTING and AOLSERVER mailing lists > For inquiries about Web Hosting, send email to > > ------------------------------ > > Date: Tue, 20 Aug 1996 15:39:45 -0400 > From: gnat > Subject: Re: Changing the Expires: header? > > On Tue, 20 Aug 1996, Howard Jones wrote: > > > How do people set the expires header on pages generated from TCL/Databases? > > I have a problem where Netscape is caching older copies of pages that are > > dynamic (it's a listing that lets you delete/modify entries) so that > > entries appear to 'come back from the dead' with links that will give an > > error message. > > > > I looked at adding to the ns_conn outputheaders set, but this doesn't > > seem to work - is there any other way of setting an expiry date > > programmatically? > > I wrote a ns_returnnocache tcl function that set the Date and Expires > header data to the same thing and then sends the status code and content > that you pass it. You can take a look at it at > http://www.deadend.org/dev/tcl_util.html. It should be pretty easy to > modify it to allow some caching if you wanted to. > > Dave > > David Whittle > Internet Systems Developer > Digital City > (P) (703) 918-2465 > (F) (703) 917-1207 > (E) gnat@digitalcity.com > > ------------------------------ > > Date: Tue, 20 Aug 1996 16:01:12 -0400 > From: Barlow > Subject: server permissions > > Somehow I messed up my server permissions and cannot access my NS/setup > section of server now :( Recently I setup a permission for NS/admin to > prevent people from accessing those pages, and gave permission to my IP > number as a host because I could not get the system to accept a DNS name. > this still works but now I cannot get into the NS/setup area.Today I deleted > the NS/admin permission but this did not help.I double checked my capslock > key > 1 other thing, I have been notieced previously that on login to setup > screens for some reason I would have to tell the security access screen to > try again for a login/security check this appeared to start after the GNN to > AOL upgrade last week. > Any advice as to what I should do now would be greatly appreciated. > IS there anyway to reset my NSadmin permission? > thanks all!! > > http://204.181.7.192 > barlow@servtech.com > > ------------------------------ > > Date: Tue, 20 Aug 1996 13:31:31 -0700 > From: Matthew Hewitt > Subject: Re: lame ns_sendmail > > --=_20tW34g.bO1996u.N20d000A.r08Y.31:006ac1 > Content-Type: text/plain; charset="us-ascii" > Content-Transfer-Encoding: quoted-printable > > >> Date: Mon, 19 Aug 1996 02:46:47 -0700 > >> From: Matthew Hewitt > >> Subject: Re: ns_sendmail > >> > >> --=3D_19tW50g.bO1996u.N09d000A.r08Y.46:003723 > >> Content-Type: text/plain; charset=3D"us-ascii" > >> Content-Transfer-Encoding: 7bit > >> > >> ns_sendmail is designed to send one message to one e-mail > >> address. You can make it do multiple addresses by implimenting the > >> following script or modifying the orginal ns_sendmail script. > >> > >> proc ns_sendmaillist {to from subject message} { > >> foreach address [split $to ","] { > >> ns_sendmail $address $from $subject $message > >> } > >> } > >> > >> This takes a comma seperated list of to addresses. I hope this helps. > > > >Thanks for the advice, I have already done something like that. The prob= > lem > >then is though that are all in individual to: fields (so it looks like t= > he > >message was only sent to one person) and you can't define any other head= > ers > >like cc, gcc, reply-to, etc. At least with perl, it is realtively trivia= > l > to > >use sendmail and define whatever headers you want, I would assume with > tcl, it > >shouldn't be too hard, though I haven't looked yet at how it handels IPC= > . I > >just needed it verified that I wasn't missing something, and they provid= > ed > a > >rather lame way to use sendmail. > > > >john > > > Basically what they did with ns_sendmail is talk to the sendmail port > directly. And then they provided a minimalist interface to it. What you c= > an > do is modify the original ns_sendmail code so that it behaves more like > sendmail. for instance you can change the line in sendmail.tcl in > _ns_sendmail from: > set data "To: $to\nFrom: $from\nSubject: $subject\n\n$body\n." > > to: > > set data "To: $to\nFrom: \ > $from\nReply-to:$replyto\nSubject:$subject\n\n$body\n." > > > And then do the same for all the features you want to add. ns_sendmail is > ok for most simple tasks, but like you said to just doesn't cut it for > doing anything complicated. > > --=_20tW34g.bO1996u.N20d000A.r08Y.31:006ac1 > Content-Type: text/plain; charset="us-ascii" > Content-Transfer-Encoding: 7bit > Content-Disposition: inline; filename="SIG.TXT" > Content-Description: The Sender's Signature > > > -- > ---------------------------------------------------------------- > Matthew Hewitt AM Computers > Head Programer 1040-B N. Dutton Ave > mailto:matthew@am.net Santa Rosa, CA 95401 > Voice: (800) 579-2018 http://am.net > (707) 579-2010 Fax: (707) 579-2059 > ---------------------------------------------------------------- > The Source for Advanced Computing Solutions > ---------------------------------------------------------------- > am.net = The Best Hosting Service with integrated database, > secure transactions, real-time credit card processing and more > ---------------------------------------------------------------- > > --=_20tW34g.bO1996u.N20d000A.r08Y.31:006ac1-- > > ------------------------------ > > Date: Tue, 20 Aug 1996 15:10:52 -0700 > From: Jim Davidson > Subject: Re: lame ns_sendmail > > Hello, > > The design goals of ns_sendmail were: > > 1. Speed. ns_sendmail opens and talks SMTP directly over sockets. If you > configure your AOLserver to talk to a fast remote SMTP server you can often > send many more messages using ns_sendmail than through exec'ing sendmail > with much reduced load. > > 2. Demonstration. ns_sendmail demonstrates the use of several Tcl socket > commands including I/O timeout checks through the use of ns_sockselect (the > timeout checks are in 2.1). > > 3. Portability. ns_sendmail works the same on all platforms (except Win95 > were is doesn't work at all because none of Tcl socket commands work because > sockets aren't ordinary files on Win95). > > > So, if ns_sendmail doesn't do the right thing for you feel free to hack it > up or, on Unix, dump it for a more powerful (but slower) exec of sendmail. > > > Cheers, -Jim > > > > > > At 01:31 PM 8/20/96 -0700, Matthew Hewitt wrote: > >>> Date: Mon, 19 Aug 1996 02:46:47 -0700 > >>> From: Matthew Hewitt > >>> Subject: Re: ns_sendmail > >>> > >>> --=_19tW50g.bO1996u.N09d000A.r08Y.46:003723 > >>> Content-Type: text/plain; charset="us-ascii" > >>> Content-Transfer-Encoding: 7bit > >>> > >>> ns_sendmail is designed to send one message to one e-mail > >>> address. You can make it do multiple addresses by implimenting the > >>> following script or modifying the orginal ns_sendmail script. > >>> > >>> proc ns_sendmaillist {to from subject message} { > >>> foreach address [split $to ","] { > >>> ns_sendmail $address $from $subject $message > >>> } > >>> } > >>> > >>> This takes a comma seperated list of to addresses. I hope this helps. > >> > >>Thanks for the advice, I have already done something like that. The problem > >>then is though that are all in individual to: fields (so it looks like the > >>message was only sent to one person) and you can't define any other headers > >>like cc, gcc, reply-to, etc. At least with perl, it is realtively trivial > >to > >>use sendmail and define whatever headers you want, I would assume with > >tcl, it > >>shouldn't be too hard, though I haven't looked yet at how it handels IPC. I > >>just needed it verified that I wasn't missing something, and they provided > >a > >>rather lame way to use sendmail. > >> > >>john > >> > >Basically what they did with ns_sendmail is talk to the sendmail port > >directly. And then they provided a minimalist interface to it. What you can > >do is modify the original ns_sendmail code so that it behaves more like > >sendmail. for instance you can change the line in sendmail.tcl in > >_ns_sendmail from: > > set data "To: $to\nFrom: $from\nSubject: $subject\n\n$body\n." > > > >to: > > > > set data "To: $to\nFrom: \ > >$from\nReply-to:$replyto\nSubject:$subject\n\n$body\n." > > > > > >And then do the same for all the features you want to add. ns_sendmail is > >ok for most simple tasks, but like you said to just doesn't cut it for > >doing anything complicated. > >Content-Type: text/plain; charset="us-ascii" > >Content-Transfer-Encoding: 7bit > >Content-Disposition: inline; filename="SIG.TXT" > >Content-Description: The Sender's Signature > > > > > >-- > >---------------------------------------------------------------- > >Matthew Hewitt AM Computers > >Head Programer 1040-B N. Dutton Ave > >mailto:matthew@am.net Santa Rosa, CA 95401 > >Voice: (800) 579-2018 http://am.net > > (707) 579-2010 Fax: (707) 579-2059 > >---------------------------------------------------------------- > > The Source for Advanced Computing Solutions > >---------------------------------------------------------------- > > am.net = The Best Hosting Service with integrated database, > > secure transactions, real-time credit card processing and more > >---------------------------------------------------------------- > > > _______________________ > Jim Davidson > jimbo@sb.aol.com > Voice: (805) 882-2350 > Fax: (805) 899-4316 > > ------------------------------ > > Date: Tue, 20 Aug 1996 18:28:20 -0500 > From: Krish Menon > Subject: New AolServer backed Site > > Hi, > > The Art of HTML is a highly popular web-help site on the net, with over 6000 > hits a day. I just recently moved it to the AOLServer, and the site now has > some nifty server-based features. Check out the dynamically generated pages, > and the interactive submission forms. Both the tutorials and beginner's > sections are dynamically generated, and I'm adding several ways of listing > those. > > The URL is http://www.taoh.com > > Just another day in the life of the world's best web server :-) > > -KM > > Krish Menon, Webmaster -- Iway Internet Services > krish@iw.net, http://www.iw.net, webstart@iw.net > 140, N. Phillips Suite 404, Sioux Falls SD 57102 > (605) 331 4211, (605) 331 6585 (ah) - CST 6:00pm > ------------------------------------------------ > "The difference between a hitcher with a sign that > says 'Akron OH' and another that says 'Home For > Christmas' is the difference between selling and > marketing." > > ------------------------------ > > End of AOLSERVER Digest - 19 Aug 1996 to 20 Aug 1996 > **************************************************** > > Date: Tue, 20 Aug 1996 14:06:35 -0400 > From: John Nielsen > Subject: lame ns_sendmail > > > Date: Mon, 19 Aug 1996 02:46:47 -0700 > > From: Matthew Hewitt > > Subject: Re: ns_sendmail > > > > --=_19tW50g.bO1996u.N09d000A.r08Y.46:003723 > > Content-Type: text/plain; charset="us-ascii" > > Content-Transfer-Encoding: 7bit > > > > ns_sendmail is designed to send one message to one e-mail > > address. You can make it do multiple addresses by implimenting the > > following script or modifying the orginal ns_sendmail script. > > > > proc ns_sendmaillist {to from subject message} { > > foreach address [split $to ","] { > > ns_sendmail $address $from $subject $message > > } > > } > > > > This takes a comma seperated list of to addresses. I hope this helps. > > Thanks for the advice, I have already done something like that. The problem > then is though that are all in individual to: fields (so it looks like the > message was only sent to one person) and you can't define any other headers > like cc, gcc, reply-to, etc. At least with perl, it is realtively trivial to > use sendmail and define whatever headers you want, I would assume with tcl, it > shouldn't be too hard, though I haven't looked yet at how it handels IPC. I > just needed it verified that I wasn't missing something, and they provided a > rather lame way to use sendmail. > > john > > ------------------------------ > > Date: Tue, 20 Aug 1996 13:22:50 +0100 > From: Cass Tyson > Subject: Re: Illustra 3.2 upgrade for NT > > Hi. Can anyone tell me about the availability of Illustra 3.2 for NT for > use with AOLserver 2.x? Is it available now? Will it be soon? We really > need to upgrade, as we've uncovered a bug in the 3.1 release which (I have > on good authority) is gone in the 3.2 release. > > Thanks. > > ------------------- > Cass Tyson > NetSmarts EPS Inc. > ctyson@netsmarts.com > 410-602-1392 (voice and fax) > > ------------------------------ > > Date: Tue, 20 Aug 1996 19:40:50 +0100 > From: Howard Jones > Subject: Changing the Expires: header? > > How do people set the expires header on pages generated from TCL/Databases? > I have a problem where Netscape is caching older copies of pages that are > dynamic (it's a listing that lets you delete/modify entries) so that > entries appear to 'come back from the dead' with links that will give an > error message. > > I looked at adding to the ns_conn outputheaders set, but this doesn't > seem to work - is there any other way of setting an expiry date > programmatically? > > I'm using GNN 2.031 on NT.351/Intel currently (looking forward to NT 4.0 > and AOL 2.1 though). > > Regards, > > Howard. > > -- > Howard Jones HELP! MY TYPEWRITER IS BROKEN! > Voss Net Plc. - E.E.CUMMINGS > Internet: hjones@vossnet.co.uk > http://www.vossnet.co.uk/people/Howard/index.html > > ------------------------------ > > Date: Tue, 20 Aug 1996 13:00:27 -0400 > From: "Peter M. Jansson" > Subject: Illustra 3.2? > > In developing a web site, we've stumbled across a defect in Illustra in > which certain queries hang, never returning. Illustra reports that the > problem is not present in version 3.2, as opposed to the version we are > currently running (3.0.7?) under GNNServer. Their suggestion (not > surprisingly) was to upgrade if possible. Is it possible to use Illustra > 3.2 with GNNServer? We are depending on the Illustra interface in some > ways that would make it difficult to switch to ODBC, so we would need the > existing GNNServer Illustra interface to work with Illustra 3.2. Will it? > > Thanks, > Pete. > > ------------- > Peter M. Jansson petej@clickvision.com > Click Interactive Visions, LLC. (410) 488-3690 > Interactive WWW development services. > > ------------------------------ > > Date: Tue, 20 Aug 1996 15:37:17 -0400 > From: Jeff Rawlings > Subject: Re: Support and Documentation > > Ted, > > One of the answers below has changed (the last one), so I'm resending. > I've cc:ed the server list on this reply -- I'm sorry if any of you > have seen some of this before. > > At 11:48 AM 8/12/96 U, Ted wrote: > >1) What's included in the support contract? Is there a certain number of > > issues, hours, response time, etc? When I first started using GNN > > server, I got some wonderful informal support from folks there, but now > > I need to be able to tell my boss what we'll get for the $1,000/year. > > Unlimited customer service/tech support during our normal hours of operation > (currently 9am - 6pm weekdays). > > >2) What's included in the documentation? I understand that it's the only > > way to get the Illustra stuff (which I really need!), but also want to > > get the documents for AOLserver 2.1 when they are released. > > The support contract will include the documentation for the current > release. Now, that's version 2.033. Software upgrades will be free; > new documentation will need to be purchased separately. > > Here is the full list of server documentation: > AOLserver Administration Guide > AOLserver Tcl Developer's Guide > AOLserver C Developer's Guide > AOLserver CGI Developer's Guide > Illustra System Administration Guide > Illustra User's Guide > Guide to Illustra Text DataBlade & Sybase Gateway > > >3) Does support come with or open the option of getting media for the > > software? There's a certain warm and fuzzy feeling managers get when > > they have shrink-wrapped CDs to show for their purchases. > > We don't currently have any plans to ship the software on media. The > capability to update the shipping version of the software quickly gives us > quite a bit of flexibility... > > >4) What rev(s) of the server software are included in the support? > > Version 2.033, and future versions after they've been officially released. > > >5) Does support include help/bug fixes for AOLpress? I now have about 50 > > AOLpress users that I'd like to supply with better answers when things > > go wrong. I assume that we would need to designate a contact person and > > not let end users access our support person, but I don't know if the > > support includes AOLpress problems. > > Yes, we are now including AOLpress support for a contact person within > your organization. This support is now part of our server support contract > offering. > > I hope that answers your questions. Let me know if you have any more, or any > suggestions! > > Regards, > > Jeff Rawlings -- rawlings@primehost.com -- http://www.primehost.com/ > Internet Marketing Manager, AOL PrimeHost > *Web hosting with multiple-T3 connectivity and 7x24 monitoring > *AOLserver software, with relational database and full APIs > > ------------------------------ > > Date: Tue, 20 Aug 1996 15:52:16 -0400 > From: Jeff Rawlings > Subject: Re: lame ns_sendmail > > At 02:06 PM 8/20/96 -0400, john wrote: > > >Thanks for the advice, I have already done something like that. The problem > >then is though that are all in individual to: fields (so it looks like the > >message was only sent to one person) and you can't define any other headers > >like cc, gcc, reply-to, etc. At least with perl, it is realtively trivial to > >use sendmail and define whatever headers you want, I would assume with tcl, it > >shouldn't be too hard, though I haven't looked yet at how it handels IPC. I > >just needed it verified that I wasn't missing something, and they provided a > >rather lame way to use sendmail. > > A slight correction -- the ns_sendmail command *doesn't* use sendmail > directly. If you want, though, you can exec sendmail and send it any > headers you like; just keep in mind the security risks of doing that. > You'll want to comment out dangerous characters like | and ` . Here is > an example script that I used with the old NaviServer 1.0, before > ns_sendmail; you can probably modify it to suit your needs: > > proc sendmail {to from subject msg} { > regsub -all "|" $to "" to > regsub -all "!" $to "" to > regsub -all ";" $to "" to > regsub -all "`" $to "" to > set fp [open "|/usr/lib/sendmail $to" w] > puts $fp "From: $from" > puts $fp "Subject: $subject" > puts $fp $msg > close $fp > } > > Hope that helps, > > Jeff Rawlings -- rawlings@primehost.com -- http://www.primehost.com/ > Webmaster, PrimeHost > Moderator, HOSTING and AOLSERVER mailing lists > For inquiries about Web Hosting, send email to > > ------------------------------ > > Date: Tue, 20 Aug 1996 15:39:45 -0400 > From: gnat > Subject: Re: Changing the Expires: header? > > On Tue, 20 Aug 1996, Howard Jones wrote: > > > How do people set the expires header on pages generated from TCL/Databases? > > I have a problem where Netscape is caching older copies of pages that are > > dynamic (it's a listing that lets you delete/modify entries) so that > > entries appear to 'come back from the dead' with links that will give an > > error message. > > > > I looked at adding to the ns_conn outputheaders set, but this doesn't > > seem to work - is there any other way of setting an expiry date > > programmatically? > > I wrote a ns_returnnocache tcl function that set the Date and Expires > header data to the same thing and then sends the status code and content > that you pass it. You can take a look at it at > http://www.deadend.org/dev/tcl_util.html. It should be pretty easy to > modify it to allow some caching if you wanted to. > > Dave > > David Whittle > Internet Systems Developer > Digital City > (P) (703) 918-2465 > (F) (703) 917-1207 > (E) gnat@digitalcity.com > > ------------------------------ > > Date: Tue, 20 Aug 1996 16:01:12 -0400 > From: Barlow > Subject: server permissions > > Somehow I messed up my server permissions and cannot access my NS/setup > section of server now :( Recently I setup a permission for NS/admin to > prevent people from accessing those pages, and gave permission to my IP > number as a host because I could not get the system to accept a DNS name. > this still works but now I cannot get into the NS/setup area.Today I deleted > the NS/admin permission but this did not help.I double checked my capslock > key > 1 other thing, I have been notieced previously that on login to setup > screens for some reason I would have to tell the security access screen to > try again for a login/security check this appeared to start after the GNN to > AOL upgrade last week. > Any advice as to what I should do now would be greatly appreciated. > IS there anyway to reset my NSadmin permission? > thanks all!! > > http://204.181.7.192 > barlow@servtech.com > > ------------------------------ > > Date: Tue, 20 Aug 1996 13:31:31 -0700 > From: Matthew Hewitt > Subject: Re: lame ns_sendmail > > --=_20tW34g.bO1996u.N20d000A.r08Y.31:006ac1 > Content-Type: text/plain; charset="us-ascii" > Content-Transfer-Encoding: quoted-printable > > >> Date: Mon, 19 Aug 1996 02:46:47 -0700 > >> From: Matthew Hewitt > >> Subject: Re: ns_sendmail > >> > >> --=3D_19tW50g.bO1996u.N09d000A.r08Y.46:003723 > >> Content-Type: text/plain; charset=3D"us-ascii" > >> Content-Transfer-Encoding: 7bit > >> > >> ns_sendmail is designed to send one message to one e-mail > >> address. You can make it do multiple addresses by implimenting the > >> following script or modifying the orginal ns_sendmail script. > >> > >> proc ns_sendmaillist {to from subject message} { > >> foreach address [split $to ","] { > >> ns_sendmail $address $from $subject $message > >> } > >> } > >> > >> This takes a comma seperated list of to addresses. I hope this helps. > > > >Thanks for the advice, I have already done something like that. The prob= > lem > >then is though that are all in individual to: fields (so it looks like t= > he > >message was only sent to one person) and you can't define any other head= > ers > >like cc, gcc, reply-to, etc. At least with perl, it is realtively trivia= > l > to > >use sendmail and define whatever headers you want, I would assume with > tcl, it > >shouldn't be too hard, though I haven't looked yet at how it handels IPC= > . I > >just needed it verified that I wasn't missing something, and they provid= > ed > a > >rather lame way to use sendmail. > > > >john > > > Basically what they did with ns_sendmail is talk to the sendmail port > directly. And then they provided a minimalist interface to it. What you c= > an > do is modify the original ns_sendmail code so that it behaves more like > sendmail. for instance you can change the line in sendmail.tcl in > _ns_sendmail from: > set data "To: $to\nFrom: $from\nSubject: $subject\n\n$body\n." > > to: > > set data "To: $to\nFrom: \ > $from\nReply-to:$replyto\nSubject:$subject\n\n$body\n." > > > And then do the same for all the features you want to add. ns_sendmail is > ok for most simple tasks, but like you said to just doesn't cut it for > doing anything complicated. > > --=_20tW34g.bO1996u.N20d000A.r08Y.31:006ac1 > Content-Type: text/plain; charset="us-ascii" > Content-Transfer-Encoding: 7bit > Content-Disposition: inline; filename="SIG.TXT" > Content-Description: The Sender's Signature > > > -- > ---------------------------------------------------------------- > Matthew Hewitt AM Computers > Head Programer 1040-B N. Dutton Ave > mailto:matthew@am.net Santa Rosa, CA 95401 > Voice: (800) 579-2018 http://am.net > (707) 579-2010 Fax: (707) 579-2059 > ---------------------------------------------------------------- > The Source for Advanced Computing Solutions > ---------------------------------------------------------------- > am.net = The Best Hosting Service with integrated database, > secure transactions, real-time credit card processing and more > ---------------------------------------------------------------- > > --=_20tW34g.bO1996u.N20d000A.r08Y.31:006ac1-- > > ------------------------------ > > Date: Tue, 20 Aug 1996 15:10:52 -0700 > From: Jim Davidson > Subject: Re: lame ns_sendmail > > Hello, > > The design goals of ns_sendmail were: > > 1. Speed. ns_sendmail opens and talks SMTP directly over sockets. If you > configure your AOLserver to talk to a fast remote SMTP server you can often > send many more messages using ns_sendmail than through exec'ing sendmail > with much reduced load. > > 2. Demonstration. ns_sendmail demonstrates the use of several Tcl socket > commands including I/O timeout checks through the use of ns_sockselect (the > timeout checks are in 2.1). > > 3. Portability. ns_sendmail works the same on all platforms (except Win95 > were is doesn't work at all because none of Tcl socket commands work because > sockets aren't ordinary files on Win95). > > > So, if ns_sendmail doesn't do the right thing for you feel free to hack it > up or, on Unix, dump it for a more powerful (but slower) exec of sendmail. > > > Cheers, -Jim > > > > > > At 01:31 PM 8/20/96 -0700, Matthew Hewitt wrote: > >>> Date: Mon, 19 Aug 1996 02:46:47 -0700 > >>> From: Matthew Hewitt > >>> Subject: Re: ns_sendmail > >>> > >>> --=_19tW50g.bO1996u.N09d000A.r08Y.46:003723 > >>> Content-Type: text/plain; charset="us-ascii" > >>> Content-Transfer-Encoding: 7bit > >>> > >>> ns_sendmail is designed to send one message to one e-mail > >>> address. You can make it do multiple addresses by implimenting the > >>> following script or modifying the orginal ns_sendmail script. > >>> > >>> proc ns_sendmaillist {to from subject message} { > >>> foreach address [split $to ","] { > >>> ns_sendmail $address $from $subject $message > >>> } > >>> } > >>> > >>> This takes a comma seperated list of to addresses. I hope this helps. > >> > >>Thanks for the advice, I have already done something like that. The problem > >>then is though that are all in individual to: fields (so it looks like the > >>message was only sent to one person) and you can't define any other headers > >>like cc, gcc, reply-to, etc. At least with perl, it is realtively trivial > >to > >>use sendmail and define whatever headers you want, I would assume with > >tcl, it > >>shouldn't be too hard, though I haven't looked yet at how it handels IPC. I > >>just needed it verified that I wasn't missing something, and they provided > >a > >>rather lame way to use sendmail. > >> > >>john > >> > >Basically what they did with ns_sendmail is talk to the sendmail port > >directly. And then they provided a minimalist interface to it. What you can > >do is modify the original ns_sendmail code so that it behaves more like > >sendmail. for instance you can change the line in sendmail.tcl in > >_ns_sendmail from: > > set data "To: $to\nFrom: $from\nSubject: $subject\n\n$body\n." > > > >to: > > > > set data "To: $to\nFrom: \ > >$from\nReply-to:$replyto\nSubject:$subject\n\n$body\n." > > > > > >And then do the same for all the features you want to add. ns_sendmail is > >ok for most simple tasks, but like you said to just doesn't cut it for > >doing anything complicated. > >Content-Type: text/plain; charset="us-ascii" > >Content-Transfer-Encoding: 7bit > >Content-Disposition: inline; filename="SIG.TXT" > >Content-Description: The Sender's Signature > > > > > >-- > >---------------------------------------------------------------- > >Matthew Hewitt AM Computers > >Head Programer 1040-B N. Dutton Ave > >mailto:matthew@am.net Santa Rosa, CA 95401 > >Voice: (800) 579-2018 http://am.net > > (707) 579-2010 Fax: (707) 579-2059 > >---------------------------------------------------------------- > > The Source for Advanced Computing Solutions > >---------------------------------------------------------------- > > am.net = The Best Hosting Service with integrated database, > > secure transactions, real-time credit card processing and more > >---------------------------------------------------------------- > > > _______________________ > Jim Davidson > jimbo@sb.aol.com > Voice: (805) 882-2350 > Fax: (805) 899-4316 > > ------------------------------ > > Date: Tue, 20 Aug 1996 18:28:20 -0500 > From: Krish Menon > Subject: New AolServer backed Site > > Hi, > > The Art of HTML is a highly popular web-help site on the net, with over 6000 > hits a day. I just recently moved it to the AOLServer, and the site now has > some nifty server-based features. Check out the dynamically generated pages, > and the interactive submission forms. Both the tutorials and beginner's > sections are dynamically generated, and I'm adding several ways of listing > those. > > The URL is http://www.taoh.com > > Just another day in the life of the world's best web server :-) > > -KM > > Krish Menon, Webmaster -- Iway Internet Services > krish@iw.net, http://www.iw.net, webstart@iw.net > 140, N. Phillips Suite 404, Sioux Falls SD 57102 > (605) 331 4211, (605) 331 6585 (ah) - CST 6:00pm > ------------------------------------------------ > "The difference between a hitcher with a sign that > says 'Akron OH' and another that says 'Home For > Christmas' is the difference between selling and > marketing." > > ------------------------------ > > End of AOLSERVER Digest - 19 Aug 1996 to 20 Aug 1996 > **************************************************** > ========================================================================= Date: Tue, 20 Aug 1996 23:12:39 -0700 Reply-To: Web Development with AOLserver and PrimeHost Sender: Web Development with AOLserver and PrimeHost From: alan Subject: Re: AOLSERVER Digest - 19 Aug 1996 to 20 Aug 1996 MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Greetings, I have a question about supporting platforms. In the new release, I have not find Linux platform. Has Linux been dropped from the supported platform? Thanks for anyinfo. Alan -- ===================================================== Utopia Net. Net is the place of all Utopians. Alan Shih alan@utp.net San Jose, CA ===================================================== ========================================================================= Date: Wed, 21 Aug 1996 11:10:06 -0700 Reply-To: Web Development with AOLserver and PrimeHost Sender: Web Development with AOLserver and PrimeHost From: Jim Davidson Subject: Re: AOLSERVER Digest - 19 Aug 1996 to 20 Aug 1996 Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" At 11:12 PM 8/20/96 -0700, alan wrote: >Greetings, > >I have a question about supporting platforms. In the new release, I have >not find Linux platform. Has Linux been dropped from the supported >platform? Actually, Linux was dropped but will reappear, better than ever, in the next 2.1 beta release. Stay tuned for a detailed announcement. Cheers, -Jim _________________________________________________ Jim Davidson | jimbo@sb.aol.com AOLserver Project Manager | America Online Inc. | 511 Bath Street | Voice: (800) 529-9166 Santa Barbara, CA 93101 | Fax: (805) 899-4316 ========================================================================= Date: Wed, 21 Aug 1996 12:11:51 -0400 Reply-To: Web Development with AOLserver and PrimeHost Sender: Web Development with AOLserver and PrimeHost From: Christopher Petrilli Subject: AOLserver on Alpha w/Illustra Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" I remember reading a LONG time ago that the Illustra license key on Alpha would expire at the end of July (?), and was wondering when/if Illustra would have a new key for the Alpha/OSF platform, preferably with the Illustra 3.2 engine. Chris -- | Christopher G. Petrilli | petrilli@amber.org ========================================================================= Date: Wed, 21 Aug 1996 19:23:24 +1 Reply-To: mgarnier@mail.filnet.fr Sender: Web Development with AOLserver and PrimeHost Comments: Authenticated sender is From: Michel GARNIER Organization: personal mailbox Subject: About Hare Virus MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Some people asked about the Hare Virus which is going to strike for the first time. As we are almost on August 22 Thursday, here are some elements of answer. > From: Chris Nolan > Subject: HARE Virus > Date: Fri, 16 Aug 1996 08:34:51 -0700 > > Does anyone know how one GETS this virus? > > I'm hearing a lot about it, and to scan scan scan, but I want to > know how I would've gotten it if I have it. > > Thanks > Yes HARE virus seems rather dangerous according to the damages it is supposed to generate. The "Hare.7610" virus is scheduled to trigger on Aug. 22 and Sept. 22(Beware of those dates). It infects the master boot record of the hard drive, the boot sector of floppy drives, and it lives in a computer's memory, infecting .com and .exe files on execution. If the virus is active in a computer, the message: "'HDEuthanasia' by Demon Emperor: Hare Krsna, hare, hare..." will appear, and the virus will overwrite all the hard disks on the system, destroying all the data. But the facts are: 1) - The "Hare.7610" virus has been spreading through usenet newsgroups such as"alt.sex" and "alt.cracks."... This means , nobody is concerned, except if he used to receive/download those kinds of News UNCAUTIOUSLY. 2) - The "Hare.7610" virus seems to have bugs everywhere... Because the author - who researchers have taken to calling "Demon Emperor" - made the virus very complicated, which made for many problems and bugs which crash the machine it has infected !!! 3) - Last but not least, unless the hard drive is the type that the virus is designed for, the virus just won't work!!! So , even if your hard disk is infected by The "Hare.7610", the risks to be in trouble are very FEW... 4) - Finally: "Throughout the world I would say only 100 to 1,000 people will be affected," McAfee's Kuo said. You will find detail informations and detection softwares and fixes for the Hare.7610 virus, on the Web Sites of any well-known Anti-virus software publishers, like Symantec Corp., McAfee, and Dr. Solomon's. Dr. Solomon's = http://www.drsolomon.com/ McAfee = http://www.mcafee.com/ Symantec = http://www.symantec.com/ Have a good Aug. 22 Thursday. And enjoy playing with your beloved Windows computers as long as... Michel GARNIER ========================================================================= Date: Wed, 21 Aug 1996 17:15:45 EST Reply-To: Web Development with AOLserver and PrimeHost Sender: Web Development with AOLserver and PrimeHost From: Barry Gabler Subject: Parsing Multiple Selects in listbox Does anyone have some sample tcl source code to parse Multiple selects from a listbox in an HTML form? Barry Gabler bgg@ismd.ups.com ========================================================================= Date: Thu, 22 Aug 1996 19:02:51 +0900 Reply-To: Web Development with AOLserver and PrimeHost Sender: Web Development with AOLserver and PrimeHost From: Hiroshi Ueno Subject: Installation problem Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Experiencing a difficulty in installing AOLserver 2.1beta7 into my machine. Is there anyone experiencing the similar problem? Problem: At the end of installation, an error appeared to indicate there is no msvcirt.dll file. Installation never complete. Older version of AOLserver never showed such an error. The file name being installed is as21b7intel.exe. The file "msvcirt.dll" can not be located. My computer: Gateway2000 G6-150 (Pentium pro with 32 MB), Windows NT3.51(4) workstation installed. I welcome any suggestions. ********************************************************************** Hiroshi Ueno ueno@scl.kyoto-u.ac.jp Department of Agricultural Chemistry, Faculty of Agriculture Kyoto University, Sakyo, Kyoto 606-01 JAPAN Phone: +81-75-753-6111, Fax: +81-75-753-6128 ========================================================================= Date: Thu, 22 Aug 1996 09:56:50 -0400 Reply-To: Web Development with AOLserver and PrimeHost Sender: Web Development with AOLserver and PrimeHost From: gnat Subject: Is it just me or are there somethings missing? MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII I am trying to recreate a table I have in my Illustra database in my Sybase database. I built the Illustra table using 2.033 under Irix, I am now trying to create the table in Sybase with 2.1b7. There are two things that seem to be missing, one is that you can't set the column type to boolean and the second is the index option appears to be missing. Here is the HTML from the create Table page for one line: 3. [not null: ] [unique: ] Am I missing something, did I set something up wrong, or are they just plain missing? Dave David Whittle Internet Systems Developer Digital City (P) (703) 918-2465 (F) (703) 917-1207 (E) gnat@digitalcity.com ========================================================================= Date: Thu, 22 Aug 1996 10:42:11 -0400 Reply-To: Web Development with AOLserver and PrimeHost Sender: Web Development with AOLserver and PrimeHost From: Scott Munro Subject: Parsing Multiple Selects in listbox Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Barry Gabler wrote: > Does anyone have some sample tcl source code to > parse multiple selects from a listbox in an HTML form? Barry, Not sure if this is exaclty what you're looking for, but here's the code I use to get multiple values from a The update script should accept a row's OID as form/query data, as in /update?oid=xxxx.xxxx . Then, do a SQL search of the database to return that row. Finally, loop through the columns in that row and do a regsub command to replace "#my_column" above with "The column value". Now, you can return the user a page that has a row's values in it... >Also, what are the best resources for learning Tcl? The manuals provided >by PrimeHost certainly are not for novices! Thanks. I agree with the last poster's suggestion of Ousterhout; in addition, you might want to take a look at Sun's homepage . They are really pushing Tcl hard! Cheers, Jeff Rawlings -- rawlings@primehost.com -- http://www.primehost.com/ Webmaster, PrimeHost Moderator, HOSTING and AOLSERVER mailing lists For inquiries about Web Hosting, send email to ========================================================================= Date: Fri, 23 Aug 1996 11:28:26 -0500 Reply-To: Web Development with AOLserver and PrimeHost Sender: Web Development with AOLserver and PrimeHost From: Ashish Parikh Subject: Re: Database Maintenance In-Reply-To: Your message of "Thu, 22 Aug 1996 20:28:11 EDT." <960822202811_507829397@emout10.mail.aol.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii CybCenter@aol.com said: > Are there any simple Tcl scripts available for dynamically creating > an update form for a database other than the standard one provided > with AOLSERVER? The main problem I have with the "GetUpdateForm" > script is the form it generates. I'd like more control over the > fields provided for updating, and the layout of the page. AOLserver 2.1 makes some advances in this area. Are you using it or 2.0x? If you are using 2.1, there is some customization you can do. > Also, what are the best resources for learning Tcl? The manuals > provided by PrimeHost certainly are not for novices! Thanks. Pick up Brent Welch's book "Practical Programming in Tcl and Tk" - a really good book for anyone. Ashish ========================================================================= Date: Fri, 23 Aug 1996 13:17:34 -0400 Reply-To: Web Development with AOLserver and PrimeHost Sender: Web Development with AOLserver and PrimeHost From: "Larry W. Virden, x2487" Subject: Re: Database Maintenance Comments: To: Howard Jones In-Reply-To: of Fri, 23 Aug 1996 16:46:35 +0100 From: Howard Jones Subject: Re: Database Maintenance > On Thu, 22 Aug 1996 CybCenter@aol.com wrote: > > Also, what are the best resources for learning Tcl? The manuals provided > > by PrimeHost certainly are not for novices! Thanks. > > John Ousterhout's book is pretty good - although only the first bit is > applicable to just TCL. I ended up getting enthusiastic about Tk as a > result though too! :) > > "Tcl & the Tk Toolkit" > John Ousterhout > Addison-Wesley See , in particular part1.html, for lots of pointers to help on Tcl. -- Larry W. Virden INET: lvirden@cas.org <*> O- "We are all Kosh." Unless explicitly stated to the contrary, nothing in this posting should be construed as representing my employer's opinions. ========================================================================= Date: Sun, 25 Aug 1996 17:33:16 -0700 Reply-To: Web Development with AOLserver and PrimeHost Sender: Web Development with AOLserver and PrimeHost From: Jim Davidson Subject: AOLserver 2.1 Beta 8 available (includes Linux, Win95) Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Hello, The AOLserver Team is pleased to announce the immediate availability of AOLserver 2.1 Beta release 8. This release includes many improvements and bug fixes, particularly in the robustness and administrative categories. We're also reinforcing our commitment to multi-platform support with a significantly improved Linux port and a Windows 95 port. This is the final 2.1 beta release, so we encourage you to give it a try and provide us with your input for the final release. Below is a summary of AOLserver 2.1 beta 8 improvements, new features, and known bugs. New Ports: * Linux: The AOLserver is now available for Linux. For details and requirements see http://www.aolserver.com/server/platforms.html#linux. * Windows 95: The Intel NT port can now run on Windows 95. For details see http://www.aolserver.com/server/platforms.html#win95 Windows NT/95: * A new 'nskill' console program is provided to send SIGHUP or SIGTERM to NT/95 AOLserver. As on Unix, HUP will roll the log files and TERM will cause the server to shutdown. The 'nskill' program uses the setup port instead of the PID, e.g., nskill -HUP 9876. This program can be used in a batch file, scheduled with the NT 'at' command for cron-like nightly cleanup * The Intel NT/95 port includes a desktop control program, wnsd, that can start, stop, monitor, and send SIGHUP to the AOLserver. * A 32-bit beta version of AOLpress 1.2 is included which handles long file names and is significantly faster than the 16bit port. * The Setup program now handles NT 4.0 and Windows 95 correctly and launches 32bit AOLpress for configuration on Alpha AXP. New TCL commands: * Efficient bulk loading of permissions is now supported via the 'ns_perm syncon' and 'ns_perm syncoff' commands. Previous bulk loading of permissions was not practical since the commands updated files on each operation. These new commands support a transaction model, allowing deferred file-update as follows: ns_perm syncoff (disables file synchronization) ... ns_group, ns_user, ns_method, and ns_perm commands here ... ns_perm syncon (synchronizes files and enables file synchronization) Note that if errors occur within the syncoff/syncon wrapper, the in-memory representation of permissions will be rolled back to its previous state on disk, i.e., its state before the initial 'ns_perm syncoff'. * ns_atshutdown and ns_atsignal TCL commands have been added to register TCL scripts to be evaluated when the virtual server shuts down or in response to a SIGHUP signal. * ns_httpget and ns_httpopen TCL scripts are provided for opening HTTP connections through the TCL socket interface. These routines, unlike the ns_geturl command, provide for connection timeout and allow you to send and/or receive custom headers and transfer data to and from the remote using Tcl open files. ns_httpget is a simple wrapper around ns_httpopen designed to fetch ordinary pages and automatically follows redirects. The commands are not yet documented so for details see the code in the modules/tcl/http.tcl script. A simple use of ns_httpget would be: set page [ns_httpget http://www.aolserver.com] SGI Irix: * We now provide distributions of AOLserver compiled on both Irix 5.3 and 6.2. The 6.2 distribution includes the new nsdp binary which uses the new Posix Threads interface of Irix 6.2. For details see http://www.aolserver.com/server/platforms.html#sgi62 SSL module: * Performance improvement (SGI only): the initial seed generation (at server startup) has been dramatically improved. * Bug fix (all platforms): While running a server with an incorrect certificate, canceling out of the notification to this effect from a Netscape browser would cause a crash. Both of the above changes are included in the downloadable export version of our SSL module (nsssle.so). Contact us if you need a new (non-export) nsssl.so mailed out. Miscellaneous: * An exception catching mechanism is now included to help trap bugs in the AOLserver or modules loaded by AOLserver. By default all synchronous thread exceptions (such as de-referencing a NULL pointer) will cause a trace of active connections to be printed to the server log and the server will restart instead of dumping a core file or popping up a Dr. Watson dialog. This feature can be disabled by setting [ns/parameters]catchexceptions to "no". * The nstext module now works transparently via the remote Illustra proxy daemons. This allows Linux and Alpha NT users to utilize the nstext module with an Illustra server on another platforms such as Intel NT or Unix. * Many setup and database-related bugs have been fixed. Known bugs: 1. nstext module on NT: You must set the "TempDir" nsd.ini variable to a valid directory for page archiving and indexing. For example: [ns/server/server1/module/nstext] tempdir=c:\temp 2. The Wnsd desktop control program on Intel NT and Windows 95 can be used to stop the AOLserver service on NT. However, if you select Server->Start from Wnsd on NT the server is started as a detached process as on Windows 95 instead of as a service. In general you should use the Services Control Panel to start/stop the AOLserver on NT and only use wnsd for sending a SIGHUP or watching the groovy little counter in the lower corner show the number of connections passing by. Also, on Windows 95 wnsd does not automatically start the AOLserver when it is launch so you must select Server->Start manually. This keeps you from putting Wnsd in your Startup folder to automatically start the AOLserver. 3. The Illustra Setup program still does not handle NT 4.0 correctly. We will be posting a new version in the next few days to correct this problem. Enjoy! Cheers, -Jim _________________________________________________ Jim Davidson | jimbo@sb.aol.com AOLserver Project Manager | America Online Inc. | 511 Bath Street | Voice: (800) 529-9166 Santa Barbara, CA 93101 | Fax: (805) 899-4316 ========================================================================= Date: Fri, 23 Aug 1996 16:04:28 -0500 Reply-To: Web Development with AOLserver and PrimeHost Sender: Web Development with AOLserver and PrimeHost From: Levent Atasoy Subject: How to keep MiniWeb and still see Directory Index? Comments: To: HOSTING@SERVICES.WEB.AOL.COM Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" I used to use NCSA http server, which always serves directory indices when directories are requested. AOLpress, however, designates the first HTML file as the homepage for the directory after I webize a directory, and serves that file instead. I know that can change the homepage using the MiniWeb. What I want to do is to keep the miniweb, but let the AOLpress serve the directory by default. I want to see the miniweb only when I requested it specifically from the AOLserver. Is there a way to manipulate the AOLpress and the AOLserver to do this? --- Levent Atasoy The MacNeal-Schwendler Corp. levent.atasoy@macsch.com 815 Colorado Blvd (213) 259-3824 Los Angeles, CA 90041 ========================================================================= Date: Mon, 26 Aug 1996 11:15:18 +0100 Reply-To: Web Development with AOLserver and PrimeHost Sender: Web Development with AOLserver and PrimeHost From: William Murphy Subject: Re: AOLserver 2.1 Beta 8 available (includes Linux, Win95) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="---- =_NextPart_000_01BB933F.E3EC0860" This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. Contact your mail administrator for information about upgrading your reader to a version that supports MIME. ------ =_NextPart_000_01BB933F.E3EC0860 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Thanks for the information: We are in the process of setting up a section devoted to Evaluation Software, Beta Releases etc. and we have devoted a page to AOLserver 2.1 Beta release 8 ... please visit http://infomatique.iol.ie/SOFTWARE/PUBLISH/NEWREL.htm and confirm that what we have included is OK. We would appreciate if you would keep us informed of future developments so that we can post appropriate details at our site. >---------- >From: Jim Davidson[SMTP:jimbo@sb.aol.com] >Sent: 26 August 1996 01:33 >To: Multiple recipients of list AOLSERVER >Subject: AOLserver 2.1 Beta 8 available (includes Linux, Win95) > >Hello, > >The AOLserver Team is pleased to announce the immediate availability of >AOLserver 2.1 Beta release 8. ------ =_NextPart_000_01BB933F.E3EC0860-- ========================================================================= Date: Fri, 23 Aug 1996 16:08:28 -0500 Reply-To: Web Development with AOLserver and PrimeHost Sender: Web Development with AOLserver and PrimeHost From: Levent Atasoy Subject: How to specify mime.types based on directory? Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" NSCA http server allows me to specify different mime types for different directories. For instance in one directory I have FrameMaker documents with ".doc" extension, in another I have MSWord documents with ".doc" extension. I put an .htaccess file in each directory which tells the SCSA httpd to serve them as different mime types. Can I do something similar using AOLserver? --- Levent Atasoy The MacNeal-Schwendler Corp. levent.atasoy@macsch.com 815 Colorado Blvd (213) 259-3824 Los Angeles, CA 90041 ========================================================================= Date: Thu, 29 Aug 1996 11:23:41 -0700 Reply-To: Web Development with AOLserver and PrimeHost Sender: Web Development with AOLserver and PrimeHost From: gnat Subject: Re: AOLserver 2.1 Beta 8 available (includes Linux, Win95) In-Reply-To: <2.2.32.19960826003316.0083263c@152.163.236.131> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On Sun, 25 Aug 1996, Jim Davidson wrote: > * Many setup and database-related bugs have been fixed. nssybpd was not included in the Irix 5.3 distribution. Was this supposed to be or an opps? Dave David Whittle Internet Systems Developer Digital City, Inc. (P) (703) 918-2465 (F) (703) 918-1207 (E) gnat@aol.net ========================================================================= Date: Mon, 26 Aug 1996 10:24:35 U Reply-To: Web Development with AOLserver and PrimeHost Sender: Web Development with AOLserver and PrimeHost From: Ted Goessling Subject: Re: How to keep MiniWeb and RE>How to keep MiniWeb and still see... 8/26/96 Levent Atasoy writes: > I know that can change the homepage using the MiniWeb. What I want to do > is to keep the miniweb, but let the AOLpress serve the directory by > default. I want to see the miniweb only when I requested it specifically > from the AOLserver. > > Is there a way to manipulate the AOLpress and the AOLserver to do this? Sorry I can't provide an answer, but I can add my plea for the same capability. Whenever a user "webizes" a directory, they are creating a file (annoyingly hidden to AOLpress) that stores the characteristics of the MiniWeb. This file is called "document.nvd". If you delete the document.nvd file, the server behaves normally. It returns a directory listing when the directory doesn't contain an index.html (or similar default file), and displays the default index.html file when it is present. The fact that the server is aware of and uses the document.nvd file is a continual source of trouble for me and my users!!! If there were a way to turn off this interaction, it would make my week! It's hard enough to explain the concepts of HTML, web servers, cross-platform file types, etc, without having to explain that a hidden file on a remote server is messing up their directories. In addition, I have a strong suspicion that when a user lets the document.nvd file get hopelessly out of sync with the directory, file corruption occurs. This appears to happen when users copy lots of files from their local machine to a Webized directory without deliberately regenerating the MiniWeb. I have had to restore files from the database archive to correct for this. Wouldn't it be possible in AOLserver 2.1 to do one of the following: 1) Provide a switch for turning off server recognition of document.nvd files. This would let users take advantage of this nice feature of AOLpress, without forcing administrators to constantly worry about the Press/Server interaction. 2) Save the MiniWeb info on the local AOLpress machine in preference files/directories. This would give users the same functionality, without driving server administrators nuts. 3) Ditch the document.nvd concept entirely. Since the web environment and servers in general change very quickly, is it wise to rely on a file that must be conciously generated and maintained (by webizing) by relative novice users? The most useful aspect of the MiniWeb concept is the ability to create a local miniweb and use it to drag files to the remote server MiniWeb. If there was a batch upload capability, I could happily live without MiniWebs entirely. Please consider these humble suggestions. I love the product enough to have just purchased support, but the document.nvd stuff is a real pain. Guess what my first support question will be? ;-) Ted G. ====================================================================== Ted Goessling 14000 Technology Dr. ted.goessling@mts.com Technology Analyst Eden Prairie, MN 612-937-4824 ->vox MTS Systems Corporation 55344 USA 612-937-4515 ->fax ====================================================================== ========================================================================= Date: Mon, 26 Aug 1996 11:35:39 -0700 Reply-To: Web Development with AOLserver and PrimeHost Sender: Web Development with AOLserver and PrimeHost From: Jim Davidson Subject: Correction: AOLserver 2.1 Beta 8 available (includes Linux, Win95) Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Hello, In my original AOLserver 2.1b8 announcement I said: >* A 32-bit beta version of AOLpress 1.2 is included which handles long file >names and is significantly faster than the 16bit port. In fact, this is not true. We have not yet started the 32bit AOLpress beta program so the Intel and Alpha NT AOLserver distributions still include the current 16bit AOLpress port. Cheers, -Jim _________________________________________________ Jim Davidson | jimbo@sb.aol.com AOLserver Project Manager | America Online Inc. | 511 Bath Street | Voice: (800) 529-9166 Santa Barbara, CA 93101 | Fax: (805) 899-4316 ========================================================================= Date: Mon, 26 Aug 1996 15:15:01 -0400 Reply-To: Web Development with AOLserver and PrimeHost Sender: Web Development with AOLserver and PrimeHost From: Barlow Subject: server permissions Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Somehow I messed up my server permissions and cannot access my NS/setup section of server now :( Recently I setup a permission for NS/admin to prevent people from accessing those pages, and gave permission to my IP number as a host because I could not get the system to accept a DNS name. this still works but now I cannot get into the NS/setup area.Today I deleted the NS/admin permission but this did not help.I double checked my capslock key 1 other thing, I have been notieced previously that on login to setup screens for some reason I would have to tell the security access screen to try again for a login/security check this appeared to start after the GNN to AOL upgrade last week. Any advice as to what I should do now would be greatly appreciated. IS there anyway to reset my NSadmin permission? thanks all!! Kerry Soon to be..Barlow&Barlow computers Servers for you. http://204.181.7.192 barlow@servtech.com ========================================================================= Date: Tue, 27 Aug 1996 08:15:27 +0200 Reply-To: Web Development with AOLserver and PrimeHost Sender: Web Development with AOLserver and PrimeHost From: Nils-Olov Fransson Organization: Clab för klinisk kemi Sahlgrenska sjukhuset Subject: Re: How to keep MiniWeb and MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Thanks for the information about document.nvd. My AOL-server didnt recognize index.html as default page and I couldn't figure out why. After reading your article I checked for the file document.nvd and I found it. After deleting the file my server works as it should. The file must have been created when I was trying the miniweb. The miniweb don't work well because I have almost 1000 files in my web-server. Thanks again Nils-Olov Fransson ========================================================================= Date: Mon, 26 Aug 1996 23:26:23 -0700 Reply-To: Web Development with AOLserver and PrimeHost Sender: Web Development with AOLserver and PrimeHost From: Edward Un Subject: Problem with Full Text Index Comments: cc: edu@justintime.com I am running GNN Server 2.031 on Solaris. I have been putting full text search on the site but I just realized it is not working correctly. The search function incorrectly return pages that *does not* contain the input word. I tried reindexing the page using the /NS/Admin section and "Full Text Processing Administration" section but it was of no use. What could I have done wrong? There are no error messages from the log files. Can anyone tell me what are the steps I should be using to trouble shoot this problem? The pages in this site are created either by GNNPress or ftp. Thanks, Ed Just in Time Solutions, Inc. ========================================================================= Date: Tue, 27 Aug 1996 13:54:38 +0200 Reply-To: Web Development with AOLserver and PrimeHost Sender: Web Development with AOLserver and PrimeHost From: Marco Coletti Subject: Re: How to keep MiniWeb and still see Directory Index? Comments: cc: Levent.Atasoy@macsch.com Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" At 16.04 23/08/96 -0500, Levent Atasoy wrote: >AOLpress, however, designates the first HTML file as the homepage for the >directory after I webize a directory, and serves that file instead. > >I know that can change the homepage using the MiniWeb. What I want to do is >to keep the miniweb, but let the AOLpress serve the directory by default. I >want to see the miniweb only when I requested it specifically from the >AOLserver. > >Is there a way to manipulate the AOLpress and the AOLserver to do this? AFAIK, with AOLpress and AOLserver (properly configured): http://www.someone.com/foo/bar gives a directory index, while http://www.someone.com/foo/bar/ gives the miniweb home page. -= MarCo =- ========================================================================= Date: Mon, 26 Aug 1996 15:05:37 -0700 Reply-To: Web Development with AOLserver and PrimeHost Sender: Web Development with AOLserver and PrimeHost From: John Mantegna Subject: Re: AOLserver 2.1 Beta 8 available (includes Linux, Win95) Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" At 11:23 AM 8/29/96 -0700, you wrote: >nssybpd was not included in the Irix 5.3 distribution. Was this supposed >to be or an opps? > The absence of 'nssybpd is intentional. The 'nssybpd' proxy daemon uses the Sybase open client library. Thus, we cannot distribute the Sybase proxy daemon in binary form until we have a licensing agreement in place with Sybase. We're currently in the process of working with Sybase on this issue; the nssybpd proxy daemon will be downloadable as soon as we have an agreement in place. In the interim, you can create a Sybase proxy daemon, using your own Sybase open client library, by rebuilding from the nssybpd source found in: examples/c/nssybpd. See the makefile for further instructions. -John ______________________________________________ John Mantegna AOL Santa Barbara Vox:805-882-2350 511 Bath St. Fax:805-882-9162 Santa Barbara, CA 93101 ========================================================================= Date: Mon, 26 Aug 1996 18:23:32 -0700 Reply-To: Web Development with AOLserver and PrimeHost Sender: Web Development with AOLserver and PrimeHost From: "Arthur M. Kang" Organization: KeepTabs, Inc. Subject: Help Installing Illustra MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit I'm trying to install Illustra and am getting stuck. After installation, I test it by typing 'msql template1' and I get : $ cd $HOME $ pwd /keeptabs/illustra $ whoami miadmin $ msql template1 XVL011:license manager: SERVER FEATURE MI_LIB_USAGE: Can't login to server can't login to template1 on server default, host KeepTabs Not currently connected to a database * Could someone give me some help on what's wrong here and how I can fix the problem? Any help will be GREATLY appreciated! Arthur Kang -- KeepTabs, Inc. keeptabs@cyberpass.net ========================================================================= Date: Tue, 27 Aug 1996 11:43:02 -0600 Reply-To: Web Development with AOLserver and PrimeHost Sender: Web Development with AOLserver and PrimeHost From: Thorn Roby Subject: Attempt to add alias returns internal server error In-Reply-To: <199608240402.AAA05533@services.web.aol.com> from "Automatic digest processor" at Aug 24, 96 00:02:02 am Content-Type: text My existing icons are stored in a directory structure outside the AOL tree. They are normally referenced by URLs starting with /cgi-icon. I've tried the following steps to access them: set "Assets" to the true full path name of the directory set "Assets" to a symbolic link under the "pages" directory none of these things worked. finally, I tried setting an alias for "/cgi-icon" to point to "/usr/local/etc/httpd/cgi-icon". This produces an error message "the server encountered a configuration or operating system error". The nsd.ini file is not open by any other process. Server is running as miadmin. No other setup update procedures fail with this message. -- Thorn Roby troby@carl.org CARL Corporation 3801 E. Florida Ave.,Suite 300,Denver CO 80210 (303) 758-3030 x125 ========================================================================= Date: Tue, 27 Aug 1996 09:57:10 -0700 Reply-To: Web Development with AOLserver and PrimeHost Sender: Web Development with AOLserver and PrimeHost From: "Robert A. Dennis" Subject: nsql difficulty Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Hello- I have been befuddled by the installation of AOL2.1b8 and the illustra DB. Everything goes as written in the docs up to the point where I try to connect to the database using nsql. I get the following error: %sh nsql -U miadmin template1 nsql: syntax error at line 1: `(' unexpected The setup server is running, as is the sole virtual sever "server1." I am thinking that I have made some mistake in the installation of Illustra. I have tried twice, though. Computer = UltraSparc1 running Solaris 2.5. Anyone else ever seen this problem? Is it obvious what I have done wrong? Have I given enough information? Any ideas would be greatly appreciated. Many thanks for any replies regards Robert ========================================================================= Date: Tue, 27 Aug 1996 22:11:27 +0200 Reply-To: Web Development with AOLserver and PrimeHost Sender: Web Development with AOLserver and PrimeHost From: Marco Coletti Subject: Re: Help Installing Illustra Comments: cc: "Arthur M. Kang" Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" At 18.23 26/08/96 -0700, Arthur Kang wrote: >$ msql template1 >XVL011:license manager: SERVER FEATURE >MI_LIB_USAGE: Can't login to server >can't login to template1 on server default, host KeepTabs >Not currently connected to a database > >* > >Could someone give me some help on what's wrong here and how I can fix >the problem? Any help will be GREATLY appreciated! First of all you should take a look at: /adm/license.log and see if something goes wrong with Elan License Manager and license issuing. I got a similar problem when I forgot to reset my computer date/time after having decreased it. -= MarCo =- ========================================================================= Date: Tue, 27 Aug 1996 12:54:56 -0500 Reply-To: Web Development with AOLserver and PrimeHost Sender: Web Development with AOLserver and PrimeHost From: Levent Atasoy Subject: Re: How to keep MiniWeb and still see Directory Index? Comments: To: Marco Coletti Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" At 01:54 PM 8/27/96 +0200, Marco Coletti wrote: >At 16.04 23/08/96 -0500, Levent Atasoy wrote: > >AFAIK, with AOLpress and AOLserver (properly configured): > >http://www.someone.com/foo/bar gives a directory index, while >http://www.someone.com/foo/bar/ gives the miniweb home page. I tried them both on AOLpress and Netscape, they both give the MiniWeb home page. Can you elaborate on what you mean by "properly configured" AOLserver? I did not notice any parameters which can affect this behaviour. Currently Netscape issues an error for URLs of type "directory" or "directory/"; and AOLpress gives a Home page instead of a directory, which is confusing. I think the desired behavior for the AOLserver is to give the index in both cases by default, since this is the common behavior most people expect when they use generic browsers. Since MiniWebs can only be seen by AOLpress, AOLserver should only serve MiniWebs when specificly requested to do so by AOLpress. There is a "Show MiniWeb" button/in AOLpress, which serves this purpose. The PC version of AOLpress also shows a "MiniWeb" file type when "File Open" is requested, but it does not seem to function (or I can't figure out what it is supposed to do). I'd expect to see nvd files when it filters for MiniWeb file type and open it as a MiniWeb when requested. These two ways, "Show MiniWeb" button and "File Open" MiniWeb file type, should be sufficient to obtain the MiniWeb view when an AOLpress user needs it. All other ways of asking for a directory URL should result in an Index, whichever browser is used. Implementation of this should not be too difficult. All AOLserver needs to do is serve MiniWeb only when a "document.nvd" is requested. Since AOLserver hides ".nvd" files, a Netscape user will not ask for it by mistake. Only AOLpress would request the nvd file via the two methods described above. This scheme would even work fine if the user switches to another server if AOLpress interprets the nvd file served by the server properly. --- Levent Atasoy The MacNeal-Schwendler Corp. levent.atasoy@macsch.com 815 Colorado Blvd (213) 259-3824 Los Angeles, CA 90041 ========================================================================= Date: Tue, 27 Aug 1996 16:33:05 -0700 Reply-To: Web Development with AOLserver and PrimeHost Sender: Web Development with AOLserver and PrimeHost From: Edward Un Subject: Re: Text Searches - Funny Results In-Reply-To: Krish Menon "Text Searches - Funny Results" (Apr 3, 4:34pm) Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Hi Krish, I saw your following post on GNNDEVELOPER-L list earlier but didn't see any response on the same list. I was just wondering if you found a solution for your problem? I am having similar problem as you described. Regards, Ed On Apr 3, 4:34pm, Krish Menon wrote: > Subject: Text Searches - Funny Results > Using the full text feature on our setup, and searching for text, produces > funny results - it pulls up all the right pages, but also adds certain > unrelated items - inclduing *images* - any ideas? > > Krish > > -krish > -- > krish menon - webspinner, graphic designer - krish@iw.net > iway internet services, sioux falls, sd - http://www.iw.net > = when you fall, pick something up. ======================== >-- End of excerpt from Krish Menon -- ------------------------------------------------------------------------- Edward Un 444 De Haro Street, Suite 132 Just in Time Solutions, Inc. San Francisco, CA 94107 main: (415) 487-7870 edu@justintime.com direct: (415) 487-7878 http://www.justintime.com fax: (415) 487-7877 ------------------------------------------------------------------------- ========================================================================= Date: Wed, 28 Aug 1996 12:03:33 +0800 Reply-To: Web Development with AOLserver and PrimeHost Sender: Web Development with AOLserver and PrimeHost From: Cecil Lee Subject: Illustra on Different Host MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hi, Does anyone know where can I to find more information on setting up the Illustra and AOLserver on different hosts ? I have followed the online instructions to setup AOLserver on NT 3.51 Server and Illustra on NT 3.51 Workstation, but I am still face with the following error. The AOLserver message in server log is: ----------------------------------- Warning: Ns_DbDriverInit(illustra): Could not read the MiParams file: \\IllustraHOST\sharedrive\illustra\miparams. UNKNOWN: Can't open MI_SYSPARAMS file '\\MyIllustraHOST\MyShareDrive\illustra\miparams': Permission denied Trying c:/illustra/miparams UNKNOWN: Cannot find server 'default' in MiParams ----------------------------------- Can anyone enlighten me of what's wrong? Thanks. ========================================================================= Date: Wed, 28 Aug 1996 09:18:25 -0400 Reply-To: Web Development with AOLserver and PrimeHost Sender: Web Development with AOLserver and PrimeHost From: Marvin Allen Wolfthal Subject: Re: AOLSERVER Digest - 26 Aug 1996 to 27 Aug 1996 In-Reply-To: <199608280401.AAA05107@services.web.aol.com> Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII > ------------------------------ > > Date: Mon, 26 Aug 1996 18:23:32 -0700 > From: "Arthur M. Kang" > Subject: Help Installing Illustra > > I'm trying to install Illustra and am getting stuck. After > installation, I test it by typing 'msql template1' and I get : > > $ cd $HOME > $ pwd > /keeptabs/illustra > $ whoami > miadmin > $ msql template1 > XVL011:license manager: SERVER FEATURE > MI_LIB_USAGE: Can't login to server > can't login to template1 on server default, host KeepTabs > Not currently connected to a database > > * > > Could someone give me some help on what's wrong here and how I can fix > the problem? Any help will be GREATLY appreciated! Try the nsql program in the bin directory of your aolserver installation. >----------------------------------------------------------- > From: "Robert A. Dennis" > Subject: nsql difficulty > > Hello- I have been befuddled by the installation of AOL2.1b8 and the > illustra DB. Everything goes as written in the docs up to the point where > I try to connect to the database using nsql. I get the following error: > %sh nsql -U miadmin template1 > nsql: syntax error at line 1: `(' unexpected Leave off the "sh"; nsql is not a shell script. ----------------------------- Marvin Allen Wolfthal (maw@fsg.com) Technical Director Fusion Systems Group, Inc. 10 Winthrop Square, Boston, MA 02110 (617) 542-6130 Fax: 542-6248 ========================================================================= Date: Tue, 27 Aug 1996 16:48:18 -0700 Reply-To: Web Development with AOLserver and PrimeHost Sender: Web Development with AOLserver and PrimeHost From: "Robert A. Dennis" Subject: Re: Help Installing Illustra Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" >At 18.23 26/08/96 -0700, Arthur Kang wrote: > >>$ msql template1 >>XVL011:license manager: SERVER FEATURE >>MI_LIB_USAGE: Can't login to server >>can't login to template1 on server default, host KeepTabs >>Not currently connected to a database >> >>* >> I am having the same problems. Also I can't use nsql to do anything. When I try to do so I get: nsql: syntax error at line 1: `(' unexpected >>Could someone give me some help on what's wrong here and how I can fix >>the problem? Any help will be GREATLY appreciated! > >First of all you should take a look at: > /adm/license.log >and see if something goes wrong with Elan License Manager and license >issuing. > >I got a similar problem when I forgot to reset my computer date/time after >having decreased it. I checked my license.log as this person suggested but all seesm in order. I wonder if other people are having tha same or similar problems. Arthur, if you get any leads, please pass them along. I'll do the same. Best of luck. regards Robert ========================================================================= Date: Wed, 28 Aug 1996 13:55:05 +0200 Reply-To: Web Development with AOLserver and PrimeHost Sender: Web Development with AOLserver and PrimeHost From: Gaute Amundsen Subject: Heading zeroes problem?? Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" I remember there where some talk about the problem that TCL seems to strip heading zeroes from numbers. Did there ever appear a solution to this problem? We have many Zip codes here in Norway like 0192 and it would ne nice not to have to use some stupid workaround like adding a 0 to all 3 digit zips..... Thanks for any help gaute -- ----------------------------------------------------------- Gaute Amundsen Grafisk InterLink TCL/CGI & Drift Din kurs leverandor gaute@gil.no http://www.GIL.no ----------------------------------------------------------- ========================================================================= Date: Wed, 28 Aug 1996 09:43:44 -0400 Reply-To: Web Development with AOLserver and PrimeHost Sender: Web Development with AOLserver and PrimeHost From: Marvin Allen Wolfthal Subject: Install problem with 2.1 betas on Solaris In-Reply-To: <199608280401.AAA05107@services.web.aol.com> Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII nsdb.so does not appear among the loadable modules in the Setup server. Can anyone explain? Thanks Marvin Allen Wolfthal (maw@fsg.com) Technical Director Fusion Systems Group, Inc. 10 Winthrop Square, Boston, MA 02110 (617) 542-6130 Fax: 542-6248 ========================================================================= Date: Wed, 28 Aug 1996 19:03:00 +0200 Reply-To: Web Development with AOLserver and PrimeHost Sender: Web Development with AOLserver and PrimeHost From: Marco Coletti Subject: Re: How to keep MiniWeb and still see Directory Index? Comments: cc: Levent Atasoy Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" At 12.54 27/08/96 -0500, Levent Atasoy wrote: >At 01:54 PM 8/27/96 +0200, Marco Coletti wrote: >>At 16.04 23/08/96 -0500, Levent Atasoy wrote: >> >>AFAIK, with AOLpress and AOLserver (properly configured): >> >>http://www.someone.com/foo/bar gives a directory index, while >>http://www.someone.com/foo/bar/ gives the miniweb home page. > >I tried them both on AOLpress and Netscape, they both give the MiniWeb home >page. You're right. The same happens to me. I'm sorry. >Can you elaborate on what you mean by "properly configured" AOLserver? >I did not notice any parameters which can affect this behaviour. Another error of mines. It seemed to me that GNNserver 2.0x virtual servers have a configuration parameter for turning on/off directory listing. This is not the case. >Since MiniWebs can only be seen by AOLpress, AOLserver should only serve >MiniWebs when specificly requested to do so by AOLpress. There is a "Show >MiniWeb" button/in AOLpress, which serves this purpose. The PC version of >AOLpress also shows a "MiniWeb" file type when "File Open" is requested, but >it does not seem to function (or I can't figure out what it is supposed to >do). I'd expect to see nvd files when it filters for MiniWeb file type and >open it as a MiniWeb when requested. When AOLpress is not involved, .nvd files appear to me as just another method for the AOLserver to designate a page to serve in response to a request for a "directory" URL (the "classic" method is to search for index.htm, index.html or other files as defined in server configuration). It seems that only if no .nvd or index.* files exist in the request directory, then the directory listing will be served. A MiniWeb is directory wich contains a .nvd file. To turn a "raw" directory into a MiniWeb, just "webize" it. >These two ways, "Show MiniWeb" button and "File Open" MiniWeb file type, >should be sufficient to obtain the MiniWeb view when an AOLpress user needs >it. All other ways of asking for a directory URL should result in an Index, >whichever browser is used. > >Implementation of this should not be too difficult. All AOLserver needs to >do is serve MiniWeb only when a "document.nvd" is requested. Since AOLserver >hides ".nvd" files, a Netscape user will not ask for it by mistake. Only >AOLpress would request the nvd file via the two methods described above. >This scheme would even work fine if the user switches to another server if >AOLpress interprets the nvd file served by the server properly. "Show miniweb" when http://www.something.com/foo/bar/somepage.htm is displayed or "File Open... miniweb... http://www.something.com/foo/bar" are equivalent operations. Asking for a directory URL does not result in opening a MiniWeb and is an unrelated operation. In the first case AOLpress sends a HTTP request for the infamous /foo/bar/document.nvd file and parses the file to get informations to generate a miniweb map. In the second case AOLpress (or Nestcape or whatever) sends a HTTP request for /foo/bar (or /foo/bar/) and the AOLserver consults document.nvd to determine the "Top Page" to serve in response for a directory-URL. On my opinion, the server behaviour "serve miniweb Top Page in response for a directory-URL request" is indesiderable and getting rid of it would not hurt anything. -= MarCo =- ========================================================================= Date: Wed, 28 Aug 1996 11:36:40 -0400 Reply-To: Web Development with AOLserver and PrimeHost Sender: Web Development with AOLserver and PrimeHost From: Jonathan Yarden Subject: Re: Heading zeroes problem?? In-Reply-To: <2.2.32.19960828115505.00670078@ntws1.gil.no> from "Gaute Amundsen" at Aug 28, 96 01:55:05 pm MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit > > I remember there where some talk about the problem that > TCL seems to strip heading zeroes from numbers. > > Did there ever appear a solution to this problem? > > We have many Zip codes here in Norway like 0192 > and it would ne nice not to have to use some stupid workaround like > adding a 0 to all 3 digit zips..... Your problem might be worst than you think...A leading zero on a a used by the expr command might really mess you up. This is because a leading zero causes an implicit OCTAL conversion in TCL. Try this one in TCLSH: % set a [expr 0173 + 1] 124 % Yep...can really cause lots of problems. Especially with date math when you go from July to August... Jon ========================================================================= Date: Wed, 28 Aug 1996 10:55:30 -0700 Reply-To: heinz@bytedesigns.com Sender: Web Development with AOLserver and PrimeHost From: Heinz Wittenbecher Subject: nsbootstrap not completing, 2.0.0 Linux kernel, 2.1beta8 aolserver MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit I get Notice: AOLserver/2.1b8 build 1 starting. Fatal: Startup failed initializing: fd utilities I'm installing fresh on a fresh Slackware96 installation. What fd utilities does the error message refer to? TIA - Heinz *********************************************************************** * Heinz Wittenbecher, Byte Designs Ltd. Voice: (604) 534-0722 * * heinz@byted.com Langley, BC CANADA Fax: (604) 534-2601 * * http://www.bytedesigns.com * ========================================================================= Date: Wed, 28 Aug 1996 22:14:01 +0200 Reply-To: Web Development with AOLserver and PrimeHost Sender: Web Development with AOLserver and PrimeHost From: Franz Rohner Subject: Is Web page locking feature working? MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Hi, I am trying out AOLserver (2.1.b8 on HPUX 10.01) together with AOLpress 1.2. on Win95. I appreciate the WYSIWYG editing facilities of AOLpress 1.2, especially the file handling. The system could well be used for a Web based Intranet. However I always have the "Lock" and "Unlock" Page Administration Tools dimmed (both of them). Are these features not yet working or do I have to act on HP-UX services? Thanks for any hint, Franz Rohner ========================================================================= Date: Wed, 28 Aug 1996 13:40:56 +0000 Reply-To: Web Development with AOLserver and PrimeHost Sender: Web Development with AOLserver and PrimeHost From: Jason Baker Organization: Security Pacific Financial Services Subject: AOL Server running VB cgi MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit I have some Visual Basic 4.0 cgi applications which I would like to port over to AOL server. The programs use the Win-CGI standard and while the AOL technical folks have said I can run this, I don't know how to implement it nor can I find any info on the CD. Any help would be appreciated. Jason Baker ikoiko@earthlink.net ========================================================================= Date: Wed, 28 Aug 1996 17:04:13 -0400 Reply-To: Web Development with AOLserver and PrimeHost Sender: Web Development with AOLserver and PrimeHost From: "Peter M. Jansson" Subject: Re: Heading zeroes problem?? Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" >> TCL seems to strip heading zeroes from numbers. Tcl does not strip leading zeroes from numbers. Period. Tcl does, however, try to interpret a string beginning with zeroes as an octal number, when the string appears in operator contexts, such as if [$a == ""] { In this case, tcl will try to interpret the string as an octal number. If non-octal digits appear, you may get an error. The way around this is to use a different comparison, such as if [string match $a ""] { or if {[string length $a] == 0} { >> >> Did there ever appear a solution to this problem? >> >> We have many Zip codes here in Norway like 0192 >> and it would ne nice not to have to use some stupid workaround like >> adding a 0 to all 3 digit zips..... Don't do math on them. No problem. >Your problem might be worst than you think...A leading zero on a a used by >the expr command might really mess you up. This is because a leading zero >causes an implicit OCTAL conversion in TCL. Try this one in TCLSH: > >% set a [expr 0173 + 1] >124 >% > >Yep...can really cause lots of problems. Especially with date math when you >go from July to August... If you're going to do arithmetic on something and you think it may have leading zeroes when it shouldn't, try [string trimleft $a 0] instead of $a. It doesn't "cause lots of problems" when used properly. Pete. ========================================================================= Date: Wed, 28 Aug 1996 22:53:48 +0100 Reply-To: Web Development with AOLserver and PrimeHost Sender: Web Development with AOLserver and PrimeHost From: Howard Jones Subject: Re: AOL Server running VB cgi In-Reply-To: <32244C68.68F8@earthlink.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On Wed, 28 Aug 1996, Jason Baker wrote: > I have some Visual Basic 4.0 cgi applications which > I would like to port over to AOL server. The > programs use the Win-CGI standard and while the AOL > technical folks have said I can run this, I don't > know how to implement it nor can I find any info on > the CD. > > Any help would be appreciated. Try looking at SERVER_ROOT/examples/tcl/wincgi.tcl You would do well to try and get your cgi apps ported to at least real CGI, if not TCL though - the win-cgi interface is not the most efficient thing in the world. Regards, Howard. -- Howard Jones HELP! MY TYPEWRITER IS BROKEN! Voss Net Plc. - E.E.CUMMINGS Internet: hjones@vossnet.co.uk http://www.vossnet.co.uk/people/Howard/index.html ========================================================================= Date: Thu, 29 Aug 1996 10:34:04 -0700 Reply-To: Web Development with AOLserver and PrimeHost Sender: Web Development with AOLserver and PrimeHost From: Liankui Sun Subject: Help Needed on setup nsnlog module Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Hi, I have difficult to set I run AOLserver2.1b8 under solaris2.5. When I go to Setup server, there is no nsnlog link there, So I click Add Module button, under About Arbitrary Module: I fill the following form: Arbitrary Module: nsnlog /webhome/bin/nsnlog.so This is the absolute path of nsnlog.so After I click add, I was asked to fill additional parameters. I fill the Address and Port Then click Add Module Button, I got following ERROR message, The server encountered a configuration or operating system error while attempting to satisfy your request. Could anyone help me. Thanks! Sun ========================================================================= Date: Wed, 28 Aug 1996 22:56:33 -0800 Reply-To: Web Development with AOLserver and PrimeHost Sender: Web Development with AOLserver and PrimeHost From: Alex Khassin Subject: Bugs and problems In-Reply-To: <2.2.32.19960823210428.00734758@bootes.macsch.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=_29tW34g.bO1996u.N06d000A.r08Y.56:00448c" Content-Transfer-Encoding: 7bit --=_29tW34g.bO1996u.N06d000A.r08Y.56:00448c Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Jim & Doug: Before I describe my problems I'd like to thank you for some features you guys put into beta8: self-restart instead of Dr. Watson; ns_httpget; better shut-down, kill capabilities. About a week ago we posted a message regarding the problem we are having with ns_register_trace in beta7. (the problem is that it does not register :( ) Haven't heard from you on that one! Also, some strange things happening with nsql: On one NT server (let's call it A) we run 2.033. We can run its nsql just fine on that server(A) and we can also run the nsql.exe file from 2.033 on another server (let's call it B) with 2.1b7. However, on this other server B we also have VC++. It includes msvcrt.dll. On server B we can run 2.031's version of nsql and 2.1b7's version of nsql but can't connect to the database. On server A, neither one of those nsqls run giving an error message that msvcrt.dll could not be found. (There are actually a whole bunch of msvcrt20.dll and msvcrt40.dll files in all the different versions of AOLServer and I am not sure now which ones are from older installations and what we are supposed to have with which dates!) The problem though is not the msvcrt.dll. I can get around that. The problem is that for some reason both the 2.033 and 2.1b7 nsql.exe files (the ones that want msvcrt.dll) want the 00 key for Illustra (which, of course we don't have). By the way my 2.1b7 installation connects to the database just fine. Just can't use its nsql! Please advise. --=_29tW34g.bO1996u.N06d000A.r08Y.56:00448c Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="alexsig.txt" Content-Description: The Sender's Signature -- ---------------------------------------------------------------- Alex Khassin AM Computers mailto:akhassin@am.net 1040-B N. Dutton Ave Voice: (800) 579-2018 Santa Rosa, CA 95401 (707) 579-2010 http://am.net ---------------------------------------------------------------- The Source for Advanced Computing Solutions ---------------------------------------------------------------- am.net = The Best Hosting Service with integrated database, secure transactions, real-time credit card processing and more ---------------------------------------------------------------- --=_29tW34g.bO1996u.N06d000A.r08Y.56:00448c-- ========================================================================= Date: Wed, 28 Aug 1996 22:18:59 -0800 Reply-To: Web Development with AOLserver and PrimeHost Sender: Web Development with AOLserver and PrimeHost From: Alex Khassin Subject: Re: Illustra on Different Host, other Illustra problems, etc. In-Reply-To: <3223C514.24AC@singnet.com.sg> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=_29tW01g.bO1996u.N06d000A.r08Y.19:0027cf" Content-Transfer-Encoding: 7bit --=_29tW01g.bO1996u.N06d000A.r08Y.19:0027cf Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit >Does anyone know where can I to find more information on setting up the >Illustra and AOLserver on different hosts ? > >Ns_DbDriverInit(illustra): Could not read the MiParams file: >\\IllustraHOST\sharedrive\illustra\miparams. > >UNKNOWN: >Can't open MI_SYSPARAMS file >'\\MyIllustraHOST\MyShareDrive\illustra\miparams': > Permission denied > Trying c:/illustra/miparams > >UNKNOWN: >Cannot find server 'default' in MiParams >----------------------------------- AOLServer db pools configuration should have a pool configured as follows: Driver: illustra Connections: 2 (or however many you want) DataSource: : User: miadmin (or some other user) ExtendedTableInfo: On (optional) Password: >the user's password> Verbose: On (optional) Important notes: IS NOT THE NAME OF THE SERVER on which Illustra is running. It's just an alias for this server AS SPECIFIED IN MIPARAMS file. The db drivers configuration should have the MIPARAMS file field set to the location of this file (as in c:\AOLServer\miparams (that's not the directory miparams, that's an actual file miparams.)) This file SHOULD BE A LOCAL FILE. Alternatively, if the above field is not set, AOLserver will try, in order, the value of the MI_SYSPARAMS environment variable, and the MiParams file in the user miadmin's home directory. The MIPARAMS file should look like this: default MI_HOST localhost MI_PORT 7531 MI_HOME C:\Illustra MI_LICENSE localhost main MI_HOST MI_LICENSE -P or nsql -U -P -s The first one will try to use the "default" server_alias to find the database_name. The last note is on the ELMD license manager. On NT, there is a file illustra.ini in your windows NT directory that contains the settings for the license manager. The control panel applet makes changes to this file. If you look at the control panel applet, when the license manager is NOT running, you can actually configure the size limit for your license.log file (which lives in Illustra\adm directory). You can specifiy a number, such 500 and then the units for the number such kbytes. ALL MY ATTEMPTS TO CONFIGURE THIS HAVE FAILED. My illustra.ini file claims that I have set the license log ot 10 kbytes. license.log indicates 10 bytes! But my log grew to 18 Mb until I cleared it! (To clear the log on NT, run the ELMD Control app) Other logs for Illustra you may want to check out are midaemon.log and miserver.log both living in the Illustra\data directory. *********************************** OTHER NON-DATBASE COMMENTS: Displaying directory listing vs. index. The behavior described in this list (i.e. abc.com/ returning listing and abc.com index) was promised for 2.1 (it's not there in beta7 though, haven't checked 8) However, the lock feature present in AOLPress 1.2 does work with 2.1 but 2.1 only! --=_29tW01g.bO1996u.N06d000A.r08Y.19:0027cf Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="alexsig.txt" Content-Description: The Sender's Signature -- ---------------------------------------------------------------- Alex Khassin AM Computers mailto:akhassin@am.net 1040-B N. Dutton Ave Voice: (800) 579-2018 Santa Rosa, CA 95401 (707) 579-2010 http://am.net ---------------------------------------------------------------- The Source for Advanced Computing Solutions ---------------------------------------------------------------- am.net = The Best Hosting Service with integrated database, secure transactions, real-time credit card processing and more ---------------------------------------------------------------- --=_29tW01g.bO1996u.N06d000A.r08Y.19:0027cf-- ========================================================================= Date: Thu, 29 Aug 1996 02:55:58 -0400 Reply-To: Web Development with AOLserver and PrimeHost Sender: Web Development with AOLserver and PrimeHost From: Axel Rebai Subject: GNN and Excite with NT 3.51 Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" hi, I intall Excite for web server 1.0 with GNN server on Windows NT 3.51. I think my intallation is good. When I trying to create an index of my file ,I have always the same error message: **no such file or directory** on the documentation of Excite this error arrive if the user witch run the web server has not the privilege read/write on all files of WEB . I do an mail to Excite support witch say me the the pb is the configuration of my web server. If someone has always install Excite with GNN and has an idea thank for your help axel rebai ________________________________________________________ Axel Rebai A.R.D.E.P Esplanade diderot 42300 Roanne France Tel 77 71 20 00 Fax 77 72 52 99 ________________________________________________________ ========================================================================= Date: Thu, 29 Aug 1996 13:11:29 -0400 Reply-To: Web Development with AOLserver and PrimeHost Sender: Web Development with AOLserver and PrimeHost From: John Nielsen Subject: case insensitive searching In-Reply-To: <199608290417.AAA17590@services.web.aol.com> from "Automatic digest processor" at Aug 29, 96 00:12:23 am MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit The standard search form for the database provides the following options: <> contains like not like is null is not null How would one specify a case insensitive search? john ========================================================================= Date: Thu, 29 Aug 1996 14:58:08 -0400 Reply-To: Web Development with AOLserver and PrimeHost Sender: Web Development with AOLserver and PrimeHost From: Bob Lally Subject: NS/Text/Search problem Hi: I am trying to restrict my search to a particular directory within www.wolfpfeifer.com. When I specify the URL to restrict the search no files are found at all. If I do not restrict the search many (including unwanted) files are found. The restrict search string I enter is "http://www.wolfpfeifer.com/articles/" I have tried numerous combinations with no success. Your help is greatly appreciated. Thank you. ========================================================================= Date: Fri, 30 Aug 1996 09:36:37 -0400 Reply-To: Web Development with AOLserver and PrimeHost Sender: Web Development with AOLserver and PrimeHost From: John Nielsen Subject: added case insensitive searching In-Reply-To: <199608290417.AAA17590@services.web.aol.com> from "Automatic digest processor" at Aug 29, 96 00:12:23 am MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit For whatever reason, case insensitive searching was not available with the standard database search form. If anyone's interested I've modified forms.tcl to do case insensitive searching. john ========================================================================= Date: Fri, 30 Aug 1996 17:00:01 +0200 Reply-To: Web Development with AOLserver and PrimeHost Sender: Web Development with AOLserver and PrimeHost From: Marco Coletti Subject: AOLserver TCL API: puzzling things Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" I'm running GNNserver Version: 2.031 Build: 1 Platform: Windows NT 3.51 sp4 After struggling for a while to reach the following goal through the TCL API Return to the client the entire TCP connection contents. ,I ended up with the following code piece ns_register_proc POST /efc/action/showpost showpost # # Show POST content data # proc showpost {conn context} { set fileId [open "[ns_info pageroot]/httppit.txt" "w+"] ns_writecontent $conn $fileId set len [tell $fileId] seek $fileId 0 ns_returnfp $conn 200 text/plain $fileId $len close $fileId } wich doesn't do what I intended, but comes close to it: Return to the client the entire HTTP contents data. Why doesn't exist a counterpart to ns_write (I mean, a ns_read that reads in the connection without data processing)? Why doesn't exist a ns_conn2file that returns a fileId for reading or writing out the current connection by means of file related TCL functions like read or write (ns_sockopen cannot be used for this purpose)? Is there some method to read in all the connection data without creating a new TCL command through the C API (I don't even have a C compiler)? Submitting the following HTML form Upload
File

I get: ...................................................................... -----------------------------200602094610084 Content-Disposition: form-data; name="upload"; filename="c:\myfile.txt" Content-Type: text/plain This is line 1 of c:\myfile.txt This is line 2 of c:\myfile.txt This is line 3 of c:\myfile.txt -----------------------------200602094610084-- HTTP/1.0 500 Internal Server Error MIME-Version: 1.0 Date: Friday, 30-Aug-96 14:11:44 GMT Server: NaviServer/2.0 GNNserver/2.031 Content-Type: text/html Content-Length: 312 Server Internal Error

Server Internal Error


The server encountered a configuration or operating system error while attempting to satisfy your request.

For further assistance, contact the server administrator. ...................................................................... and in server.log: ...................................................................... [30/Aug/1996:16:11:44 +0200][100.186] Error: Tcl script failed: [30/Aug/1996:16:11:44 +0200][100.186] Notice: 146 bytes of raw data to follow: error closing "file11": No error while executing "close $fileId" (procedure "showpost" line 7) invoked from within "showpost nsc1 {}" ...................................................................... What's this "no error" error closing the file? The problem goes away by removing the line close $fileId from the script. I'm somewhat puzzled. Quoting Jim Davidson : >Your code should work fine because ns_returnfile doesn't look at the >contents of the file so it isn't affected by the string-only limitation of >Tcl. It seems to me that ns_returnfile DOES look at the file contents. As a matter of fact, if I modify the script in this way proc showpost {conn context} { set fileId [open "[ns_info pageroot]/httppit.txt" "w+"] ns_writecontent $conn $fileId close $fileId ns_returnfile $conn 200 text/plain "[ns_info pageroot]/httppit.txt" } then I get (BTW: no "no error" error closing the file this time) ...................................................................... -----------------------------2175339023665 Content-Disposition: form-data; name="upload"; filename="c:\myfile.txt" Content-Type: text/plain This is line 1 of c:\myfile.txt This is line 2 of c:\myfile.txt This is line 3 of c:\myfile.txt -----------------------------2175339023665-- ...................................................................... (the same result is obtained requesting the URL http://www.myserver.com/httppit.txt) which is not the same as ...................................................................... -----------------------------1934867716504 Content-Disposition: form-data; name="upload"; filename="c:\myfile.txt" Content-Type: text/plain This is line 1 of c:\myfile.txt This is line 2 of c:\myfile.txt This is line 3 of c:\myfile.txt -----------------------------1934867716504-- ...................................................................... as obtained from proc showpost {conn context} { set fileId [open "[ns_info pageroot]/httppit.txt" "w+"] ns_writecontent $conn $fileId set len [tell $fileId] seek $fileId 0 ns_returnfp $conn 200 text/plain $fileId $len } Sounds like ns_returnfile is paying attention to the file extension of httppit.txt and processes CRLFs it encounters (?). -= MarCo =- ========================================================================= Date: Fri, 30 Aug 1996 11:28:16 -0400 Reply-To: Web Development with AOLserver and PrimeHost Sender: Web Development with AOLserver and PrimeHost From: Jeff Rawlings Subject: Re: NS/Text/Search problem Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" At 02:58 PM 8/29/96 -0400, you wrote: >I am trying to restrict my search to a particular directory within >www.wolfpfeifer.com. [...] >The restrict search string I enter is "http://www.wolfpfeifer.com/articles/" > I have tried numerous combinations with no success. Your help is greatly >appreciated. Try this as your URL restriction instead: /articles This script expects links relative to your server's pageroot, beginning with a / . Cheers, Jeff Rawlings -- rawlings@primehost.com -- http://www.primehost.com/ Internet Marketing Manager, America Online PrimeHost *Web hosting with commerce capability and T3 connectivity *AOLserver software, with relational database and full APIs ========================================================================= Date: Fri, 30 Aug 1996 12:22:19 -0700 Reply-To: Web Development with AOLserver and PrimeHost Sender: Web Development with AOLserver and PrimeHost From: Ed Potter Subject: Installing Illustra Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Went through the Illustra install. We're trying to get bugtracker working. Created database pools, etc. When accessing bugtracker.sql, we do not get a web page, instead it treats the .sql extension as a text file -> should'nt xxx.sql get mapped somewhere? Should I expect this to open in a web page? How does this "insert sql" into my file? Confused... thanks ed