========================================================================= Date: Thu, 28 Mar 1996 22:01:29 +0000 Reply-To: Web Development with GNNserver Sender: Web Development with GNNserver From: Ron Zehrung Subject: Re: Commercial Level Developers? Coby Pachmayr wrote: > > Are there any Commercial Level developers on this list? I see many using > either the dedicated server, or are using GNN server on their own system. I > would like to talk to some developers who are using the Commercial level. > > Also, has anyone found a really good TCL reference, one that is for people new > to TCL, and in particular, using it on the Web. > > Thanks- > > Coby D. Pachmayr > InterMed Technologies > email: pachmayr@msn.com Coby, I am considering the Commercial level webhosting program. Mostly because the cost per MB (storage & thruput) seems very reasonable compared with the others I've been researching. But, I have no Unix experience or Tcl experience and am wondering if I'll be able to do what I want (on-line ordering, etc.) without too much time spent learning to code Tcl scripts or Unix in general. Some of the other sites I've looked at (GoSite, Forman Interactive, etc.) seem to have things set up to be simple to operate. I like the idea of having database access (though I'm not very familiar with Illustra or SQL) and dynamic pages sound cool, but a common theme I've noticed throughout these emails is that the documentation is confusing (to programmers, no less). So how much harder would it be for a mere HTML coder? Ron Zehrung zehron@iquest.net ========================================================================= Date: Fri, 29 Mar 1996 20:13:45 -0500 Reply-To: Web Development with GNNserver Sender: Web Development with GNNserver From: Aleotta@aol.com Subject: Re: Simple TCL Example Thanks alot!!!! This will help! Since I posted that message I went out and purchased the Ousterhout TCL book... I doenloaded all of the docs and printed them...wow I killed some trees... I think I will have something working by monday....thanks for your help!! PS My first project is a PHISH (the rock band) database and a small test Grateful Dead Song Lyric database.... ========================================================================= Date: Fri, 29 Mar 1996 20:25:46 -0500 Reply-To: Web Development with GNNserver Sender: Web Development with GNNserver From: Aleotta@aol.com Subject: Re: Commercial Level Developers? Hi, I think I am using commercial, I just have TCL interface... >>>Also, has anyone found a really good TCL reference, one that is for >>>people new to TCL, and in particular, using it on the Web. Buy "Tcl and the Tk Tollkit" by John K. Ousterhout You can ignore the TK stuff, but it is a very powerful cross platform GUI package that is easy to use and learn. I have it for UNIX and Windows, and I am very happy with it. Of course, why waste your time with TK, now that SUN is giving JAVA away for free????? I don't know the answer to that...I like TK and I like JAVA...but you have to draw the line some where, I guess? The Naviserver (GNN) interface using TCL is easy to learn....right now I am struggling with all the function calls...you just need time to read and experiment. Like always, we (us programmers) are expected to learn all these new things (JAVA, Naviserver, Illustra, TCL, HTML etc) really fast and produce production quality code over night.... Ya alot of this stuff is easy...but things are getting more and more complex every day, and the amount of new stuff you need to learn to keep up to speed is incredible. -Tony Leotta ========================================================================= Date: Fri, 29 Mar 1996 18:54:48 -0500 Reply-To: Web Development with GNNserver Sender: Web Development with GNNserver From: "Stephen A. Mattin" Organization: MediLife Software Subject: Re: Changing Unix Passwords Comments: cc: John Mitchell John Mitchell wrote: > > On Thu, 28 Mar 1996, Krish Menon wrote: > > > I don't suppose anyone has a module/script that allows users to change their > > Unix passwords? > > DONT DO THIS ON A UNSECURE SERVER -- the "Basic" authentication protocol > that all webservers support does *not* encrypt passwords! It "uuencodes" > them, which makes the password not human-readable, but it is easily > reversible. > Actually, HTTP Basic Authentication "base 64" encodes, not "uuencodes" the password. Mr. Mitchell's point that this is insecure is correct, if some kind of encryption scheme like SSL is not in use ("ON A UNSECURE SERVER"). The userid-colon-password string is easily recovered with standard MIME mail handling tools, e.g. "mmencode -u". One corollary of this is that you should not use Unix passwords in Web server access control databases. Note that HTTP is no worse in this regard than many other protocols, like FTP and TELNET, that are commonly used to transport unencrypted Unix passwords. This insecurity is why the POP3 command to change passwords is commonly unimplemented on the server side. HTTP "Digest" authentication, when available, will eliminate the need to actually send the Web server authentication password in the HTTP stream, but the central point that Unix passwords should not be sent unencrypted will remain. -- Stephen A. Mattin stephen@MediLife.COM ========================================================================= Date: Mon, 1 Apr 1996 09:28:25 EST Reply-To: Web Development with GNNserver Sender: Web Development with GNNserver From: Mark_Wang_at_NJTRITEC@pcmailgw.ml.com Subject: Virtual Server Password I have encountered a problem to setup more than one virtual servers. When I setup the second virtual server, I did not have opportunity to choose password for the administrator. I did try to use the password for the setup server as well as the first virtual server, but neither of them worked. ANY SUGGESTION? ========================================================================= Date: Mon, 1 Apr 1996 10:58:16 -0500 Reply-To: Web Development with GNNserver Sender: Web Development with GNNserver From: "Peter M. Jansson" Subject: How many restarts? If I want to add both the nsdb and nscgi modules to a virtual server, do I need to restart the server in between adding the modules on an NT server? Pete. ========================================================================= Date: Sun, 31 Mar 1996 22:06:06 -0500 Reply-To: Web Development with GNNserver Sender: Web Development with GNNserver From: David Sklar Subject: illustra with other web servers? In-Reply-To: <2.2.32.19960326215612.0082f7e0@199.221.53.18> Is it possible to use illustra with other web servers? Actually, let me rephrase that: Is there existing software to use illustra with web servers other than GNNserver? If not, and such a feat is possible, what kind of software needs to get written for that to happen? Thanks... -dave ========================================================================= Date: Sat, 30 Mar 1996 12:36:28 -0800 Reply-To: Web Development with GNNserver Sender: Web Development with GNNserver From: Stephen Shub Subject: Re: GNNserver 2.03 I recentlt sent an e-mail requesting info on whether I should upgrade from NaviServer 2.0 to GNN 2.03. I know there are some featureset differences and would this affect any of those services. Steve <<>><<>><<>><<>><<>><<>><<>><<>><<>><<>> < Stephen Shub > < S.M.I. Innovations > < 510-339-1700 > < http://crafts.net/smi > < Web Sense for Real People > <<>><<>><<>><<>><<>><<>><<>><<>><<>><<>> ========================================================================= Date: Sun, 31 Mar 1996 14:48:01 -0500 Reply-To: Web Development with GNNserver Sender: Web Development with GNNserver From: David Sklar Subject: Releasing Connections In-Reply-To: <199603282035.MAA21927@navisoft.com> I am still having problems with GNNserver accepting connections and then not sending anything back on them. I upgraded to 2.03 today and the same thing is happening, just with different messages in my server.log :) All signs point to some kind of infinite loop in one of my Tcl scripts. I am having trouble finding it, however. I have a few questions: Doug posted some sample Tcl that included an ns_db select and the sql in quotes was semicolon-terminated but the sql for the ns_db dml he posted wasn't semicolon terminated. I haven't been putting semicolons at the end of my sql. Is that necessary? Could this be causing the problem? This sounds like a silly question, but I want to exhaust all possibilities. Is there any way [or plans to implement in a future version of GNNserver] to limit the processor resources or time devoted to a specific thread? This would help by debugging tremendously... Has anybody run into anything like this before? Any tips or anything for things to look out for in Tcl that tend towards being infinite loopy? I'd post some sample code but there is a lot (a few thousand lines) of it and I'm not sure where the error is. Thanks for any help... -dave ========================================================================= Date: Mon, 1 Apr 1996 09:07:43 EST Reply-To: Web Development with GNNserver Sender: Web Development with GNNserver From: Mark_Wang_at_NJTRITEC@pcmailgw.ml.com Subject: Re: fwd: Returning a file to a client with the proper name I think that it is important to understand how HTTP works. Fro every item a server send to the client, there are two parts: HEADER and MESSAGE. The header tells what type and name the following message is, and other information (length, version standard, etc.). When you use ns_return or ns_respond, you are asking the server to construct the header for you. GNN-Server then will calculate the size and use the URL which your program is responding to as the name. To get around, use ns_write and construct the header yourself. I hope this works. ______________________________ Reply Separator _________________________________ Subject: fwd: Returning a file to a client with the proper name Author: Web Development with GNNserver at UNIXGTWY Date: 3/29/96 5:20 PM This is a forwarded message from: >veillon@chbs.ciba.com >Hi, > >I am setting up a download service and I have a problem with the name of >the files received by the clients. All files when they arrive have the >name of the last component of the URL used by the client to activate the >download script (which do several things,like registering the user ID ...and >ultimately dispatching the file ) .I have tried many setups of varying >complexity (GET and POST methods) ,all of them end with the same result.To >simplify : >executing (GET method) a script called simple.tcl with the one and only >statement > >ns_respond $conn -status 200 -type application/octet-stream -file mini.zip > >the client gets the file mini.zip BUT with the name simple.tcl ! > >There is a choice of obvious things to explain /excuse my problem >1)i am overlooking something simple and/or fundamental ! >2) your documentation is terse... to say the least ! >3) the solution of the problem is neither to name the script after the name >of the file which the user wants to download..nor to have the user rename >the file when asked where to copy it! > >so... what do I have to do,to have the file dispatched with the right name ? > >Thanks in advance, >francois veillon >ciba-geigy >veillon@chbs.ciba.com > >PS / I am an altogether happy user of the NT implementation of naviserver >2 ,and would like to know if there are any good reasons to " upgrade" to >the version posted on the GNN server ? > > ========================================================================= Date: Mon, 1 Apr 1996 10:47:00 -0800 Reply-To: Web Development with GNNserver Sender: Web Development with GNNserver From: Doug McKee Subject: Re: How many restarts? In-Reply-To: (petej@clickvision.com) >>>>> "Peter" == Peter M Jansson writes: Peter> If I want to add both the nsdb and nscgi modules to a Peter> virtual server, do I need to restart the server in between Peter> adding the modules on an NT server? No, you can make all the changes you want with the Setup Server, and THEN restart the server. doug -- ---------------------------------------------------------------- Doug McKee America Online, Inc. Email: doug@tools.gnn.com 511 Bath Street Voice: (800) 529-9166 Santa Barbara, CA (805) 882-2350 93101 Fax: (805) 899-4316 http://www.tools.gnn.com ---------------------------------------------------------------- ========================================================================= Date: Mon, 1 Apr 1996 10:50:38 -0800 Reply-To: Web Development with GNNserver Sender: Web Development with GNNserver From: Doug McKee Subject: Re: Virtual Server Password In-Reply-To: <9603018283.AA828380375@pcmailgw.ml.com> (Mark_Wang_at_NJTRITEC@pcmailgw.ml.com) >>>>> "Mark" == Mark Wang at NJTRITEC writes: Mark> I have encountered a problem to setup more than one Mark> virtual servers. When I setup the second virtual server, I Mark> did not have opportunity to choose password for the Mark> administrator. Mark> I did try to use the password for the setup server as Mark> well as the first virtual server, but neither of them Mark> worked. The default password for a new virtual server is "ruffruff". You can change that password by visiting "/NS/Perm/Admin" on your virtual server. doug -- ---------------------------------------------------------------- Doug McKee America Online, Inc. Email: doug@tools.gnn.com 511 Bath Street Voice: (800) 529-9166 Santa Barbara, CA (805) 882-2350 93101 Fax: (805) 899-4316 http://www.tools.gnn.com ---------------------------------------------------------------- ========================================================================= Date: Mon, 1 Apr 1996 17:48:10 +0100 Reply-To: Web Development with GNNserver Sender: Web Development with GNNserver From: Gaute Amundsen Subject: TCL / oid Does any one know of a way to get hold of the oid of the row you just inserted in a table? I don't. If I cant find a way, I wil have to resort to some contorted trick, like inserting a line with fake data that is easy to find, and then updating the real data into place. Anny ideas? -- ----------------------------------------------------------------- Gaute Amundsen "Technology today is the campfire gaute@nipnett.no around which we tell our stories. There's this attraction to light and to this kind of power, which is both warm and destructive." Laurie Anderson http://www.gil.no/users/g/gaute -------------------------------------------------------------------- ========================================================================= Date: Mon, 1 Apr 1996 09:53:00 PST Reply-To: Web Development with GNNserver Sender: Web Development with GNNserver From: "Jean T. Anderson" Subject: Re: illustra with other web servers? Illustra markets a Web DataBlade module that lets you embed sql in html pages using sgml extensions. You run it as a CGI app, so it is not web server specific. I use it with GNNserver, but most of the folks I have talked to are using it with the netscape and cern servers. you can find out more about it at www.illustra.com. -jean At 10:06 PM 3/31/96 -0500, David Sklar wrote: >Is it possible to use illustra with other web servers? Actually, let me >rephrase that: Is there existing software to use illustra with web >servers other than GNNserver? If not, and such a feat is possible, what >kind of software needs to get written for that to happen? > >Thanks... > >-dave **^**^**^**^**^**^**^** Jean T. Anderson Email: jta@cts.com Tel: 619/453-7315 **^**^**^**^**^**^**^** ========================================================================= Date: Mon, 1 Apr 1996 17:38:36 +0100 Reply-To: Web Development with GNNserver Sender: Web Development with GNNserver From: Gaute Amundsen Subject: Illustra - IQT > The Illustra license key we now distribute is >a host-independant 10-year key that will let the GNNserver and nsql >talk to the database, but not msql or IQT (the Windows NT Illustra >Query Tool). I have come to like working with IQT quite well. Is it posible to get a IQT license without buying the whole Illustra package? Or at least to use the old instalation of Illustra, wit IQT, until it expires this summer? -- ----------------------------------------------------------------- Gaute Amundsen "Technology today is the campfire gaute@nipnett.no around which we tell our stories. There's this attraction to light and to this kind of power, which is both warm and destructive." Laurie Anderson http://www.gil.no/users/g/gaute -------------------------------------------------------------------- ========================================================================= Date: Mon, 1 Apr 1996 13:31:32 -0500 Reply-To: Web Development with GNNserver Sender: Web Development with GNNserver From: "Larry W. Virden, x2487" Subject: Re: Commercial Level Developers? In-Reply-To: <960329202546_365494705@emout10.mail.aol.com> of Fri, 29 Mar 1996 20:25:46 -0500 One resource you can feel free to use is , which is a launching point to quite a few other Tcl WWW resources. In particular, there is a (admittedly a bit out of date) bibliographical document, a much more up to date general Tcl introduction, a document on frequent problems using Tcl, etc. I know of at least one book being written right now, hopefully to be released this summer, dealing with the use of Tcl in writing CGI type programs. I don't know of any books being written with NaviServer/GNNserver specifically in mind. -- Larry W. Virden INET: lvirden@cas.org is here! <*> O- Unless explicitly stated to the contrary, nothing in this posting should be construed as representing my employer's opinions. ========================================================================= Date: Mon, 1 Apr 1996 14:39:15 -0500 Reply-To: Web Development with GNNserver Sender: Web Development with GNNserver From: John Mitchell Subject: Re: illustra with other web servers? In-Reply-To: On Sun, 31 Mar 1996, David Sklar wrote: > Is it possible to use illustra with other web servers? Actually, let me > rephrase that: Is there existing software to use illustra with web > servers other than GNNserver? If not, and such a feat is possible, what > kind of software needs to get written for that to happen? Illustra's Web2 datablade works w/ CGI, which means its server-neutral. They do funky db-connection caching to improve performance, and provide a nice web-based development environment (Application Builder). Alas, its great for selecting stuff out of a database but it interfaces really badly w/ external programs, and provides no "fluff" to make things easier to write. I'd recommend it for "fetch all used cars < $10K with chrome windshields" type applications, but not for much else, unless you add C libraries to Illustra. - j ========================================================================= Date: Mon, 1 Apr 1996 13:16:00 -0800 Reply-To: Web Development with GNNserver Sender: Web Development with GNNserver From: Doug Lakin Subject: Re: illustra with other web servers? Comments: cc: David Sklar At 10:06 PM 3/31/96, David Sklar wrote: >Is it possible to use illustra with other web servers? Actually, let me >rephrase that: Is there existing software to use illustra with web >servers other than GNNserver? If not, and such a feat is possible, what >kind of software needs to get written for that to happen? > >Thanks... > >-dave Dave, The Illustra license is tied to the NaviServer. The license prohibits you from accessing Illustra with anything other than the NaviServer or nsql/IQT. You would have to purchase a Web datablade from Illustra/Informix to use it with another Web server. Informix will soon have a Universal Server that will include a Web front end to the re-incarnation of Illustra. Doug Lakin TeleCommerce, Inc. is.....Internets, Intranets, Virtual Private Nets, Web Services, Electronic Commerce, Enterprise E-mail, Surf 'N' Pub, Design2Web, Fax2Web, Voice2Web, Video2Web, Print2Web, http://www.TeleCommerce.com, ..... ========================================================================= Date: Mon, 1 Apr 1996 14:20:33 -0800 Reply-To: Web Development with GNNserver Sender: Web Development with GNNserver From: Doug McKee Subject: Re: TCL / oid In-Reply-To: (message from Gaute Amundsen on Mon, 1 Apr 1996 17:48:10 +0100) > Does any one know of a way to get hold of the oid of the row you just > inserted in a table? "ns_ill resultid" should do exactly what you want; here's the page from the documentation: ---------------------------------------------------------------- ns_ill Overview Return Illustra connection information Syntax ns_ill resultid DBHANDLE ns_ill resultrows DBHANDLE Description ns_ill resultid returns the oid of the last object affected by an Illustra DML command. This oid can be used to determine the oid for a newly-inserted row. ns_ill resultrows returns the number of rows affected by the last DML command. It can be used to determine how many rows were deleted or updated. ---------------------------------------------------------------- doug -- ---------------------------------------------------------------- Doug McKee America Online, Inc. Email: doug@tools.gnn.com 511 Bath Street Voice: (800) 529-9166 Santa Barbara, CA (805) 882-2350 93101 Fax: (805) 899-4316 http://www.tools.gnn.com ---------------------------------------------------------------- ========================================================================= Date: Mon, 1 Apr 1996 14:23:42 -0800 Reply-To: Web Development with GNNserver Sender: Web Development with GNNserver From: Doug McKee Subject: Re: Illustra - IQT In-Reply-To: (message from Gaute Amundsen on Mon, 1 Apr 1996 17:38:36 +0100) > I have come to like working with IQT quite well. Is it posible to > get a IQT license without buying the whole Illustra package? Not that I know of, although you might try contacting Jim Mongillo at Illustra (monge@illustra.com). > Or at least to use the old instalation of Illustra, wit IQT, until > it expires this summer? Sure, it's the key (4384 1900 4754 0703 9791) that expires July 2, 1996, and that key can be used with any installation of Illustra. doug -- ---------------------------------------------------------------- Doug McKee America Online, Inc. Email: doug@tools.gnn.com 511 Bath Street Voice: (800) 529-9166 Santa Barbara, CA (805) 882-2350 93101 Fax: (805) 899-4316 http://www.tools.gnn.com ---------------------------------------------------------------- ========================================================================= Date: Mon, 1 Apr 1996 13:16:44 PST Reply-To: Web Development with GNNserver Sender: Web Development with GNNserver From: Patrick Kelly Subject: sql command as argument to tcl script Comments: To: naviserver-users@NAVISOFT.COM hi: i am developing a java program which will take input from a user, generate an sql query, submit this query to a database and display the results. i am currently trying to use the GNNserver to do the database interaction. my problem is that i would like to pass the sql command itself as an argument to the tcl script which actually submits the command to the database via the virtual server. i have started modifying the getemps.tcl example code which works fine when i hard code the query. however, i don't want to hard code the query. i have not been able to find much documentation which describes argument passing in detail. is there a way to do this? that is, to pass an sql statement (or more generally, any text string) to a tcl script which, in turn, submits the query to the db. also, i noted in the documentation that the ns_db select syntax, which i was hoping to use, will NOT support nested select statements. this is likely to be a limitation for the stuff i'm developing. does anyone know of another way to handle nested selects? are future releases of the GNNserver tcl system likely to support nest queries. thanks, pat ========================================================================= Date: Mon, 1 Apr 1996 15:37:54 -0500 Reply-To: Web Development with GNNserver Sender: Web Development with GNNserver From: "Peter M. Jansson" Subject: nsql across the net We're using a NaviServer (haven't upgraded yet) on an NT box, and I want to find out what I need to do in order to be able to use nsql to remotely administer the box (can't telnet in to NT easily). I have an Alpha running OSF at my disposal. When I unpacked the GNNServer distribution, I found the copy of nsql, but when I run it, I get the following: UNKNOWN: Can't find password file entry UNKNOWN: Can't find MiParams file NSQL: GNNserver SQL interface to Illustra. Type "\I" for info on Illustra MI_LIB_USAGE: Server name should not be NULL can't connect to server Not currently connected to a database Since this Alpha will not be running Illustra, and for other reasons, I cannot (read that really, really, really, really don't want to) create an miadmin user, so I'm trying to use it as myself. For what password file entry is nsql looking? Where do I need to put the MiParams file? Do I need the Illustra distribution to administer the DB on my NT box, or can I use just what's in the GNNServer distribution? Thanks, Pete. ========================================================================= Date: Mon, 1 Apr 1996 14:33:07 -0800 Reply-To: Web Development with GNNserver Sender: Web Development with GNNserver From: wells@alexandria.sdc.ucsb.edu Subject: Re: TCL / oid In-Reply-To: Your message of "Mon, 01 Apr 96 17:48:10 +0100." > Does any one know of a way to get hold of the oid of the row you just > inserted in a table? Yes, since "oid" is not a standard SQL feature, it is not included in the ns_db commands. But with each database driver, additional commands are added to use the special features of that database. For Illustra, the "ns_ill" command handles these. To get back the "oid" just use this tcl line: [ns_ill resultid $handle] This should be burried in the documentation somewhere Cheers, Alex Wells Alexandria Digital Librarary ========================================================================= Date: Mon, 1 Apr 1996 22:01:40 -0500 Reply-To: Web Development with GNNserver Sender: Web Development with GNNserver From: "Robert G. Graw, III" Subject: Browser Cache Problems Does Naviserver/GNNServer prevent browsers from caching documents? (Does = it send pragma: no-cache or something to that effect? I've tried using Netscape and one version of Mosaic. If I go to a page = (www.tools.gnn.com for instance), let the page load completely, quit = Netscape (or Mosaic), restart Netscape, and go back to the page, it has = to load the entire page. It only seems to happen on Naviserver/GNNServers. For example, I can go = to www.compaq.com, www.novell.com, etc., and my browser caches. There is a parameter "CheckModified" that if set to off will ignore = "If-Modified-Since" headers. I read that to mean that if it is "off" = then it will send pages no matter when the page was last modified, and = if it is "on" then it should send the proper code to say the page has = not been modified. (If you look at the HTTP/1.0 documentation at = www.w3.org, it has the code the server is supposed to send, etc.) Any ideas. I've checked the nsd.ini file, and the parameter is set (and = I've obviously restarted the server.) I've also tried setting = CheckModifed to unspecified (which gets rid of it from the parameter = file completely and it did not change anything.) Thanks, Bob Graw, III PROgressive SYStems ========================================================================= Date: Mon, 1 Apr 1996 16:16:16 -0800 Reply-To: Web Development with GNNserver Sender: Web Development with GNNserver From: Alex Khassin Subject: Re: illustra with other web servers? In-Reply-To: --=_02tW19g.bO1996u.N00d000A.r04Y.16:001802 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit >Is it possible to use illustra with other web servers? Actually, let me >rephrase that: Is there existing software to use illustra with web >servers other than GNNserver? If not, and such a feat is possible, what >kind of software needs to get written for that to happen? Illustra has an ODBC driver, so if you run it on NT any Web Server / Database Access software on the market should be able to do it. Probably even Microsoft's IIS. --=_02tW19g.bO1996u.N00d000A.r04Y.16:001802 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 The Source for Advanced Computing Solutions http://am.net --=_02tW19g.bO1996u.N00d000A.r04Y.16:001802-- ========================================================================= Date: Tue, 2 Apr 1996 10:26:40 -0500 Reply-To: Web Development with GNNserver Sender: Web Development with GNNserver From: Aleotta@aol.com Subject: Re: illustra with other web servers? Illustra runs just fine with Netscape Httpd server. I like C++, so am writting every thing for Illustra in C++. The on-the-fly creation of complex Web pages is tricky but I like good compiled object oriented laguage.... Now a JAVA Illustra link would be great! -Tony Leotta ========================================================================= Date: Tue, 2 Apr 1996 12:41:56 -0800 Reply-To: Web Development with GNNserver Sender: Web Development with GNNserver From: Richard Galpin Subject: Contract position available. Hello all, WebDepot develops web sites for client companies. We use GNNServer on Sun Sparc. We are experiencing some significant growth and we are currently looking for a person with expertise in the GNNServer to manage and maintain it. This will include setting up some of the available CGI/TCL scripts as well as writing new scripts to specific client needs. A good knowledge of Illustra is also required, experience of the SSL may be important in the future. It will also involve configuring and managing the Solaris environment. Including setting up secure FTP areas and mail services. The position does not require a background in HTML but we will be looking for new web site developers soon. So if this is your area of interest the position could be expanded to cover this in the future. I guess your location is not that important but we are based in the San Francisco Bay Area. Initially this will be on a contract basis but could lead to a full time position in the future. Please e-mail me with some background about your experience if you are interested in working with our company. Richard Galpin President, CEO WebDepot ========================================================================= Date: Tue, 2 Apr 1996 15:27:23 -0800 Reply-To: Web Development with GNNserver Sender: Web Development with GNNserver From: Doug McKee Subject: Re: sql command as argument to tcl script In-Reply-To: <9604012116.AA22314@vision> (message from Patrick Kelly on Mon, 1 Apr 1996 13:16:44 PST) >>>>> "Pat" == Patrick Kelly writes: Pat> hi: i am developing a java program which will take input from Pat> a user, generate an sql query, submit this query to a Pat> database and display the results. i am currently trying to Pat> use the GNNserver to do the database interaction. Pat> my problem is that i would like to pass the sql command Pat> itself as an argument to the tcl script which actually Pat> submits the command to the database via the virtual server. i Pat> have started modifying the getemps.tcl example code which Pat> works fine when i hard code the query. however, i don't want Pat> to hard code the query. i have not been able to find much Pat> documentation which describes argument passing in detail. is Pat> there a way to do this? that is, to pass an sql statement (or Pat> more generally, any text string) to a tcl script which, in Pat> turn, submits the query to the db. It sounds like you want to send your SQL query in as form data. Check out the General SQL Evaluator in the Developer's corner; it should do almost exactly what you want. Pat> also, i noted in the documentation that the ns_db select Pat> syntax, which i was hoping to use, will NOT support nested Pat> select statements. this is likely to be a limitation for the Pat> stuff i'm developing. does anyone know of another way to Pat> handle nested selects? are future releases of the GNNserver Pat> tcl system likely to support nest queries. Let me clarify: GNNserver DOES support nested selects in one SQL statement like: select city from offices where target > (select sum(quota) from salesreps where rep_office = office) What it doesn't support is processing two selects with the same database handle at the same time: # bad set db [ns_db gethandle foopool] ns_db select $db "select * from foo" ns_db select $db "select * from bar" If you want to do this, you need to do the following: #good set dbs [ns_db gethandle foopool 2] set db1 [lindex $dbs 0] set db2 [lindex $dbs 1] ns_db select $db1 "select * from foo" ns_db select $db2 "select * from bar" doug -- ---------------------------------------------------------------- Doug McKee America Online, Inc. Email: doug@tools.gnn.com 511 Bath Street Voice: (800) 529-9166 Santa Barbara, CA (805) 882-2350 93101 Fax: (805) 899-4316 http://www.tools.gnn.com ---------------------------------------------------------------- ========================================================================= Date: Tue, 2 Apr 1996 15:31:51 -0800 Reply-To: Web Development with GNNserver Sender: Web Development with GNNserver From: Doug McKee Subject: Re: nsql across the net In-Reply-To: (petej@clickvision.com) >>>>> "Pete" == Peter M Jansson writes: Pete> We're using a NaviServer (haven't upgraded yet) on an NT Pete> box, and I want to find out what I need to do in order to be Pete> able to use nsql to remotely administer the box (can't Pete> telnet in to NT easily). I have an Alpha running OSF at my Pete> disposal. When I unpacked the GNNServer distribution, I Pete> found the copy of nsql, but when I run it, I get the Pete> following: Pete> UNKNOWN: Can't find password file entry UNKNOWN: Can't find Pete> MiParams file NSQL: GNNserver SQL interface to Pete> Illustra. Type "\I" for info on Illustra MI_LIB_USAGE: Pete> Server name should not be NULL can't connect to server Not Pete> currently connected to a database Pete> Since this Alpha will not be running Illustra, and for other Pete> reasons, I cannot (read that really, really, really, really Pete> don't want to) create an miadmin user, so I'm trying to use Pete> it as myself. Pete> For what password file entry is nsql looking? Where do I Pete> need to put the MiParams file? Do I need the Illustra Pete> distribution to administer the DB on my NT box, or can I use Pete> just what's in the GNNServer distribution? You can certainly administer your NT Illustra system from the Alpha machine using nsql. You need to create an MiParams file; you can put it anywhere. It should look something like: ntmachine MI_HOST: <> Then configure your Illustra driver using the Setup Server and specify the full pathname of your newly created MiParams file. Now you can define a database pool that has a datasource of ntmachine:<> doug -- ---------------------------------------------------------------- Doug McKee America Online, Inc. Email: doug@tools.gnn.com 511 Bath Street Voice: (800) 529-9166 Santa Barbara, CA (805) 882-2350 93101 Fax: (805) 899-4316 http://www.tools.gnn.com ---------------------------------------------------------------- ========================================================================= Date: Wed, 3 Apr 1996 07:45:06 -0500 Reply-To: Web Development with GNNserver Sender: Web Development with GNNserver From: "Peter M. Jansson" Subject: Re: nsql across the net >Then configure your Illustra driver using the Setup Server and specify >the full pathname of your newly created MiParams file. Now you can >define a database pool that has a datasource of > > ntmachine:<> The problem is that I don't have GNNServer running on the Alpha, and I can't put it there. I guess my question is "What is a minimal set of things I need to do to be able to successfully run nsql from an Alpha to administer (create/drop users/databases) the databases on an NT". The reason I need to do this is that the GNNServer I'm working on is an NT box, and I have a Mac. I can telnet to this Alpha, but not to the NT, and there's no nsql for Macs. Thanks again, Pete. ========================================================================= Date: Wed, 3 Apr 1996 07:30:37 -0500 Reply-To: Web Development with GNNserver Sender: Web Development with GNNserver From: "Peter M. Jansson" Subject: Text searches across virtual servers Suppose I have a GNNServer running on NT, and I have three virtual servers, VS1, VS2, and VS3. I've created a single text searching database called "mytext", and a single pool called "textpool" that goes after that database. Now I add to all three virtual servers both the nsdb module with access to textpool (and another database), and nstext, specifying textpool as the DBPool. When I search, using URL on VS1, will it return matching pages on VS2 and VS3 as well as those on VS1? Thanks, Pete ========================================================================= Date: Wed, 3 Apr 1996 11:30:02 -0500 Reply-To: pkwu@lehman.com Sender: Web Development with GNNserver From: Peter Wu Subject: GNNpress core dumping... Hi, In the "Add New GNNserver User" page I accidentally pressed the middle mouse button for paste while using the SunOS version of GNNPress 1.1 and GNNPress core dumps. --- Peter Wu - pkwu@lehman.com ========================================================================= Date: Wed, 3 Apr 1996 11:42:52 -0500 Reply-To: Web Development with GNNserver Sender: Web Development with GNNserver From: "Peter M. Jansson" Subject: File upload in tcl? Has anyone done tcl to handle file uploads in forms (as supported by that other browser)? I've got a Perl module to handle it, but I want to be able to handle a lot of this in tcl, especially to make use of GNNServer's DB facilities. Thanks, Pete. ========================================================================= Date: Wed, 3 Apr 1996 11:15:51 -0800 Reply-To: Web Development with GNNserver Sender: Web Development with GNNserver From: Doug McKee Subject: Re: nsql across the net In-Reply-To: (petej@clickvision.com) >>>>> "Peter" == Peter M Jansson writes: >> Then configure your Illustra driver using the Setup Server and >> specify the full pathname of your newly created MiParams file. >> Now you can define a database pool that has a datasource of >> >> ntmachine:<> Peter> The problem is that I don't have GNNServer running on the Peter> Alpha, and I can't put it there. I guess my question is Peter> "What is a minimal set of things I need to do to be able to Peter> successfully run nsql from an Alpha to administer Peter> (create/drop users/databases) the databases on an NT". The Peter> reason I need to do this is that the GNNServer I'm working Peter> on is an NT box, and I have a Mac. I can telnet to this Peter> Alpha, but not to the NT, and there's no nsql for Macs. Ah, got it; I should read mail more carefully in the future! In this case, it should be even easier. Build up the MiParams file like I described before, and then set the MI_SYSPARAMS environment to the full pathname. Then just invoke nsql with: nsql -s -U -P doug -- ---------------------------------------------------------------- Doug McKee America Online, Inc. Email: doug@tools.gnn.com 511 Bath Street Voice: (800) 529-9166 Santa Barbara, CA (805) 882-2350 93101 Fax: (805) 899-4316 http://www.tools.gnn.com ---------------------------------------------------------------- ========================================================================= Date: Wed, 3 Apr 1996 18:44:10 UT Reply-To: Web Development with GNNserver Sender: Web Development with GNNserver From: Doug Patton <365_TAO_DigitalBeing@msn.com> Subject: Re: File upload in tcl? We are doing the same thing but we took RAPerl upload and change it into a C program now call it from tcl so we can use actually any database not just Gnn. ---------- From: Web Development with GNNserver on behalf of Peter M. Jansson Sent: Wednesday, April 03, 1996 11:42 AM To: Multiple recipients of list GNNDEVELOPER-L Subject: File upload in tcl? Has anyone done tcl to handle file uploads in forms (as supported by that other browser)? I've got a Perl module to handle it, but I want to be able to handle a lot of this in tcl, especially to make use of GNNServer's DB facilities. Thanks, Pete. ========================================================================= Date: Wed, 3 Apr 1996 11:33:00 PST Reply-To: Web Development with GNNserver Sender: Web Development with GNNserver From: "Jean T. Anderson" Subject: Re: nsql across the net Comments: cc: "Peter M. Jansson" At 03:37 PM 4/1/96 -0500, Peter M. Jansson wrote: > When I unpacked the GNNServer distribution, I found >the copy of nsql, but when I run it, I get the following: > >UNKNOWN: Can't find password file entry I have run into a similar problem with msql in the full product when the client machine did not have an miadmin user. The short story: libmi, which nsql and msql use, can't find its error message file on initialization. This fixed it: setenv MI_ERROR_MSG_FILE / if this fixes it for you, I'll be happy to dig out the complete description. -jean p.s. my apologies if this was already answered. my email runneth over. **^**^**^**^**^**^**^** Jean T. Anderson Email: jta@cts.com Tel: 619/453-7315 **^**^**^**^**^**^**^** ========================================================================= Date: Wed, 3 Apr 1996 12:49:35 -0800 Reply-To: Web Development with GNNserver Sender: Web Development with GNNserver From: Doug McKee Subject: Re: Text searches across virtual servers In-Reply-To: (petej@clickvision.com) >>>>> "Pete" == Peter M Jansson writes: Pete> Suppose I have a GNNServer running on NT, and I have three Pete> virtual servers, VS1, VS2, and VS3. I've created a single Pete> text searching database called "mytext", and a single pool Pete> called "textpool" that goes after that database. Now I add Pete> to all three virtual servers both the nsdb module with Pete> access to textpool (and another database), and nstext, Pete> specifying textpool as the DBPool. When I search, using URL Pete> on VS1, will it return matching pages on VS2 and VS3 as well Pete> as those on VS1? No, each virtual server has its pages indexed in a separate table in the same database. doug -- ---------------------------------------------------------------- Doug McKee America Online, Inc. Email: doug@tools.gnn.com 511 Bath Street Voice: (800) 529-9166 Santa Barbara, CA (805) 882-2350 93101 Fax: (805) 899-4316 http://www.tools.gnn.com ---------------------------------------------------------------- ========================================================================= Date: Wed, 3 Apr 1996 13:03:19 -0800 Reply-To: Web Development with GNNserver Sender: Web Development with GNNserver From: Jim Davidson Subject: Re: File upload in tcl? At 06:44 PM 4/3/96 UT, Doug Patton wrote: >We are doing the same thing but we took RAPerl upload and change it into a C >program now call it from tcl so we can use actually any database not just Gnn. That sounds very useful - can you send us the code? We may be able to get it into the 2.1 release. Cheers, -Jim _________________________________________________ Jim Davidson | jimbo@navisoft.com Navisoft Inc. | Voice: (800) 529-9166 511 Bath Street | Fax: (805) 899-4316 Santa Barbara, CA 93101 | ========================================================================= Date: Wed, 3 Apr 1996 16:14:42 -0500 Reply-To: Web Development with GNNserver Sender: Web Development with GNNserver From: DanMingus@aol.com Subject: Re: Contract position available. Greetings, We do web pages with an emphasis on video/animations/VRML, primarily. We're working hard to incorporate emerging technologies into our customers' web sites, in anticipation of the 2+Gig/sec. modems now in beta. (I know, I didn't believe it, either.) Existing phone lines work fine! Once on the market, we're planning to produce commercial-quality D2+ a/v content on the Web! If (ever) we can help out in this area, please advise. Dan Mingus, Senior Consultant and company co-founder Rainbow Productions Evergreen, Colorado (303) 281-9088 ========================================================================= Date: Wed, 3 Apr 1996 16:34:37 -0600 Reply-To: Web Development with GNNserver Sender: Web Development with GNNserver From: Krish Menon 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. ======================== ========================================================================= Date: Wed, 3 Apr 1996 19:13:11 -0500 Reply-To: jwgree@most.fw.hac.com Sender: Web Development with GNNserver From: Jim Green Organization: Magnavox Electronic Systems Subject: Wish list for GNN Press Is there a 'wish-list' for GNNPress? If there is, I'd like to add my 2=A2. I'm using both the Mac and the Sun/Unix versions of GNN Press. I'd like to see: -The capability to select a range of text in GNNPress and convert the = selection to a table. -Add List styles: Numbered --w/small letters --w/large letters --w/small roman numerals --w/large roman numerals Unnumbered --w/small discs --w/circles --w/squares -The capability to edit/create tags. -Since most modern computers support spaces in the file names, I'd like = to see the Link tag tool automatically enter "%20" in place of the = spaces in filepaths when an anchor tag is assigned to text or graphic. I'd also like to see a PowerMac native version of GNNPress. It appears = that GNNPress was developed on Windows then ported to Mac. = -- = =82=82=82=82=82=82=82=82=82=82=82=82=82=82=82=82=82=82=82=82=82=82=82=82=82= =82=82=82=82=82=82=82 Jim Green Magnavox Electronic Systems Division Hughes Aircraft Company 1010 Production Rd., MS 10-39 Fort Wayne, IN 46808 (219) 429-7498 =82=82=82=82=82=82=82=82=82=82=82=82=82=82=82=82=82=82=82=82=82=82=82=82=82= =82=82=82=82=82=82=82 ========================================================================= Date: Thu, 4 Apr 1996 15:02:18 UT Reply-To: Web Development with GNNserver Sender: Web Development with GNNserver From: Doug Patton <365_TAO_DigitalBeing@msn.com> Subject: Re: File upload in tcl? I will send it as soon as we get the bugs out. We have a few , in the way HTTP is handles files (Binary's) amount of data that can stream at once. But we should have this finish in about 2 weeks. Basically we want the upload code to a standalone piece that can easily be called from/to any CGI program tcl, perl, WebDriver for illustra, and have the back hooks into other databases (Sybase, Oracle.) Right now it as the c program stands it works 80% of time. Sometimes the inserts in the database table fails, (timing) or the file has not completed transfer properly. (HTTP). Or if the file is just suppose to upload to a directory space, sometimes the file extensions don't come across properly. Going to have the c program have a cfg file for mime types so new ones can be added. That is all Digital Being "57 channels , nuthin on" ---------- From: Web Development with GNNserver on behalf of Jim Davidson Sent: Wednesday, April 03, 1996 4:03 PM To: Multiple recipients of list GNNDEVELOPER-L Subject: Re: File upload in tcl? At 06:44 PM 4/3/96 UT, Doug Patton wrote: >We are doing the same thing but we took RAPerl upload and change it into a C >program now call it from tcl so we can use actually any database not just Gnn. That sounds very useful - can you send us the code? We may be able to get it into the 2.1 release. Cheers, -Jim _________________________________________________ Jim Davidson | jimbo@navisoft.com Navisoft Inc. | Voice: (800) 529-9166 511 Bath Street | Fax: (805) 899-4316 Santa Barbara, CA 93101 | ========================================================================= Date: Thu, 4 Apr 1996 09:34:39 +0100 Reply-To: Web Development with GNNserver Sender: Web Development with GNNserver From: Gaute Amundsen Subject: Re: Full text crashes.. >> I discovered that a search for our company name, GIL, or Grafisk >> InterLink will crash the server. Not just the virtual server >> either, but the whole lot, drwatson32 reporting "access voilation". > >This sounds bad; I've never seen it before. Put your database pool in >verbose mode so that the SQL for the search is written to the log. >Then try executing this SQL through nsql, msql, or IQT -- does it >crash Illustra or give any weird errors? > >doug In verbose mode it logs this: select ns_url, ns_title, WeightContains('ns_pages_gilno_by_ns_body',ns_pages_gilno.ctid,OrTerms('gil' )) as ns_body_weight from ns_pages_gilno where ns_body_weight > 0 order by ns_body_weight desc; When I try to run this in IQT it gives me: XVL011:Lisence server could not find lisence for: document Any ideas? gaute -- ----------------------------------------------------------------- Gaute Amundsen "Technology today is the campfire gaute@nipnett.no around which we tell our stories. There's this attraction to light and to this kind of power, which is both warm and destructive." Laurie Anderson http://www.gil.no/users/g/gaute -------------------------------------------------------------------- ========================================================================= Date: Thu, 4 Apr 1996 14:54:45 -0500 Reply-To: Web Development with GNNserver Sender: Web Development with GNNserver From: Kristofer Munn Subject: Recommendations I have recently installed GNNServer 2.03 and after some initial glitches got it up and running. I had originally wanted to run it on NT but the limitation by NT to 5 IPs and some other issues made me decide otherwise. Now it is time for us to select a database to use with our Web server. The platforms we're limited to are Linux and NT 3.51 at this time (not too much of a limitation). We need multiuser, transaction based processing and preferably the ability to query with SQL. Commercials solutions are find, actually preferred by management rather than unsupported software. As I begin looking around for a decent database for our needs, I thought I would reach out here for recommendations. Thanks in advance for any suggestions... Kristofer Munn NetLive Communications kmunn@NetLiveCom.com Manhattan, NY, USA ========================================================================= Date: Thu, 4 Apr 1996 15:02:41 -0500 Reply-To: Web Development with GNNserver Sender: Web Development with GNNserver From: Sam Hostetter Subject: Starting the bootstrap server In-Reply-To: I have been trying to start up the bootstrap server since last night. Everytime I access it's URL, it asks for the username and password. No matter what password I try to give, the server will not allow me access. Is there something I'm missing? Sam ------------------------------------------------------------------------------- Sam Hostetter |shostett@indiana.edu Computer Support Staff |(812) 855-1008 Geology Department |"Computers iz mah bizniss, an bizniss iz good!" ------------------------------------------------------------------------------- ========================================================================= Date: Thu, 4 Apr 1996 12:54:16 -0800 Reply-To: Web Development with GNNserver Sender: Web Development with GNNserver From: wells@alexandria.sdc.ucsb.edu Subject: Re: Recommendations In-Reply-To: Your message of "Thu, 04 Apr 96 14:54:45 EST." > I have recently installed GNNServer 2.03 and after some initial glitches > got it up and running. I had originally wanted to run it on NT but the > limitation by NT to 5 IPs and some other issues made me decide otherwise. > > Now it is time for us to select a database to use with our Web server. > The platforms we're limited to are Linux and NT 3.51 at this time (not too > much of a limitation). We need multiuser, transaction based processing > and preferably the ability to query with SQL. Commercials solutions are > find, actually preferred by management rather than unsupported software. > > As I begin looking around for a decent database for our needs, I thought > I would reach out here for recommendations. > > Thanks in advance for any suggestions... What is your systems requirements? IE: hits per hour/sec. How stable does the system need to be? What is its main purpose? Answering these questions will help guide you in which database to use. In fact the Illustra database with built in connectivity in GNNServer may work just fine. By the way, from what I have heard, MS Access is not a good choice for web servers. Cheers, Alex Wells Alexandria Digital Library > > Kristofer Munn NetLive Communications > kmunn@NetLiveCom.com Manhattan, NY, USA ========================================================================= Date: Thu, 4 Apr 1996 16:17:48 +0500 Reply-To: Web Development with GNNserver Sender: Web Development with GNNserver From: jimerich Organization: CIAP Subject: Re: Recommendations Kristofer Munn wrote: > > I have recently installed GNNServer 2.03 and after some initial glitches > got it up and running. I had originally wanted to run it on NT but the > limitation by NT to 5 IPs and some other issues made me decide otherwise. > > Now it is time for us to select a database to use with our Web server. > The platforms we're limited to are Linux and NT 3.51 at this time (not too > much of a limitation). We need multiuser, transaction based processing > and preferably the ability to query with SQL. Commercials solutions are > find, actually preferred by management rather than unsupported software. > > As I begin looking around for a decent database for our needs, I thought > I would reach out here for recommendations. > > Thanks in advance for any suggestions... > > Kristofer Munn NetLive Communications > kmunn@NetLiveCom.com Manhattan, NY, USA A suggestion based ONLY on my investigation to date (I do NOT have extensive database skills)....is S-designor http://www.powersoft.com/cgi-bin/s-designor for maniputlating the database and Sybase for the database and linkage to HTML see http://www.newmedia.sybase.com/Offerings/Websql/regi.html http://www.watcom.on.ca/cgi-bin/sqleval My early opinion is this will make a very powerful environment. You will find evaluation copies at the above sites. Websql so far only available on limited platforms (see the web site for details). jimg ========================================================================= Date: Thu, 4 Apr 1996 16:39:20 -0600 Reply-To: Web Development with GNNserver Sender: Web Development with GNNserver From: Kennen Blanning Subject: Re: Starting the bootstrap server In-Reply-To: from "Sam Hostetter" at Apr 4, 96 03:02:41 pm hello, i had the same problem. found this in the installatin notes for the previous version. username: nsadmin no password. now if i can just get all the virtual servers to recognize nsadmin too. > > I have been trying to start up the bootstrap server since last > night. Everytime I access it's URL, it asks for the username and > password. No matter what password I try to give, the server will not > allow me access. Is there something I'm missing? > > Sam -- kennen@drawings.com ========================================================================= Date: Thu, 4 Apr 1996 15:06:17 -0800 Reply-To: Web Development with GNNserver Sender: Web Development with GNNserver From: Doug McKee Subject: Re: Starting the bootstrap server In-Reply-To: (message from Sam Hostetter on Thu, 4 Apr 1996 15:02:41 -0500) >>>>> "Sam" == Sam Hostetter writes: Sam> I have been trying to start up the bootstrap server Sam> since last night. Everytime I access it's URL, it asks for Sam> the username and password. No matter what password I try to Sam> give, the server will not allow me access. Is there Sam> something I'm missing? You should be able to use the name "nsadmin" and any password the first time you connect to it. doug -- ---------------------------------------------------------------- Doug McKee America Online, Inc. Email: doug@tools.gnn.com 511 Bath Street Voice: (800) 529-9166 Santa Barbara, CA (805) 882-2350 93101 Fax: (805) 899-4316 http://www.tools.gnn.com ---------------------------------------------------------------- ========================================================================= Date: Thu, 4 Apr 1996 15:07:52 -0800 Reply-To: Web Development with GNNserver Sender: Web Development with GNNserver From: Doug McKee Subject: Re: Starting the bootstrap server In-Reply-To: (message from Kennen Blanning on Thu, 4 Apr 1996 16:39:20 -0600) >>>>> "Ken" == Kennen Blanning writes: Ken> hello, i had the same problem. found this in the installatin Ken> notes for the previous version. Ken> username: nsadmin no password. Ken> now if i can just get all the virtual servers to recognize Ken> nsadmin too. The default nsadmin password for a virtual server is "ruffruff". doug -- ---------------------------------------------------------------- Doug McKee America Online, Inc. Email: doug@tools.gnn.com 511 Bath Street Voice: (800) 529-9166 Santa Barbara, CA (805) 882-2350 93101 Fax: (805) 899-4316 http://www.tools.gnn.com ---------------------------------------------------------------- ========================================================================= Date: Thu, 4 Apr 1996 14:46:32 -0800 Reply-To: Web Development with GNNserver Sender: Web Development with GNNserver From: Alex Khassin Subject: Re: Recommendations In-Reply-To: --=_04tW34g.bO1996u.N22d000A.r04Y.46:002dc3 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit >I have recently installed GNNServer 2.03 and after some initial glitches >got it up and running. I had originally wanted to run it on NT but the >limitation by NT to 5 IPs and some other issues made me decide otherwise. Actually you can have up to 256 IP numbers per NIC. You just can't enter them in the Control Panel, you have to use the registry. I find that NT has virtually no limitations. > >Now it is time for us to select a database to use with our Web server. >The platforms we're limited to are Linux and NT 3.51 at this time (not too >much of a limitation). We need multiuser, transaction based processing >and preferably the ability to query with SQL. Commercials solutions are >find, actually preferred by management rather than unsupported software. > What's wrong with Illustra that comes with GNNServer (if that's the server you are using). Alternatively, if you use a different server, you can still use Illustra but you have to get it for about $7,000. It's about as good as it gets for a transaction-based database. --=_04tW34g.bO1996u.N22d000A.r04Y.46:002dc3 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 The Source for Advanced Computing Solutions http://am.net --=_04tW34g.bO1996u.N22d000A.r04Y.46:002dc3-- ========================================================================= Date: Thu, 4 Apr 1996 17:57:22 -0500 Reply-To: Web Development with GNNserver Sender: Web Development with GNNserver From: Michael Kmiec Subject: Re: Starting the bootstrap server All virtual servers will recognize nsadmin with a password of "ruffruff". You should, however, change this in the Access Control section of the virtual server, especially since I just announced your password on a mailing list. At 04:39 PM 4/4/96 -0600, you wrote: >hello, > >i had the same problem. >found this in the installatin notes for the previous version. > >username: nsadmin >no password. > >now if i can just get all the virtual servers to recognize nsadmin too. > >> >> I have been trying to start up the bootstrap server since last >> night. Everytime I access it's URL, it asks for the username and >> password. No matter what password I try to give, the server will not >> allow me access. Is there something I'm missing? >> >> Sam > >-- >kennen@drawings.com > > ------------------------------------------------------ Michael Kmiec PFN Incorporated 26 Landsdowne Street Cambridge, MA 02139 mike@pfn.com 617.494.9980 ========================================================================= Date: Thu, 4 Apr 1996 16:36:53 -0800 Reply-To: Web Development with GNNserver Sender: Web Development with GNNserver From: Mike Rambour Subject: getting started... I have what I think to be a NT problem, but then again Website worked so maybe not. I downloaded GNNserver 2.03 2 days ago, and I have not been able to get it to work the way I think it should. I cant seem to get the server to recognize my http address, thanks to Doug ( at AOL ) I have it working with IP addresses, but all my links in my pages ( and I have a lot of them ) are http://www.inline-tech.com/xxxx.html. I cant get GNNserver to use www.inline-tech.com. Like I said this may be a NT issue that I have not properly setup, I only installed NT3.51 last night after trying for several hours to get the server to work under NT4.0, I finally downgraded to 3.51 to see if maybe AOL was right, ( during the install I got a window that said they dont recomend NT4 yet ). We are not yet on the net, currently our pages are on a local ISP's machine but that is going to change next month and I need to get this working. I can ping and ftp to www.inline-tech.com ( this machine, not the one at the ISP ) and this machine connects to the net with RAS for now, but I am NOT trying to connect yet, just trying to get the server to work and then connect to the server from this machine, cant that be done ? I did it with Website but I think GNNserver is what I want to use, especially when still at this development stage. mike mikey@inline-tech.com ~~~~~ I'd rather be sailing and \/ \/ ~~~~~~~~~~~~~~ or \/ ~~~~~~~~ Mike Rambour .oooO Oooo. __._._. O (Yahoo!) Bug Writer er...Programmer ( ) ( ) ____ ._.. /\, \ ( ) / -|~(*) \_) (_/ :::::::::. (*) mikey@inline-tech.com ::::::::::\............ *********************************************************************** If you want to learn more about the ULTIMATE BRITISH sports car, then take a look at http://www.inline-tech.com/singer/nasoc.html Its the home page of NASOC, the North American SINGER Owners Clubs ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ========================================================================= Date: Fri, 5 Apr 1996 07:31:00 -0600 Reply-To: Web Development with GNNserver Sender: Web Development with GNNserver From: James Cholke Subject: Re: Recommendations >By the way, from what I have heard, MS Access is not a good choice >for web servers. > I'm considering using Access, could you give more detail on your above statement. Thank you. ========================================================================= Date: Fri, 5 Apr 1996 07:08:24 -0800 Reply-To: Web Development with GNNserver Sender: Web Development with GNNserver From: Doug McKee Subject: Re: Starting the bootstrap server In-Reply-To: <2.2.32.19960404225722.006bcad4@sunrah.pfn.com> (message from Michael Kmiec on Thu, 4 Apr 1996 17:57:22 -0500) Many of you will be happy to hear that we've decided to dispense with the "ruffruff" default nsadmin password for 2.1 and go with the more standard approach of no default password. This is just as secure (read not secure) as "ruffruff" and much less confusing. doug -- ---------------------------------------------------------------- Doug McKee America Online, Inc. Email: doug@tools.gnn.com 511 Bath Street Voice: (800) 529-9166 Santa Barbara, CA (805) 882-2350 93101 Fax: (805) 899-4316 http://www.tools.gnn.com ---------------------------------------------------------------- ========================================================================= Date: Fri, 5 Apr 1996 11:28:14 -0500 Reply-To: Web Development with GNNserver Sender: Web Development with GNNserver From: gnat Subject: C and Tcl ns_db question. I am running GNNServer 2.03 on an SGI Indy system and am having trouble talking to Illustra through Tcl and can not talk to it through C. Tcl: If I try using 2.0s "ns_db gethandle poolname" or "ns_db gethandle poolname 1" Tcl returns: Thread already owns a handle to pool: reg_test If I use the old 1.0 way of "ns_conn db $conn" I can get the connection without a problem since I am using the default database. C: When the GNNServer get to "if((handle = Ns_DbPoolGetHandle("reg_test")) != NULL)" in my module I get the following message in the log file: Error: Ns_DbPoolGetHandle: Thread already owns a handle to pool: reg_test If I try doing any other database operation (like searching a table) while this module is loaded it causes the server to core dump. I never did much C with 1.0 and don't have a copy of the old manual handy to try the old way, but thats not what I really want to do anyway. If anyone can point out what i'm doing wrong or if there is something else that I need in my code that the manuals don't mention I would be grateful. Thanks, David Whittle Digital City ========================================================================= Date: Fri, 5 Apr 1996 12:18:17 -0500 Reply-To: Web Development with GNNserver Sender: Web Development with GNNserver From: Michael Kmiec Subject: Re: C and Tcl ns_db question. I can't speak for Tcl, but I know in C, if you > When the GNNServer get to "if((handle = Ns_DbPoolGetHandle("reg_test")) != >NULL)" in my module I get the following message in the log file: ...after you Ns_DbPoolGetHandle("pool_name"), you must Ns_DbPoolPutHandle("pool_name") So later in your function -- after you've done all your Db manipulation -- do Ns_DbPoolPutHandle("reg_test"); in order to free the handle. Then you can access it (the pool) again. Or you could use Ns_DbPoolGetMultipleHandles(), but I have little knowledge of that function, and defer explanation of usage to Doug or Jim. ------------------------------------------------------ Michael Kmiec PFN Incorporated 26 Landsdowne Street Cambridge, MA 02139 mike@pfn.com 617.494.9980 ========================================================================= Date: Fri, 5 Apr 1996 11:35:31 -0600 Reply-To: Web Development with GNNserver Sender: Web Development with GNNserver From: Webmaster Subject: Adding nstext to a virtual server Hello. I'm attempting to add the module "nstext" to a virtual server. I'm using GNNserver and an Illustra database. This is the error I get in the server log when I restart GNNserver: -------------------------------------------------------------------------- [05/Apr/1996:11:20:32 -0600][4085.4086] Notice: Ns_ModuleSymbol: Loading module file: /drive2/www/GNNserver/bin/nstext.so [05/Apr/1996:11:20:33 -0600][4085.4086] Notice: SQL(default:gcidb): select table_name from tables where table_kind <> 'i' and table_kind <> 's' [05/Apr/1996:11:20:33 -0600][4085.4086] Notice: SQL(default:gcidb): select table_name from tables where table_kind <> 'i' and table_kind <> 's' [05/Apr/1996:11:20:33 -0600][4085.4086] Notice: SQL(default:gcidb): create table ns_pages_gciweb (ns_url text not null primary key, ns_title text, ns_body doc not null) [05/Apr/1996:11:20:33 -0600][4085.4086] Notice: Ns_Ill(default:gcidb): XMT001:No such type: doc, for column ns_body [05/Apr/1996:11:20:33 -0600][4085.4086] Error: Text(gciweb): Could not find or create textindex table "ns_pages_gciweb" [05/Apr/1996:11:20:33 -0600][4085.4086] Notice: Ns_ModuleLoad(gciweb): Could not initialize module file: nstext.so. ----------------------------------------------------------------------------- Details: SGI running irix 5.3 GNNserver and Illustra database database name: gcidb virtual server name: gciweb Any suggestions?? HELP!! Thanks, Greg Selner 612-539-7767 webmastr@atactix.com ========================================================================= Date: Fri, 5 Apr 1996 10:33:36 -0800 Reply-To: Web Development with GNNserver Sender: Web Development with GNNserver From: Doug McKee Subject: Re: C and Tcl ns_db question. In-Reply-To: (message from gnat on Fri, 5 Apr 1996 11:28:14 -0500) >>>>> "Dave" == gnat writes: Dave> I am running GNNServer 2.03 on an SGI Indy system and am Dave> having trouble talking to Illustra through Tcl and can not Dave> talk to it through C. Dave> Tcl: If I try using 2.0s "ns_db gethandle poolname" or Dave> "ns_db gethandle poolname 1" Tcl returns: Dave> Thread already owns a handle to pool: reg_test Dave> If I use the old 1.0 way of "ns_conn db $conn" I can Dave> get the connection without a problem since I am using the Dave> default database. Dave> C: When the GNNServer get to "if((handle = Dave> Ns_DbPoolGetHandle("reg_test")) != NULL)" in my module I get Dave> the following message in the log file: Dave> Error: Ns_DbPoolGetHandle: Thread already owns a handle to Dave> pool: reg_test Your problem in C and Tcl is exactly the same: Your request function has already allocated a database handle. GNNserver won't allocate you another handle in this case because your server may deadlock. Dave> If I try doing any other database operation (like Dave> searching a table) while this module is loaded it causes the Dave> server to core dump. I never did much C with 1.0 and don't Dave> have a copy of the old manual handy to try the old way, but Dave> thats not what I really want to do anyway. It sounds like your C module is crashing for a completely other reason; If your code assumes that you will always get a db handle back after calling Ns_DbPoolGetHandle(), it may crash. doug -- ---------------------------------------------------------------- Doug McKee America Online, Inc. Email: doug@tools.gnn.com 511 Bath Street Voice: (800) 529-9166 Santa Barbara, CA (805) 882-2350 93101 Fax: (805) 899-4316 http://www.tools.gnn.com ---------------------------------------------------------------- ========================================================================= Date: Fri, 5 Apr 1996 10:44:07 -0800 Reply-To: Web Development with GNNserver Sender: Web Development with GNNserver From: Doug McKee Subject: Re: Adding nstext to a virtual server In-Reply-To: <9604051135.ZM4141@atactix.com> (message from Webmaster on Fri, 5 Apr 1996 11:35:31 -0600) >>>>> "Greg" == Webmaster writes: Greg> Hello. I'm attempting to add the module "nstext" to a Greg> virtual server. I'm using GNNserver and an Illustra Greg> database. This is the error I get in the server log when I Greg> restart GNNserver: ... Greg> [05/Apr/1996:11:20:33 -0600][4085.4086] Notice: Greg> Ns_Ill(default:gcidb): XMT001:No such type: doc, for column Greg> ns_body [05/Apr/1996:11:20:33 -0600][4085.4086] The short answer is that you need to connect to a database built from the textdb template (which has the "doc" type built-in). See http://www.tools.gnn.com/server/illustra/textb.htm for details. doug -- ---------------------------------------------------------------- Doug McKee America Online, Inc. Email: doug@tools.gnn.com 511 Bath Street Voice: (800) 529-9166 Santa Barbara, CA (805) 882-2350 93101 Fax: (805) 899-4316 http://www.tools.gnn.com ---------------------------------------------------------------- ========================================================================= Date: Fri, 5 Apr 1996 14:47:19 -0500 Reply-To: Web Development with GNNserver Sender: Web Development with GNNserver From: Kristofer Munn Subject: CGI with extra path Using another server, I was using the extra path information in a URL to great advantage via CGI. For example, a URL such as: http://www.whocares.com/~foobar/index.cgi/this/that/ Would run the script index.cgi and the '/this/that/' part of the path would be a CGI variable (PATH_INFO I believe). This doesn't seem to work with GNNserver on Linux. Or am I (once again) missing something here? Kristofer Munn NetLive Communications kmunn@NetLiveCom.com Manhattan, NY, USA ========================================================================= Date: Fri, 5 Apr 1996 15:25:23 -0500 Reply-To: Web Development with GNNserver and GNN Hosting Service Sender: Web Development with GNNserver and GNN Hosting Service From: Kristofer Munn Subject: CGI and "big" pages on Linux Comments: cc: Doug McKee I'm having a problem with a CGI script. Here's the very complicated perl script: #!/usr/local/bin/perl -U open(INFILE, '/home/kmunn/foo.html'); while () { print $_; } close(INFILE); exit Hope you all followed that. :) Anyway, I've narrowed it down to the following. When the file foo.html is > 4096, accessing foo.cgi (the script above) hangs. When it is <= 4096 then it works fine. The foo.html I am using (for figuring out this annoying problem) is as follows: Content-type: text/html FutureSight - Cover 1234567890
1234567890
1234567890
. . . You get the idea. I keep adding 1234567890
lines until I'm larger than 4096 and whammo, the server just hangs there in never-never land. Ideas? Kristofer Munn NetLive Communications kmunn@NetLiveCom.com Manhattan, NY, USA ========================================================================= Date: Fri, 5 Apr 1996 15:40:50 -0800 Reply-To: Web Development with GNNserver and GNN Hosting Service Sender: Web Development with GNNserver and GNN Hosting Service From: Doug McKee Subject: GNNserver 2.031 -- patch All GNNServer 2.03 users should download patch 2.031 from: http://www.tools.gnn.com/server/patchdl.htm This patch: * Fixes a problem that would, in rare cases, cause GNNserver to take up excessive CPU time and eventually hang. * Produces well-formed HTML directory listings * Returns status 204 (No Content) instead of 404 (Not Found) in response to a client clicking in an undefined area of an image map. doug -- ---------------------------------------------------------------- Doug McKee America Online, Inc. Email: doug@tools.gnn.com 511 Bath Street Voice: (800) 529-9166 Santa Barbara, CA (805) 882-2350 93101 Fax: (805) 899-4316 http://www.tools.gnn.com ---------------------------------------------------------------- ========================================================================= Date: Mon, 8 Apr 1996 21:02:04 +0200 Reply-To: Web Development with GNNserver and GNN Hosting Service Sender: Web Development with GNNserver and GNN Hosting Service From: Stephane FILLOD Subject: GNNserver and UNIX passwd file I'd like to have GNNserver reconize my UNIX users, using /etc/passwd file to sign on. Is it possible to make GNNserver look in /etc/passwd instead of users.dat and groups.dat files ? I think this is implemented in the nsperm.so module, but I have not found the C/Tcl source anywhere. Could someone tell me where is that piece of code so I would be able to rewrite it ? Or how I will make GNNserver make use of /etc/passwd file ? My goal is to allow my UNIX users doing PUT commands to their homepages. I'm sure, someone had ever tryied ... Thanks in advance. Cheers, -- Stephane FILLOD | fillod@ens.insa-rennes.fr computer science student (3rd year) | "Un homme seul est en INSA Rennes, FRANCE | mauvaise compagnie" P.Valery ========================================================================= Date: Tue, 9 Apr 1996 18:02:32 -0700 Reply-To: Web Development with GNNserver and GNN Hosting Service Sender: Web Development with GNNserver and GNN Hosting Service From: Doug McKee Subject: GNNserver 2.04 for SunOS, Linux, and FreeBSD released GNNserver version 2.04 is now available for SunOS, Linux, and FreeBSD platforms: http://www.tools.gnn.com/server/overview.htm The only differences between this release and 2.03/2.031 are bug fixes specific to these platforms (all of which use the publically available pthreads library). This is the first FreeBSD release of GNNserver. Platform-specific bug fixes include: * GNNserver can now be run in the background * GNNserver shuts down properly * You may now configure the server to timeout idle connections * CGI programs can now return more than 4K of data Enjoy! doug -- ---------------------------------------------------------------- Doug McKee America Online, Inc. Email: doug@tools.gnn.com 511 Bath Street Voice: (800) 529-9166 Santa Barbara, CA (805) 882-2350 93101 Fax: (805) 899-4316 http://www.tools.gnn.com ---------------------------------------------------------------- ========================================================================= Date: Fri, 12 Apr 1996 11:41:18 -0400 Reply-To: Web Development with GNNserver and GNN Hosting Service Sender: Web Development with GNNserver and GNN Hosting Service From: Jeff Rawlings Subject: List delayed... Comments: To: gnnhost-l@services.web.aol.com Hello, everyone. I just wanted to let you know that the gnnhost-l and gnndeveloper-l lists have been delayed for the past couple of days. I will be forwarding posts to the lists today. Please keep in mind that many of these will appear to come from my email address, so if you want to respond privately to the poster you will need to cut and paste their address. Sorry for the delay! Jeff Rawlings rawlings@gnnhost.com Webmaster, GNN Hosting Service http://www.gnnhost.com/ Moderator, gnnhost-l and gnndeveloper-l For inquiries about Web Hosting, send email to ========================================================================= Date: Fri, 12 Apr 1996 11:41:18 -0400 Reply-To: Web Development with GNNserver and GNN Hosting Service Sender: Web Development with GNNserver and GNN Hosting Service From: Jeff Rawlings Subject: extra.slash.com//index.html From: "Ted Goessling" Subject: extra.slash.com//index.html I've run into a problem and solution that people might want to know about. I'm a (happy) new user of GNNserver 2.031 on Solaris, and ran across an odd "feature" of the interaction between GNNpress and GNNserver. Everything is working great except the way my browsers interpret the base URL of the server. When I access the server's base URL "http://machine.abc.com/" from Netscape Navigator 2.01 on Windows, Mac, or UNIX, the URL of the returned page is not "http://machine.abc.com/index.html" as expected. Instead it adds an extra slash (/), as in "http://machine.abc.com//index.html". Oddly enough, everything seems to work just fine with that extra slash in there. It also works fine if I ask for "http://machine.abc.com/index.html". (And no, there is no directory called "/" in the PageRoot directory with a file called index.html in it...) I looked all through the settings and tried specifying the full path to the server PageRoot instead of the default. No luck. Finally, I noticed that the server wanted the default page for the server root to be the same as the default page set with GNNpress for the MiniWeb. If this is different from the DirectoryFile parameter (typically index.html), then the default MiniWeb page in the GNNpress document.nvd file OVERRIDES the DirectoryFile parameter. I didn't realize that the server knew about document.nvd files. When I delete the document.nvd file from the PageRoot directory, the extra slash problem goes away. (BTW, the extra slash appears even if the default MiniWeb page is called "index.html") Obviously this isn't really a "problem", but I thought others might have also been confused by it. I pursued it because I thought my users would be confused if the base URL (and subsequent relative links) showed up with an extra slash in them. One negative aspect of this phenomenon is that even if a directory doesn't contain an index.html file, you can't get a directory listing of it if it contains a document.nvd file. This probably makes sense because any deliberate authoring efforts with GNNpress probably mean that a person doesn't want the directory contents listed. An instance where this is not so good is when you let GNNpress recursively create MiniWebs with the Webize command (which is the default). If you create a MiniWeb in something like an /images directory, the presence of the document.nvd file prevents you from remotely listing the contents of the /images directory. This is a hassle if you're remotely authoring pages and forgot the name of the graphic you're looking for. A simple fix would be to change GNNpress' Webize default to disable the "Recursively Webize Directories" button in the "Webize Options" dialog. (An even simpler fix would be to modify the GNNserver documentation so that the "Setup Virtual Server" page describes the interation between the server, index.html, and document.nvd files ;-) My apologies for this long message if you already knew this. This is a minor nit in an otherwise wonderful (and free!) product. Keep up the great work! ====================================================================== 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: Fri, 12 Apr 1996 11:41:19 -0400 Reply-To: Web Development with GNNserver and GNN Hosting Service Sender: Web Development with GNNserver and GNN Hosting Service From: Jeff Rawlings Subject: Additional Verbose Information? From: David Sklar Subject: Additional Verbose Information? I am still trying to debug that mysterious All-Tcl-Interpreters-Get-Sucked-Up-By-Script-Run-Amok problem I am having. If I set Verbose=On in [ns\server\student_net] in my nsd.ini (student_net is the name of my virtual server), I get nice messages like: [09/Apr/1996:15:01:09 -0400][157.161] Notice: RunDriver(student_net, nssock): New connection 326 (waiting: 1 threads: 24 (13 idle)) [09/Apr/1996:15:01:09 -0400][157.263] Notice: RunConnection(student_net): Running connection: 326 [09/Apr/1996:15:01:09 -0400][157.161] Notice: RunDriver(student_net, nssock): Accepting. [09/Apr/1996:15:01:10 -0400][157.161] Notice: RunDriver(student_net, nssock): New connection 327 (waiting: 1 threads: 24 (12 idle)) [09/Apr/1996:15:01:10 -0400][157.258] Notice: RunConnection(student_net): Running connection: 327 [09/Apr/1996:15:01:10 -0400][157.161] Notice: RunDriver(student_net, nssock): Accepting. in my server.log. It would be nice, however, if there was a way to know what the HTTP request was for the incoming connections, so I could see what is being run that doesn't release threads. Either something associated with the the connection # or the numbers in [] next to the timestamp (is that process id and thread id?). Any plans to add this anytime soon? Pleeeeaaaase? :) Thanks. -dave ========================================================================= Date: Fri, 12 Apr 1996 11:45:36 -0400 Reply-To: Web Development with GNNserver and GNN Hosting Service Sender: Web Development with GNNserver and GNN Hosting Service From: Jeff Rawlings Subject: Does ns_textindex really do that? From: petej@clickvision.com (Peter M. Jansson) Subject: Does ns_textindex really do that? Will ns_textindex still work even if the URL being index is the output of a tcl script? Pete. ========================================================================= Date: Fri, 12 Apr 1996 11:45:41 -0400 Reply-To: Web Development with GNNserver and GNN Hosting Service Sender: Web Development with GNNserver and GNN Hosting Service From: Jeff Rawlings Subject: ssl on intel From: kennen@drawings.com Subject: ssl on intel hello, Are there plans to develop the ssl module for Linux or Solaris2.5 on Intel? I'm aware that the module relies on RSA's BSAFE. RSA says BSAFE is being developed for both of these platforms. -- kennen@drawings.com ========================================================================= Date: Fri, 12 Apr 1996 11:45:42 -0400 Reply-To: Web Development with GNNserver and GNN Hosting Service Sender: Web Development with GNNserver and GNN Hosting Service From: Jeff Rawlings Subject: Access to tcl interpreter prompt Subject: Access to tcl interpreter prompt From: Ashish Parikh Hello, Is is possible to access the prompt for the Tcl interpreter that GNNserver is running. It would be *really nice* to have an xterm in which I can interact with the interpreter rather than always using my web browser. For example, when you start wish, you get the prompt and you interact with the interpreter. Anything like this for GNNserver? Thanks, Ashish -- ---------------------------------------------------------------------------- Ashish Parikh | 3925 W. Braker Lane, Suite 325 Savantage, Inc. | Austin, TX 78759-5321 USA (512)-305-0054 (Voice) | (512)-305-0060 (FAX) ---------------------------------------------------------------------------- ========================================================================= Date: Fri, 12 Apr 1996 11:45:42 -0400 Reply-To: Web Development with GNNserver and GNN Hosting Service Sender: Web Development with GNNserver and GNN Hosting Service From: Jeff Rawlings Subject: Replacing an indexed document? From: petej@clickvision.com (Peter M. Jansson) Subject: Replacing an indexed document? If I have a document indexed, using the "ns_textindex add" call, and it changes, do I need to do a "ns_textindex delete" and an "ns_textindex add" to replace the indexed contents, or will a subsequent "ns_textindex add" do it for me? Pete. ========================================================================= Date: Fri, 12 Apr 1996 11:55:04 -0400 Reply-To: Web Development with GNNserver and GNN Hosting Service Sender: Web Development with GNNserver and GNN Hosting Service From: Jeff Rawlings Subject: wincgi.tcl example & WebBoard ?? From: gaute@alpha1.nipnett.no (Gaute Amundsen) Subject: wincgi.tcl example & WebBoard ?? Does anyone know wether the wincgi.tcl script in the examples\tcl folder emulates WinCGI well enough to runn WebBoard? I spent most of yesterday trying to find out, but the closest I gott was getting a type mismatch error from WebBoard. We are very much in need of some kind of BBS on our system, and WebBoard seems to be the best choice by far, but it would be rather stupid if we had to innstall the O'reilly WebSite just for that. Anny help is apreciated. Gaute Amundsen -- ----------------------------------------------------------------- Gaute Amundsen "Technology today is the campfire gaute@nipnett.no around which we tell our stories. There's this attraction to light and to this kind of power, which is both warm and destructive." Laurie Anderson http://www.gil.no/users/g/gaute -------------------------------------------------------------------- ========================================================================= Date: Fri, 12 Apr 1996 11:55: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: Searching question From: pkwu@lehman.com (Peter Wu) Subject: Searching question Hi, Where do I find information on how to allow non-gnnpress users viewing ours web pages to search for information? I can't find any reference to searching besides using Tools->Search Server from the GnnPress menubar. Thanks a lot. --- Peter Wu - pkwu@lehman.com ========================================================================= Date: Fri, 12 Apr 1996 11:55: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: Question about C API From: jsun@ws01.iwnet.com (Jiayong Sun) Subject: Question about C API Hello, everyone. I have a question about C API's. There are some functions in include\nsperm.h which are used for managing user(such as Ns_AddUser), who could tell me the return code about these API's. As they are described as "int", I think they should return 0 as normal, but I want to conform it, and their error return code. Thanks in advance. ************************** Jiayong Sun InfoWave Communications Email: jsun@iwnet.com Voice:(W)(408)980-5115 Fax: (W)(408)980-9528 ************************** ========================================================================= Date: Fri, 12 Apr 1996 18:15:27 -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: Does ns_textindex really do that? In-Reply-To: <2.2.32.19960412154536.00a374d4@mail.gnnhost.com> (message from Jeff Rawlings on Fri, 12 Apr 1996 11:45:36 -0400) Pete> Will ns_textindex still work even if the URL being index is Pete> the output of a tcl script? Yes, as long as you make sure the URL is absolute (ie. starts with http:) doug -- ---------------------------------------------------------------- Doug McKee America Online, Inc. Email: doug@tools.gnn.com 511 Bath Street Voice: (800) 529-9166 Santa Barbara, CA (805) 882-2350 93101 Fax: (805) 899-4316 http://www.tools.gnn.com ---------------------------------------------------------------- ========================================================================= Date: Fri, 12 Apr 1996 18:20:18 -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: Access to tcl interpreter prompt In-Reply-To: <2.2.32.19960412154542.00a3b65c@mail.gnnhost.com> (message from Jeff Rawlings on Fri, 12 Apr 1996 11:45:42 -0400) Ashish> Is is possible to access the prompt for the Tcl Ashish> interpreter that GNNserver is running. It would be *really Ashish> nice* to have an xterm in which I can interact with the Ashish> interpreter rather than always using my web browser. For Ashish> example, when you start wish, you get the prompt and you Ashish> interact with the interpreter. Anything like this for Ashish> GNNserver? The problem is that the Tcl intepreter is not a separate process; it runs inside the server. We've thought about building a separate application that was a Tcl interpreter that had most of the ns_ Tcl commands built in, but haven't built it. doug -- ---------------------------------------------------------------- Doug McKee America Online, Inc. Email: doug@tools.gnn.com 511 Bath Street Voice: (800) 529-9166 Santa Barbara, CA (805) 882-2350 93101 Fax: (805) 899-4316 http://www.tools.gnn.com ---------------------------------------------------------------- ========================================================================= Date: Fri, 12 Apr 1996 18:22:38 -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: Replacing an indexed document? Comments: cc: angela@navisoft.com In-Reply-To: <2.2.32.19960412154542.00a3f564@mail.gnnhost.com> (message from Jeff Rawlings on Fri, 12 Apr 1996 11:45:42 -0400) Pete> If I have a document indexed, using the "ns_textindex add" Pete> call, and it changes, do I need to do a "ns_textindex Pete> delete" and an "ns_textindex add" to replace the indexed Pete> contents, or will a subsequent "ns_textindex add" do it for Pete> me? "ns_textindex add" (and Ns_TextIndexAdd()) will remove the old one before adding the new one. doug -- ---------------------------------------------------------------- Doug McKee America Online, Inc. Email: doug@tools.gnn.com 511 Bath Street Voice: (800) 529-9166 Santa Barbara, CA (805) 882-2350 93101 Fax: (805) 899-4316 http://www.tools.gnn.com ---------------------------------------------------------------- ========================================================================= Date: Sat, 13 Apr 1996 12:49:06 -0400 Reply-To: Web Development with GNNserver and GNN Hosting Service Sender: Web Development with GNNserver and GNN Hosting Service From: Brad Chick Subject: Re: wincgi.tcl example & WebBoard ?? At 11:55 AM 4/12/96 -0400, you wrote: >From: gaute@alpha1.nipnett.no (Gaute Amundsen) >Subject: wincgi.tcl example & WebBoard ?? > >Does anyone know wether the wincgi.tcl script in the examples\tcl folder >emulates WinCGI well enough to runn WebBoard? >I spent most of yesterday trying to find out, but the closest I gott >was getting a type mismatch error from WebBoard. > >We are very much in need of some kind of BBS on our system, >and WebBoard seems to be the best choice by far, >but it would be rather stupid if we had to innstall the O'reilly WebSite >just for that. > >Anny help is apreciated. > Check out WWWBoard at Matt's Scripts Archive (http://worldwidemart.com/scripts/). It's a PERL script that works extremely well. We've used it successfully (and extensvley) on the GNNServer (IRIX on SGI box) as well as Netscape (running on Solaris 4.1.3). Our boards can be seen at www.doitsports.com/news/news-run.html and various other places in our site. >Gaute Amundsen > >-- ----------------------------------------------------------------- > Gaute Amundsen "Technology today is the campfire > gaute@nipnett.no around which we tell our stories. > There's this attraction to light > and to this kind of power, which is > both warm and destructive." > > Laurie Anderson > http://www.gil.no/users/g/gaute >-------------------------------------------------------------------- > > ------------------------------------------------------------------------------- --o / Brad Chick `\<, / "DoMan" 0/ 0 / \e/ Do It Sports, Inc. __o __o / I 2360 E. Stadium Blvd. `\<, `\<, / `\\, Suite 13 (aren't we lucky?) O/ O --o O/ O/ O/ O Ann Arbor, MI 48014 `\<, / 0/ 0 / Voice: (313) 971-0120 __o / Fax: (313) 971-0035 `\-\ / 0/ 0 http://www.doitsports.com / e-mail: doman@doitsports.com ------------------------------------------------------------------------------- "Doesn't matter where you finish, so long as you're sweating!" -DoMan ========================================================================= Date: Fri, 12 Apr 1996 12:49:42 -0500 Reply-To: Web Development with GNNserver and GNN Hosting Service Sender: Web Development with GNNserver and GNN Hosting Service From: "Oscar J. Meszar" Subject: New User Hi All, I just downloaded the GNNServer 2.031 last night and Installed it this morning on an NT machine. Everything seems to work fine; except that I don't see the Access Control link on the GNNServer Administration page. I deleted and re-added the nsperm module and still don't see that link. Is the documentation somewhere else besides the Net? Can I download it? I realize that this questions may had been answered before, but I'm new to the list and to GNNServer. Oscar J. Meszar (OJM) ojm@mcs.com http://www.mcs.com/~ojm Think of the possibilities ... ========================================================================= Date: Fri, 12 Apr 1996 15:42:13 -0500 Reply-To: Web Development with GNNserver and GNN Hosting Service Sender: Web Development with GNNserver and GNN Hosting Service From: "Oscar J. Meszar" Subject: Server Name Is there any way that one can change the name of the server. It shows up as server1 everywhere. I'd like to give it a different name. As you can tell I'm new to this list... Oscar J. Meszar (OJM) ojm@mcs.com http://www.mcs.com/~ojm Think of the possibilities ... ========================================================================= Date: Fri, 12 Apr 1996 16:04:08 -0500 Reply-To: Web Development with GNNserver and GNN Hosting Service Sender: Web Development with GNNserver and GNN Hosting Service From: Webmaster Subject: Configuring nsshtml module Hello. I'm trying to configure the nsshtml module for a virtual server. It seems to work but none of the images show up in the Browser when I reload the page. I'm using Netscape 2.0 My nsd.ini file for this module looks like this: [ns\server\gciweb\module\nsshtml] Map=/* Map=/images/*.jpg Extension=.shtml Extension=.html Extension=.htm The page itself looks like this: GCIWEB Home Page When I remove the nsshtml module, it all works fine. Any suggestions? Thanks, Greg Selner 612-539-7767 ========================================================================= Date: Fri, 12 Apr 1996 22:06:26 -0400 Reply-To: Web Development with GNNserver and GNN Hosting Service Sender: Web Development with GNNserver and GNN Hosting Service From: Shawn Eric Mathews Subject: SockWrite Error on GNN Server Comments: To: Doug McKee , NaviServer Group Does anyone have any idea what this error means? [12/Apr/1996:21:43:27 -0500][101.232] Error: = SockWrite(http://www.theorioles.com): Error writing 8192 bytes to = socket 780: Operation would block (code 10058) ========================================================================= Date: Fri, 12 Apr 1996 22:29:47 -0400 Reply-To: Web Development with GNNserver and GNN Hosting Service Sender: Web Development with GNNserver and GNN Hosting Service From: Shawn Eric Mathews Subject: Re: Does ns_textindex really do that? ------ =_NextPart_000_01BB28C0.0D974570 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable ---------- From: Jeff Rawlings Sent: Friday, April 12, 1996 11:45 AM To: Multiple recipients of list GNNDEVELOPER-L Subject: Does ns_textindex really do that? From: petej@clickvision.com (Peter M. Jansson) Subject: Does ns_textindex really do that? Will ns_textindex still work even if the URL being index is the output = of a tcl script? Pete. Yes it will, but there will be random garbage returned sometimes. = I have a script that indexes some URL's generated by TCL scripts. Email = me if you wan't them Shawn Mathews us019327@interramp.com ------ =_NextPart_000_01BB28C0.0D974570 Content-Type: application/ms-tnef Content-Transfer-Encoding: base64 eJ8+IhUCAQaQCAAEAAAAAAABAAEAAQeQBgAIAAAA5AQAAAAAAADoAAEIgAcAGAAAAElQTS5NaWNy b3NvZnQgTWFpbC5Ob3RlADEIAQ2ABAACAAAAAgACAAEEkAYAkAEAAAEAAAAMAAAAAwAAMAIAAAAL AA8OAAAAAAIB/w8BAAAAeAAAAAAAAACBKx+kvqMQGZ1uAN0BD1QCAAAAAFdlYiBEZXZlbG9wbWVu dCB3aXRoIEdOTnNlcnZlciBhbmQgR05OIEhvc3RpbmcgU2VydmljZQBTTVRQAEdOTkRFVkVMT1BF Ui1MQFNFUlZJQ0VTLldFQi5BT0wuQ09NAB4AAjABAAAABQAAAFNNVFAAAAAAHgADMAEAAAAkAAAA R05OREVWRUxPUEVSLUxAU0VSVklDRVMuV0VCLkFPTC5DT00AAwAVDAEAAAADAP4PBgAAAB4AATAB AAAAOQAAACdXZWIgRGV2ZWxvcG1lbnQgd2l0aCBHTk5zZXJ2ZXIgYW5kIEdOTiBIb3N0aW5nIFNl cnZpY2UnAAAAAAIBCzABAAAAKQAAAFNNVFA6R05OREVWRUxPUEVSLUxAU0VSVklDRVMuV0VCLkFP TC5DT00AAAAAAwAAOQAAAAALAEA6AQAAAAIB9g8BAAAABAAAAAAAAAKnVAEEgAEAJgAAAFJFOiBE b2VzIG5zX3RleHRpbmRleCByZWFsbHkgZG8gdGhhdD8AZQ0BBYADAA4AAADMBwQADAAWAB0ALwAF AEoBASCAAwAOAAAAzAcEAAwAFgAbADsABQBUAQEJgAEAIQAAADkxRkE2OEJDRDA5NENGMTFCQjU1 NkEzQjYzOEIwMDAyAC8HAQOQBgAwBAAAFAAAAAsAIwAAAAAAAwAmAAAAAAALACkAAAAAAAMALgAA AAAAAwA2AAAAAABAADkAwD6dFeEouwEeAHAAAQAAACYAAABSRTogRG9lcyBuc190ZXh0aW5kZXgg cmVhbGx5IGRvIHRoYXQ/AAAAAgFxAAEAAAAWAAAAAbso4RWavGj6mJTQEc+7VWo7Y4sAAgAAHgAe DAEAAAAFAAAAU01UUAAAAAAeAB8MAQAAABcAAAB1czAxOTMyN0BpbnRlcnJhbXAuY29tAAADAAYQ pUuJeAMABxC8AQAAHgAIEAEAAABlAAAALS0tLS0tLS0tLUZST006SkVGRlJBV0xJTkdTU0VOVDpG UklEQVksQVBSSUwxMiwxOTk2MTE6NDVBTVRPOk1VTFRJUExFUkVDSVBJRU5UU09GTElTVEdOTkRF VkVMT1BFUi1MUwAAAAACAQkQAQAAAJECAACNAgAA7AQAAExaRnUVOLDq/wAKAQ8CFQKkA+QF6wKD AFATA1QCAGNoCsBzZXTuMgYABsMCgzIDxgcTAoO6MxMNfQqACM8J2TsV/3gyNTUCgAqBDbELYG7w ZzEwMxQgCwoS8gwBGmMAQCAKhQqLbGkxBDgwAtFpLTE0NM8N8AzQHMMLWTE2CqADYPZ0BZAFQC0e 5wqHHZsMMHUeZkYDYTof7h5mDIIgZkoNwQfwYXccIBkAc38fjyCdBmACMCHPItshgGlwZGF5LBNw HmADETFCMijwMTk5NilgMWg6NDUTcE0kfyCdVIZvJr8i2011bHQFIOhsZSAWAGMFIAiQAjAtBCBv I9AcIHMFQEdOAE5ERVZFTE9QMEVSLUwqjyWOdWLOah6hLK8i20RvB5EAgKpfHpB4LrBuDbB4LwEB B0BseSBkbyB0mRHAdD8a7xvzMzYdZxcUIgwBIQxwEgBlakCiYxwgY2t2BABpAiDCLgWgbSAoUDrx BcHWLiOQAHFzAiApCoUzJ/c1fzaPN5tXAxADID67MBCFQWJ3BbBrIGV2CfAOIAaQQBEu8FVSTCD8 YmUkMUNgPzMEAEOTCGCsdHBFYC+yYQqFdDtA70JgBQM3fTxSLgqPGg9IgvVKpFkHkWkFQAPwP7Ao 8P5iRZFDoRYAS3NEES8AAHCLP/A8IGcKwGJhZy7y+nQIcG4JgEJgA3ASAAdy+TzASSARwEMwReBG pUAT70R0B5FOgkPSJwQgTcBOQJdNAB6QTmBiP9BUQ0QAewT0TwFFAMADEVEhQ3F5VwhgQsAAcCdM A203jFO1EcB3A6BNQEBDsHckZgh1czApsDMyN0DnC4A8cU0AbXA78jf/HWcvSZUeZkhVFSEAW7AA AAADABAQAAAAAAMAERAAAAAAQAAHMFCRQdXgKLsBQAAIMFCRQdXgKLsBHgA9AAEAAAAFAAAAUkU6 IAAAAAADAA00/TcAABoi ------ =_NextPart_000_01BB28C0.0D974570-- ========================================================================= Date: Sat, 13 Apr 1996 01:36:21 -0500 Reply-To: Web Development with GNNserver and GNN Hosting Service Sender: Web Development with GNNserver and GNN Hosting Service From: Krish Menon Subject: Re: wincgi.tcl example & WebBoard ?? At 11:55 AM 4/12/96 -0400, you wrote: >From: gaute@alpha1.nipnett.no (Gaute Amundsen) >Subject: wincgi.tcl example & WebBoard ?? > >We are very much in need of some kind of BBS on our system, >and WebBoard seems to be the best choice by far, Currently in development (well, testing stages, actually) is ForumUlation V1.0, a threaded, multi-user forum program exclusively for use with the GNN Server. Its got all kindsa funky features, and interfaces with the Illustra database to store and retrieve messages. It'll be out end of April/beginning of May, and is absolutely free. :) Once debugged to a point I'm comfortable with its release, I'll mail the archive to Doug, and see if he wants to post it to the GNN Developer's Corner. 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. ======================== ========================================================================= Date: Sun, 14 Apr 1996 13:07:50 -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: extra.slash.com//index.html Comments: cc: angela@navisoft.com In-Reply-To: <2.2.32.19960412154118.00603334@mail.gnnhost.com> (message from Jeff Rawlings on Fri, 12 Apr 1996 11:41:18 -0400) > From: "Ted Goessling" > Subject: extra.slash.com//index.html I must say, Ted, you've done a fine job reverse-engineering some currently undocumented behavior of the GNNserver, and indeed found a minor bug! To summarize: When serving a URL that corresponds to a directory (including "/" as in http://www.foo.com/), the server checks the following conditions in order: 1. If the directory contains a document.nvd file (i.e. it is a GNNpress MiniWeb), AND the client is GNNpress, the MiniWeb is returned. 2. If the directory contains a document.nvd file (i.e. it is a GNNpress MiniWeb), and the client is NOT GNNpress, the server returns a redirect to the top page of the MiniWeb. 2.031/2.04 contains a bug where the very top page will have an extra slash in this case. That is, http://www.foo.com/ will redirect to http://www.foo.com// 2. If one of the DirectoryFiles is found, it is returned. These are searched for in order. 3. Finally, a directory listing (Simple or Fancy) is returned. doug -- ---------------------------------------------------------------- Doug McKee America Online, Inc. Email: doug@tools.gnn.com 511 Bath Street Voice: (800) 529-9166 Santa Barbara, CA (805) 882-2350 93101 Fax: (805) 899-4316 http://www.tools.gnn.com ---------------------------------------------------------------- ========================================================================= Date: Sun, 14 Apr 1996 13:25:11 -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: Searching question In-Reply-To: <2.2.32.19960412155506.00a4e04c@mail.gnnhost.com> (message from Jeff Rawlings on Fri, 12 Apr 1996 11:55:06 -0400) Peter> Where do I find information on how to allow non-gnnpress Peter> users viewing ours web pages to search for information? Peter> I can't find any reference to searching besides using Peter> Tools->Search Server from the GnnPress menubar. Thanks a Peter> lot. Goto the /NS/Search URL on your virtual server -- it's the same page that GNNpress will bring up from Tools->Search Server. You may edit this page how you like, save it where you'd like, and then make links from your other pages to it. doug -- ---------------------------------------------------------------- Doug McKee America Online, Inc. Email: doug@tools.gnn.com 511 Bath Street Voice: (800) 529-9166 Santa Barbara, CA (805) 882-2350 93101 Fax: (805) 899-4316 http://www.tools.gnn.com ---------------------------------------------------------------- ========================================================================= Date: Sun, 14 Apr 1996 13:30:46 -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: Question about C API Comments: cc: angela@navisoft.com In-Reply-To: <2.2.32.19960412155506.00a49890@mail.gnnhost.com> (message from Jeff Rawlings on Fri, 12 Apr 1996 11:55:06 -0400) Jiayong> I have a question about C API's. There are some functions Jiayong> in include\nsperm.h which are used for managing user(such Jiayong> as Ns_AddUser), who could tell me the return code about Jiayong> these API's. As they are described as "int", I think Jiayong> they should return 0 as normal, but I want to conform it, Jiayong> and their error return code. The API for the access control system that lets you write C code to add/delete/update users/groups/permissions is not currently documented. We are currently documenting this interface for 2.1. And yes, these functions return int's that are either NS_OK or NS_ERROR. doug -- ---------------------------------------------------------------- Doug McKee America Online, Inc. Email: doug@tools.gnn.com 511 Bath Street Voice: (800) 529-9166 Santa Barbara, CA (805) 882-2350 93101 Fax: (805) 899-4316 http://www.tools.gnn.com ---------------------------------------------------------------- ========================================================================= Date: Sun, 14 Apr 1996 13:45:21 -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: New User In-Reply-To: <2.2.32.19960412174942.00903e14@popmail.mcs.net> (ojm@mcs.net) >>>>> "Oscar" == Oscar J Meszar writes: Oscar> Hi All, I just downloaded the GNNServer 2.031 last night Oscar> and Installed it this morning on an NT machine. Everything Oscar> seems to work fine; except that I don't see the Access Oscar> Control link on the GNNServer Administration page. I Oscar> deleted and re-added the nsperm module and still don't see Oscar> that link. Are you going the the /NS/Admin page on your virtual server (ie. NOT port 9876)? You should see the link there. doug -- ---------------------------------------------------------------- Doug McKee America Online, Inc. Email: doug@tools.gnn.com 511 Bath Street Voice: (800) 529-9166 Santa Barbara, CA (805) 882-2350 93101 Fax: (805) 899-4316 http://www.tools.gnn.com ---------------------------------------------------------------- ========================================================================= Date: Sun, 14 Apr 1996 13:48:23 -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: Server Name In-Reply-To: <2.2.32.19960412204213.008d1bd4@popmail.mcs.net> (ojm@mcs.net) >>>>> "Oscar" == Oscar J Meszar writes: Oscar> Is there any way that one can change the name of the Oscar> server. It shows up as server1 everywhere. I'd like to give Oscar> it a different name. As you can tell I'm new to this Oscar> list... This name shouldn't be seen by your customers at all, but if you really want to change it, you can do one of two things: 1. You can stop your server and replace all occurrences of "server1" with a new name in your nsd.ini configuration file in the GNNserver installation directory. Now rename the servers\server1 directory to servers\. Or 2. You can drop your existing virtual server and create a new one with the same attributes and new name. doug -- ---------------------------------------------------------------- Doug McKee America Online, Inc. Email: doug@tools.gnn.com 511 Bath Street Voice: (800) 529-9166 Santa Barbara, CA (805) 882-2350 93101 Fax: (805) 899-4316 http://www.tools.gnn.com ---------------------------------------------------------------- ========================================================================= Date: Sun, 14 Apr 1996 16:04:33 -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: Configuring nsshtml module In-Reply-To: <9604121604.ZM1590@atactix.com> (message from Webmaster on Fri, 12 Apr 1996 16:04:08 -0500) >>>>> "Greg" == Webmaster writes: Greg> Hello. I'm trying to configure the nsshtml module for a Greg> virtual server. It seems to work but none of the images Greg> show up in the Browser when I reload the page. I'm using Greg> Netscape 2.0 Greg> My nsd.ini file for this module looks like this: Greg> [ns\server\gciweb\module\nsshtml] Greg> Map=/* Greg> Map=/images/*.jpg Greg> Extension=.shtml Greg> Extension=.html Greg> Extension=.htm This looks like a case of overconfiguration. Try just: [ns\server\gciweb\module\nsshtml] Map=/*.shtml doug -- ---------------------------------------------------------------- Doug McKee America Online, Inc. Email: doug@tools.gnn.com 511 Bath Street Voice: (800) 529-9166 Santa Barbara, CA (805) 882-2350 93101 Fax: (805) 899-4316 http://www.tools.gnn.com ---------------------------------------------------------------- ========================================================================= Date: Sun, 14 Apr 1996 16:05:35 -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: SockWrite Error on GNN Server In-Reply-To: <01BB28BC.4D5E29C0@ip231.pittsburgh.pa.interramp.com> (message from Shawn Eric Mathews on Fri, 12 Apr 1996 22:06:26 -0400) > [12/Apr/1996:21:43:27 -0500][101.232] Error: = > SockWrite(http://www.theorioles.com): Error writing 8192 bytes to = > socket 780: Operation would block (code 10058) This error is benign -- it means that a user pressed the "Stop" button while downloading your page. doug -- ---------------------------------------------------------------- Doug McKee America Online, Inc. Email: doug@tools.gnn.com 511 Bath Street Voice: (800) 529-9166 Santa Barbara, CA (805) 882-2350 93101 Fax: (805) 899-4316 http://www.tools.gnn.com ---------------------------------------------------------------- ========================================================================= Date: Sun, 14 Apr 1996 23:07:30 +0200 Reply-To: Web Development with GNNserver and GNN Hosting Service Sender: Web Development with GNNserver and GNN Hosting Service From: Nils-Olov Fransson Subject: Cannot add data in Illustra tables via GNN-server I have installed the GNN-server and the Illustra database. After "configuring GNN-server to use Illustra" I continued to "Create a Searcable/Udateable Table". After creating the table I received the following screen from the server: -------------------------------------------- New Table Created Successfully created the table: PostAdresser You may now enter new records. -------------------------------------------- Clicking on "enter new records" gives me the following result: -------------------------------------------- The HTTP request was in an invalid format or contained invalid data. Reason: No Such Table 'PostAdresser' For further assistance, contact the server administrator. --------------------------------------------- It seems a bit odd that I can create a table but not enter data in it. When I try to find the table it seems as if the table isn't in the database pool. When i run iqt32.exe on the server I can access the table and enter data in it. Im running the GNN-server and Illustra on a Pentium-90 PC with WindowsNT 3.51. Can anyone help me? TIA Nils-Olov Fransson Computer Consultant ========================================================================= Date: Sun, 14 Apr 1996 15:37:51 -0700 Reply-To: Web Development with GNNserver and GNN Hosting Service Sender: Web Development with GNNserver and GNN Hosting Service From: ACS Subject: Sample scripts? Howdy, I hope that this is the correct group for this question. I'm trying to hack up forms.tcl and modify it so that it doesn't return the data in the form of a table (of course I copied it, re-named it and renamed the SearchQBF procedures to new names). Not being a tcl programmer (I just bought a book on it) I looked at the code and can see where it checks weather the browser can do tables, if not, return simple tables by using "|" to build the colums, etc. I seem to make a few changes and I re-initialize tcl and they seem to take effect. Then I make another change and re-initialize and the thing goes back to operating at square one like before I made any changes. Maybe I made a mistake in the code (mostly I have been commenting things out a bit at a time) or something but I would think I'd get an error message as in the case of perl cgi scripts. I'm baffeled. Basically what I'm trying to acomplish is to enter some search criteria in a form, submit it, and return the information as: Name address phone # Name address phone # Name address phone # etc... For each corectly identified record. Anyone have a simple(r) script for this? Also, since I'm more familiar with perl (not an expert though), is there a way that I can write the script in perl? If so, how do I grab a handle on the sql stuff being returned? Thanks Hugo ========================================================================= Date: Sun, 14 Apr 1996 20:09:06 -0400 Reply-To: Web Development with GNNserver and GNN Hosting Service Sender: Web Development with GNNserver and GNN Hosting Service From: Jim Wilcoxson Organization: Merit Software, Inc. Subject: Can't create ns_tables & ns_columns w/Access 7.0 I *finally* got the ODBC stuff working on NT with Access 7.0 after downloading new ODBC drivers from Microsquash's Web site (get new 32-bit drivers in a zip called ge1263.exe). But when the server starts up, I get errors in the log files: [14/Apr/1996:16:30:51 -0400][98.99] Notice: SQL(mls): create table ns_tables (table_name varchar not null primary key, table_inserturl varchar, table_description varchar) [14/Apr/1996:16:30:51 -0400][98.99] Error: ODBC message: SQLSTATE = 37000, Native err = -3551, msg = '[Microsoft][ODBC Microsoft Access 7.0 Driver] Syntax error in CREATE TABLE statement.' [14/Apr/1996:16:30:51 -0400][98.99] Error: Could not create ns_tables table to hold Extended Table Info [14/Apr/1996:16:30:51 -0400][98.99] Notice: SQL(mls): create table ns_columns (column_table varchar not null, column_name varchar not null, column_description varchar, column_displayas varchar, column_htmltag_type varchar, column_htmltag_data varchar) [14/Apr/1996:16:30:51 -0400][98.99] Error: ODBC message: SQLSTATE = 37000, Native err = -3551, msg = '[Microsoft][ODBC Microsoft Access 7.0 Driver] Syntax error in CREATE TABLE statement.' [14/Apr/1996:16:30:51 -0400][98.99] Error: Could not create ns_columns table to hold Extended Table Info I think I want to use the advanced features offered by ns_tables and ns_columns, so I don't really want to just turn those off. I can create tables through the Web server /NS/DB/admin link. Any ideas? Thanks. -Jim ========================================================================= Date: Mon, 15 Apr 1996 09:33:29 -0400 Reply-To: Web Development with GNNserver and GNN Hosting Service Sender: Web Development with GNNserver and GNN Hosting Service From: Joseph Heitzman Subject: Illustra I am having a little trouble with the Illustra database. I installed the gnn server and the illustra server following the directions in the online documentation. I set up the database for the nstext as textdb using the template file I downloaded from the www.tools.gnn.com site. When I configure a modem pool, it appears in the list of pools. When I set up nstext.dll to use the pool I created, and restart the server, it claims that the pool does not exist. Is there some way to make sure the pool is created other than the list on the pools page? Did I miss a step in creating something? Thanks for any help you can offer, and feel free to request more information. Joseph Heitzman ========================================================================= Date: Sun, 14 Apr 1996 19:41:14 -0700 Reply-To: Web Development with GNNserver and GNN Hosting Service Sender: Web Development with GNNserver and GNN Hosting Service From: Kireau Kendrick Subject: imagemaps and some other stuff In-Reply-To: <199604142007.NAA12517@navisoft.com> I just installed GNNserver and have a few questions. I'm using WindowsNT 3.51. Are imagemap files supported and if so, does the x.map file need to go anywhere special? Does Perl5 need to go in the cgi-bin directory? I understand this is a big security risk now. How does GNNserver get around this? Can I use an ip address only as my address instead of a domain name, and if so, does there have to be a port spec? How would that address be written as an example? ie http://123.456.789.123:80 ? Has anyone successfully set up WWWboard bbs perl scripts on this platform, ie, WinNt 3.51 w/ GNNserver? I'm hoping to transfer an ongoing BBS page from my old ISP onto my new machine. Thanks. This is a great service. Kireau ========================================================================= Date: Mon, 15 Apr 1996 11:24:45 EST Reply-To: Web Development with GNNserver and GNN Hosting Service Sender: Web Development with GNNserver and GNN Hosting Service From: mark_wang@pcmailgw.ml.com Subject: Re[2]: Recommendations - Oracle Does any one have experience of connecting GNNserver to Oracle database? ========================================================================= Date: Mon, 15 Apr 1996 12:58:50 -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: Can't create ns_tables & ns_columns w/Access 7.0 In-Reply-To: <317193A2.7ED0@meritnet.com> (message from Jim Wilcoxson on Sun, 14 Apr 1996 20:09:06 -0400) >>>>> "Jim" == Jim Wilcoxson writes: Jim> I *finally* got the ODBC stuff working on NT with Access 7.0 I hope it wasn't *too* painful! Jim> after downloading new ODBC drivers from Microsquash's Web Jim> site (get new 32-bit drivers in a zip called ge1263.exe). Jim> But when the server starts up, I get errors in the log files: Jim> [14/Apr/1996:16:30:51 -0400][98.99] Notice: SQL(mls): create Jim> table ns_tables (table_name varchar not null primary key, Jim> table_inserturl varchar, table_description varchar) Jim> [14/Apr/1996:16:30:51 -0400][98.99] Error: ODBC message: Jim> SQLSTATE = 37000, Native err = -3551, msg = '[Microsoft][ODBC Jim> Microsoft Access 7.0 Driver] Syntax error in CREATE TABLE Jim> statement.' Jim> [14/Apr/1996:16:30:51 -0400][98.99] Error: Could not create Jim> ns_tables table to hold Extended Table Info After perusing the Microsoft ODBC 2.0 Reference Guide, it does look like this is incorrect SQL; although every other driver I've tested has eaten it just fine. It seems you can't say something is "not null" and "primary key". To get around the problem, you can create the table by hand with either the /NS/Db/Admin Create Table interface or a SQL interpreter that talks ODBC. Just don't specify "primary key." Jim> [14/Apr/1996:16:30:51 -0400][98.99] Notice: SQL(mls): create Jim> table ns_columns (column_table varchar not null, column_name Jim> varchar not null, column_description varchar, Jim> column_displayas varchar, column_htmltag_type varchar, Jim> column_htmltag_data varchar) Jim> [14/Apr/1996:16:30:51 -0400][98.99] Error: ODBC message: Jim> SQLSTATE = 37000, Native err = -3551, msg = '[Microsoft][ODBC Jim> Microsoft Access 7.0 Driver] Syntax error in CREATE TABLE Jim> statement.' Jim> [14/Apr/1996:16:30:51 -0400][98.99] Error: Could not create Jim> ns_columns table to hold Extended Table Info I don't know what the problem is here; if that's not plain vanilla SQL then I don't know what is. Maybe try taking out the "not null"s or making them capital letters (NOT NULL). Jim> I think I want to use the advanced features offered by Jim> ns_tables and ns_columns, so I don't really want to just turn Jim> those off. Jim> I can create tables through the Web server /NS/DB/admin link. Let me know what happens so I can make sure 2.1 does the right thing. doug -- ---------------------------------------------------------------- Doug McKee America Online, Inc. Email: doug@tools.gnn.com 511 Bath Street Voice: (800) 529-9166 Santa Barbara, CA (805) 882-2350 93101 Fax: (805) 899-4316 http://www.tools.gnn.com ---------------------------------------------------------------- ========================================================================= Date: Mon, 15 Apr 1996 13:01:14 -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: Illustra In-Reply-To: <199604142345.TAA19674@mail-e2b-service.gnn.com> (message from Joseph Heitzman on Mon, 15 Apr 1996 09:33:29 -0400) >>>>> "Joseph" == Joseph Heitzman writes: Joseph> I am having a little trouble with the Illustra database. Joseph> I installed the gnn server and the illustra server Joseph> following the directions in the online documentation. I Joseph> set up the database for the nstext as textdb using the Joseph> template file I downloaded from the www.tools.gnn.com Joseph> site. Joseph> When I configure a modem pool, it appears in the list of Joseph> pools. When I set up nstext.dll to use the pool I created, Joseph> and restart the server, it claims that the pool does not Joseph> exist. Is there some way to make sure the pool is created Joseph> other than the list on the pools page? Did I miss a step Joseph> in creating something? Take a look at the server.log file in the log subdirectory of your installation. doug -- ---------------------------------------------------------------- Doug McKee America Online, Inc. Email: doug@tools.gnn.com 511 Bath Street Voice: (800) 529-9166 Santa Barbara, CA (805) 882-2350 93101 Fax: (805) 899-4316 http://www.tools.gnn.com ---------------------------------------------------------------- ========================================================================= Date: Mon, 15 Apr 1996 16:28:22 EDT Reply-To: Web Development with GNNserver and GNN Hosting Service Sender: Web Development with GNNserver and GNN Hosting Service From: Christian Gross <70324.1777@CompuServe.COM> Subject: Problem with Installation Hi, I just downloaded the GNN server for Solaris Sparc. I unpacked the system and ran ns-bootstrap. The bootstrapping started with no errors. I then did what the program commanded me to do with my browser. The browser found the server, but it asked me for a username and password? Where is the username and password? There is nothing about this in the documentation. Another question I have is that I installed GNN on my LINUX server and it comes with an error cannot load libm.so.5 library failure. What version of LINUX should I be using? I am currently running LINUX 1.2.8 on a INTEL 486 chip. Thanks Christian Gross ========================================================================= Date: Mon, 15 Apr 1996 16:34:10 -0500 Reply-To: Web Development with GNNserver and GNN Hosting Service Sender: Web Development with GNNserver and GNN Hosting Service From: Ashish Parikh Subject: Re: Problem with Installation In-Reply-To: Your message of "Mon, 15 Apr 1996 16:28:22 EDT." <960415202821_70324.1777_JHD38-2@CompuServe.COM> > Hi, > > I just downloaded the GNN server for Solaris Sparc. > > I unpacked the system and ran ns-bootstrap. The bootstrapping started with no > errors. I then did what the program commanded me to do with my browser. > > The browser found the server, but it asked me for a username and password? > > Where is the username and password? There is nothing about this in the > documentation. username: nsadmin password: ruffruff You should change the default password. Ashish -- ---------------------------------------------------------------------------- Ashish Parikh | 3925 W. Braker Lane, Suite 325 Savantage, Inc. | Austin, TX 78759-5321 USA (512)-305-0054 (Voice) | (512)-305-0060 (FAX) --- Keep America beautiful. Swallow your beer cans. --- ---------------------------------------------------------------------------- ========================================================================= Date: Mon, 15 Apr 1996 16:22:14 -0500 Reply-To: Web Development with GNNserver and GNN Hosting Service Sender: Web Development with GNNserver and GNN Hosting Service From: Sam Hostetter Subject: Re: Problem with Installation In-Reply-To: <960415202821_70324.1777_JHD38-2@CompuServe.COM> On Mon, 15 Apr 1996, Christian Gross wrote: > Hi, > > I just downloaded the GNN server for Solaris Sparc. > ----> some snip <---- > > Where is the username and password? There is nothing about this in the > documentation. ----> some more snip <---- > Thanks > > Christian Gross > I had the same problem. Just use nsadmin with no password and be sure to set the pass once you are in. Sam ------------------------------------------------------------------------------- Sam Hostetter |shostett@indiana.edu Computer Support Staff |(812) 855-1008 Geology Department |"Computers iz mah bizniss, an bizniss iz good!" ------------------------------------------------------------------------------- ========================================================================= Date: Mon, 15 Apr 1996 15:12:59 -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: Problem with Installation In-Reply-To: <960415202821_70324.1777_JHD38-2@CompuServe.COM> (message from Christian Gross on Mon, 15 Apr 1996 16:28:22 EDT) > I unpacked the system and ran ns-bootstrap. The bootstrapping > started with no errors. I then did what the program commanded me to > do with my browser. > The browser found the server, but it asked me for a username and > password? Use username "nsadmin" with any password. We're in the midst of documentation changes and will be sure to point this out better. > Another question I have is that I installed GNN on my LINUX server > and it comes with an error cannot load libm.so.5 library failure. > What version of LINUX should I be using? I am currently running > LINUX 1.2.8 on a INTEL 486 chip. This version should be fine; is your LD_LIBRARY_PATH set correctly? You might try including a directory that has libm.so in it along with the pthreads/lib directory mentioned in http://www.tools.gnn.com/server/platforms.html#linux doug -- ---------------------------------------------------------------- Doug McKee America Online, Inc. Email: doug@tools.gnn.com 511 Bath Street Voice: (800) 529-9166 Santa Barbara, CA (805) 882-2350 93101 Fax: (805) 899-4316 http://www.tools.gnn.com ---------------------------------------------------------------- ========================================================================= Date: Mon, 15 Apr 1996 22:26:23 PDT Reply-To: heinz@bytedesigns.com Sender: Web Development with GNNserver and GNN Hosting Service From: Heinz Wittenbecher Organization: Byte Designs Ltd. Subject: A Newbies' GNNserver/GNNpress questions I have installed the GNNserver on NT, went nice and smooth. I use Apache on Linux on a couple of other servers, but thought I'd try the GNN as a potential to be my SSL server. The other thing that impressed me during the GNN browse is what appeared to be live edit capability of my pages with GNNpress. My questions: 1) am I on the right track with GNN as my potential secure server? 2) When trying to edit a page that lives on my Linux machine, I'm unable to save it back to the Linux machine from the GNNpress running on the NT. I've been browsing docs etc but have not found a real good step by step... or is the whole scheme aimed at having one use GNNhosting for the webpages created by GNNpress. I'll keep digging as I'm quite impressed with both products, but as I have to try to get productive soon I thought I'd ask here in the hope that someone has answers or can point me to a link that might provide the answers. Thanks in advance Heinz *********************************************************************** * Heinz Wittenbecher, Byte Designs Ltd. Voice: (604) 534-0722 * * heinz@byted.com Langley, BC CANADA Fax: (604) 534-2601 * * http://www.bytedesigns.com * *********************************************************************** * Heinz Wittenbecher, Byte Designs Ltd. Voice: (604) 534-0722 * * heinz@byted.com Langley, BC CANADA Fax: (604) 534-2601 * * http://www.bytedesigns.com * ========================================================================= Date: Tue, 16 Apr 1996 09:29:11 -0500 Reply-To: Web Development with GNNserver and GNN Hosting Service Sender: Web Development with GNNserver and GNN Hosting Service From: Webmaster Subject: adding real audio to GNN server Hi. I need to add some additional mime types to GNN server so it knows about real audio files (.ra, .ram). I couldn't find where to do this from a web browser (http://localhost:9876) - do I need to edit the nsd.ini file separately or can I add these types from a browser? Thanks, Greg Selner 612-539-7767 ========================================================================= Date: Tue, 16 Apr 1996 11:23:11 -0400 Reply-To: Web Development with GNNserver and GNN Hosting Service Sender: Web Development with GNNserver and GNN Hosting Service From: Joseph Heitzman Subject: Illustra problems continued I figured out why the pool is not found. When the server starts, it tries to log on as miadmin, and says the password pair does not match the contents of the table. Do I need to enter a user into Illustra, and how is this done? I searched the entire online docs and found no reference to adding a user to the database. Thanks, Joseph Heitzman ========================================================================= Date: Mon, 15 Apr 1996 20:04:54 -0500 Reply-To: Web Development with GNNserver and GNN Hosting Service Sender: Web Development with GNNserver and GNN Hosting Service From: Adam Rothschild Organization: CyberScape Network Subject: GNNpress-NO ICONS On my PC, I alternate between running Windows NT and Windows 95. I have recently downloaded GNNPress, and installed it while in NT, and the program ran fine. However, when I tried running the same copy of GNNpress in Win95, the toolbar was present, but all the icons were blank! I tried re-installing (in Win95), but the problem persists! I want my toolbar back! What should I do??? This problem is a big annoyance, and any help or insight would be greatly appreciated. Thank you, Adam Rothschild asr@csnetwork.com ========================================================================= Date: Tue, 16 Apr 1996 08:58:12 UTC Reply-To: Web Development with GNNserver and GNN Hosting Service Sender: Web Development with GNNserver and GNN Hosting Service From: Pol Syrtsov Organization: JS PTT SvjazInform Subject: Re: Re[2]: Recommendations - Oracle (mark_wang@pcmailgw.ml.com) writes: > Does any one have experience of connecting GNNserver to Oracle > database? > Yes, I use it on NT with ODBC. You`ll need GE1263.EXE from MSL -------- Pol Syrtsov, DBA Group Manager, Web Master pol@ptt.chel.su http://www.chel.su/~pol/hello ========================================================================= Date: Mon, 15 Apr 1996 20:15:36 -0400 Reply-To: Web Development with GNNserver and GNN Hosting Service Sender: Web Development with GNNserver and GNN Hosting Service From: Shawn Eric Mathews Subject: Re: Re[2]: Recommendations - Oracle ------ =_NextPart_000_01BB2B08.FAE4C510 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable ---------- From: mark_wang@pcmailgw.ml.com Sent: Monday, April 15, 1996 12:24 PM To: Multiple recipients of list GNNDEVELOPER-L Subject: Re[2]: Recommendations - Oracle Does any one have experience of connecting GNNserver to Oracle database? -------- Yes, I connected GNNServer to Oracle using the microsoft ODBC drivers. = Also some ODBC drivers designed to work with Oracle 7.0 will crash the = GNN server, so make sue you have the latest versions available. The only problem I had was creating the ns_columns and ns_tables tables. us019327@Interramp.com Shawn Mathews ------ =_NextPart_000_01BB2B08.FAE4C510 Content-Type: application/ms-tnef Content-Transfer-Encoding: base64 eJ8+IhkAAQaQCAAEAAAAAAABAAEAAQeQBgAIAAAA5AQAAAAAAADoAAEIgAcAGAAAAElQTS5NaWNy b3NvZnQgTWFpbC5Ob3RlADEIAQ2ABAACAAAAAgACAAEEkAYAkAEAAAEAAAAMAAAAAwAAMAIAAAAL AA8OAAAAAAIB/w8BAAAAeAAAAAAAAACBKx+kvqMQGZ1uAN0BD1QCAAAAAFdlYiBEZXZlbG9wbWVu dCB3aXRoIEdOTnNlcnZlciBhbmQgR05OIEhvc3RpbmcgU2VydmljZQBTTVRQAEdOTkRFVkVMT1BF Ui1MQFNFUlZJQ0VTLldFQi5BT0wuQ09NAB4AAjABAAAABQAAAFNNVFAAAAAAHgADMAEAAAAkAAAA R05OREVWRUxPUEVSLUxAU0VSVklDRVMuV0VCLkFPTC5DT00AAwAVDAEAAAADAP4PBgAAAB4AATAB AAAAOQAAACdXZWIgRGV2ZWxvcG1lbnQgd2l0aCBHTk5zZXJ2ZXIgYW5kIEdOTiBIb3N0aW5nIFNl cnZpY2UnAAAAAAIBCzABAAAAKQAAAFNNVFA6R05OREVWRUxPUEVSLUxAU0VSVklDRVMuV0VCLkFP TC5DT00AAAAAAwAAOQAAAAALAEA6AQAAAAIB9g8BAAAABAAAAAAAAAKnVAEEgAEAJAAAAFJFOiBS ZVsyXTogUmVjb21tZW5kYXRpb25zIC0gT3JhY2xlANcLAQWAAwAOAAAAzAcEAA8AFAAPACQAAQAu AQEggAMADgAAAMwHBAAPABQACgA4AAEAPQEBCYABACEAAAA5M0YyREFENTFCOTdDRjExQkI1REFD NTI1Rjk4MDAwMgBGBwEDkAYAaAQAABQAAAALACMAAAAAAAMAJgAAAAAACwApAAAAAAADAC4AAAAA AAMANgAAAAAAQAA5AID9wtUpK7sBHgBwAAEAAAAkAAAAUkU6IFJlWzJdOiBSZWNvbW1lbmRhdGlv bnMgLSBPcmFjbGUAAgFxAAEAAAAWAAAAAbsrKdW+1dryp5cbEc+7XaxSX5gAAgAAHgAeDAEAAAAF AAAAU01UUAAAAAAeAB8MAQAAABcAAAB1czAxOTMyN0BpbnRlcnJhbXAuY29tAAADAAYQIYJRawMA BxDYAQAAHgAIEAEAAABlAAAALS0tLS0tLS0tLUZST006TUFSS1dBTkdAUENNQUlMR1dNTENPTVNF TlQ6TU9OREFZLEFQUklMMTUsMTk5NjEyOjI0UE1UTzpNVUxUSVBMRVJFQ0lQSUVOVFNPRkxJU1RH Tk5ERQAAAAACAQkQAQAAANACAADMAgAAIQUAAExaRnXg7dot/wAKAQ8CFQKkA+QF6wKDAFATA1QC AGNoCsBzZXTuMgYABsMCgzIDxgcTAoNGMwPFAgBwcnESInOodGVtAoM0Ew19CoCLCM8J2TsXnzI1 NQKABwqBDbELYG5nMTAzgxQgCwNsaTE4MALR4GktMTQ0DfAM0BwDuQtZMTYKoANgFUBjBUC+LR4n Cocc2wwwHaZGA2EuOh8uHaYMgiAAwHJrxF93GpFAcGMAwAMQQGd3Lm1sLgWgbb8ezx/dBmACMCEP IhtNAiBwZGF5LBNwFMADETFCNSjwMTk5NilgMsA6MjQgUE0kfx/djFRvJr8nzHVsdAUg6GxlIBeg YwUgCJACMDEEIG9mIBtgFTAgRwBOTkRFVkVMT2BQRVItTCqPJY51HGJqHeEsryIbUmVb/DJdM5A1 cCRBB4AosS6wwwIgBCAtIE9yANAu4OcKhQqLG2AzNhynFcIMAbMdpjpTRG8HkQBweS+wFm4u8BHA di7wZXhwuwZxCfBjLvAvwQWgbjtQ2x3wC4BnMDIR8HI7oAXAvHRvNvw6UzZhAaBhEfDePzdvOH4S 8gwBYwBAHhffP+8LKDl1QmEdl1kHkCjwPkk8pgmAMDIGYT3LIHWTAJA9MXRoLvBtaQUADG9zL8AF QE9EQkOnP0AFED3Bcy4TcGxJQD86UElAB4BJiz9AB5BpZ1c7UEbwPgF3BbBrTKBpo0iwR9Y3LjBM 8WwDIP8FAD+gTTBIsjBBSsA9oyjwK0qRAMBrLvBzClAgef8IYDt0SLILYBVAMBFKEjaTrzuQI7EB oC7gLkMsVEjB3QIgbDsgHaFSoW1GQRHA70bwIzAEIAUAZTZxSIUAgPJfFxF1bVISKLBWMgGRXy7g BCBXZFLdSFAwKbAzcDI3QEkCMASQNxBtqnAkOVMRwHcDoE02cPlIwHdzQF9Bbh2mQ5UWwQIAXwAD ABAQAAAAAAMAERAAAAAAQAAHMDBL1i4pK7sBQAAIMDBL1i4pK7sBHgA9AAEAAAAFAAAAUkU6IAAA AAADAA00/TcAAJc6 ------ =_NextPart_000_01BB2B08.FAE4C510-- ========================================================================= Date: Tue, 16 Apr 1996 10:54:31 -0400 Reply-To: Web Development with GNNserver and GNN Hosting Service Sender: Web Development with GNNserver and GNN Hosting Service From: Brad Chick Subject: Re: Searching question At 01:25 PM 4/14/96 -0700, you wrote: > Peter> Where do I find information on how to allow non-gnnpress > Peter> users viewing ours web pages to search for information? > > Peter> I can't find any reference to searching besides using > Peter> Tools->Search Server from the GnnPress menubar. Thanks a > Peter> lot. > >Goto the /NS/Search URL on your virtual server -- it's the same page >that GNNpress will bring up from Tools->Search Server. You may edit >this page how you like, save it where you'd like, and then make links >from your other pages to it. > Great. But I would like the search results page to look like the rest of the pages on the virtual server (as opposed to having the GNNHosting header image). How can I do that? ------------------------------------------------------------------------------- --o / Brad Chick `\<, / "DoMan" 0/ 0 / \e/ Do It Sports, Inc. __o __o / I 2360 E. Stadium Blvd. `\<, `\<, / `\\, Suite 13 (aren't we lucky?) O/ O --o O/ O/ O/ O Ann Arbor, MI 48014 `\<, / 0/ 0 / Voice: (313) 971-0120 __o / Fax: (313) 971-8248 `\-\ / 0/ 0 / e-mail: doman@doitsports.com ------------------------------------------------------------------------------- "Doesn't matter where you finish, so long as you're sweating!" -DoMan ========================================================================= Date: Tue, 16 Apr 1996 20:00:46 +0200 Reply-To: Web Development with GNNserver and GNN Hosting Service Sender: Web Development with GNNserver and GNN Hosting Service From: Olav Schettler Organization: MetroNet Subject: Again: Oracle Has somebody tried to adapt the example Postgres95 driver supplied with GNNserver to interface to the ORACLE Call Level Interface? I need to run this on a SPARC machine. Cheers, -- Dr. Olav Schettler tel: +49 2241 123-110 MetroNet fax: +49 2241 123-199 Zeithstrasse 87 email: olav@set.gmd.de D-53721 Siegburg, Germany ========================================================================= Date: Tue, 16 Apr 1996 11:03:12 -0700 Reply-To: Web Development with GNNserver and GNN Hosting Service Sender: Web Development with GNNserver and GNN Hosting Service From: Edward Un Subject: Can I run each virtual server with a different user? I am running GNN server on a Solaris/SPARC. Is it possible to set GNNServer so that each virtual server is running with a different user id? I am trying to set up several virtual servers that serve different document directories. I want to combine the permissions with the unix file system permission so that people can only access certain document directories for a particular domain but not all of it when they are in the system (e.g. ftp or telnet). If that is not possible, can anyone think of a workaround? Thanks, Ed -- ------------------------------------------------------------------------- Edward Un 444 De Haro Street, Suite 132 Just in Time Marketing, 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: Tue, 16 Apr 1996 15:53:59 -0500 Reply-To: Web Development with GNNserver and GNN Hosting Service Sender: Web Development with GNNserver and GNN Hosting Service From: Tank Subject: Multiple (over 5) IP's on WinNT Greets All- Can anyone tell me what the registry entry is for configuring WinNT to service more than 5 IP's on a single interface? I have looked through all the TCP/IP Registry entries in the Resource Guide, but can't seem to find it... In addition, I have heard that some people have been able to run stabily while using more than 16 IP's. Can anyone verify this? Tnx ______________________________________________________________________________ Tank (SPM) Sean P. McNamara The Planet Group, Inc. Tank@PG.NET Design, Communications, and Technology Voice: (312) 772-8333 Fax: (312) 772-9214 ========================================================================= Date: Tue, 16 Apr 1996 14:44:00 PDT Reply-To: Web Development with GNNserver and GNN Hosting Service Sender: Web Development with GNNserver and GNN Hosting Service From: Heinz Wittenbecher Subject: Re: A Newbies' GNNserver/GNNpress questions Comments: To: mclark@hooked.net > Heinz Wittenbecher wrote: > > > > I have installed the GNNserver on NT, went nice and smooth. > > > > I use Apache on Linux on a couple of other servers, > > but thought I'd try the GNN as a potential to be my SSL server. > > > > The other thing that impressed me during the GNN browse is > > what appeared to be live edit capability of my pages with GNNpress. > > > > My questions: > > 2) When trying to edit a page that lives on my Linux machine, > > I'm unable to save it back to the Linux machine from the > > GNNpress running on the NT. > > As far as I can see (not very), the two programs, GNNserver and GNNpress do > an intricate dance to > update pages. GNNpress, using internal propritary software, uploads the > page to the GNNserver, > which is also running a prop. software to recive and properly place the page > and any grafics > (Much better than NS Gold, BTW) sent to it by GP. The good side is, you > need not play with FTP > and the like, the downside is, only GNNserver can recive the 'auto updates' > that GP puts out. > And, only GNNserver can respond to special things like 'Search Server' in > GP. > Please, correct me if I am wrong! > > --matt Clark > > Thank you matt, and everyone else. Now what's the downside to switching from Apache to GNNserver? This may not be the place to ask, but perhaps others have been in the same spot and have switched for some reason or other. No SSL module available for Linux yet, but as I plan to run 2 servers anyways it may be a non-problem. What am I looking for? I hope to run about 20-30 Virtual hosts at some point in the future. The whole scheme needs to be easily updated, preferrably via easy remote by some of the virtual hostmasters. Is anyone server better than another for developing real-time addons or rather mini-apps to tie into a realtime point of sale environment. Ie addon miniapps in C or Perl? We presently run our 'under construction' website with Linux/Apache, if for no other reason than it was easy to setup and it's running. This allows me a little breathing room to 'explore' so that if/when I make a switch I have a better than reasonable chance to only make such a change once :-) Guess I'm going to try GNN on Linux this weekend. In the meantime any pointers or cautions cratly appreciated. Sorry to be so lonqwinded, but it seems the more knowlwedge I gain the more I find out that I don't know enough. 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: Tue, 16 Apr 1996 15:11:53 -0700 Reply-To: Web Development with GNNserver and GNN Hosting Service Sender: Web Development with GNNserver and GNN Hosting Service From: Matt Clark Subject: Re: A Newbies' GNNserver/GNNpress questions Comments: To: heinz@bytedesigns.com Heinz Wittenbecher wrote: > > I have installed the GNNserver on NT, went nice and smooth. > > I use Apache on Linux on a couple of other servers, > but thought I'd try the GNN as a potential to be my SSL server. > > The other thing that impressed me during the GNN browse is > what appeared to be live edit capability of my pages with GNNpress. > > My questions: > 2) When trying to edit a page that lives on my Linux machine, > I'm unable to save it back to the Linux machine from the > GNNpress running on the NT. As far as I can see (not very), the two programs, GNNserver and GNNpress do an intricate dance to update pages. GNNpress, using internal propritary software, uploads the page to the GNNserver, which is also running a prop. software to recive and properly place the page and any grafics (Much better than NS Gold, BTW) sent to it by GP. The good side is, you need not play with FTP and the like, the downside is, only GNNserver can recive the 'auto updates' that GP puts out. And, only GNNserver can respond to special things like 'Search Server' in GP. Please, correct me if I am wrong! --matt Clark ========================================================================= Date: Tue, 16 Apr 1996 16:13:42 -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: A Newbies' GNNserver/GNNpress questions In-Reply-To: (message from Heinz Wittenbecher on Tue, 16 Apr 1996 14:44:00 PDT) > Heinz Wittenbecher wrote: > > > > I have installed the GNNserver on NT, went nice and smooth. > > > > I use Apache on Linux on a couple of other servers, > > but thought I'd try the GNN as a potential to be my SSL server. > > > > The other thing that impressed me during the GNN browse is > > what appeared to be live edit capability of my pages with GNNpress. > > > > My questions: > > 2) When trying to edit a page that lives on my Linux machine, > > I'm unable to save it back to the Linux machine from the > > GNNpress running on the NT. > > As far as I can see (not very), the two programs, GNNserver and > GNNpress do an intricate dance to update pages. GNNpress, using > internal propritary software, uploads the page to the GNNserver, > which is also running a prop. software to recive and properly place > the page and any grafics (Much better than NS Gold, BTW) sent to it > by GP. The good side is, you need not play with FTP and the like, > the downside is, only GNNserver can recive the 'auto updates' that > GP puts out. And, only GNNserver can respond to special things like > 'Search Server' in GP. Please, correct me if I am wrong! The dance GNNpress and GNNserver do is not actually all THAT intricate, and it's certainly not proprietary. It all comes down to the fact that GNNserver is one of the only servers out there that supports the HTTP PUT method, even though it's been in the public spec for ages. And GNNpress is one of the only authoring tools to support PUT. It does make for a powerful and fairly unique combination. > And, only GNNserver can respond to special things like 'Search > Server' in GP. When a user does a 'Search Server' in GNNpress, press just requests a particular URL from the server. This URL does something special on GNNserver (brings up a search form). doug -- ---------------------------------------------------------------- Doug McKee America Online, Inc. Email: doug@tools.gnn.com 511 Bath Street Voice: (800) 529-9166 Santa Barbara, CA (805) 882-2350 93101 Fax: (805) 899-4316 http://www.tools.gnn.com ---------------------------------------------------------------- ========================================================================= Date: Tue, 16 Apr 1996 19:20:56 -0400 Reply-To: Web Development with GNNserver and GNN Hosting Service Sender: Web Development with GNNserver and GNN Hosting Service From: Jeff Rawlings Subject: Example script: dynamic pages from the database Hi, all. I've heard several requests for example code to build dynamic pages from the database. This is a pretty basic example of a script that builds such pages. The sample implementation of this script is our new "FAQ Database"; you can try out the search at: http://www.gnnhost.com/publish/faq/qanda.htm I will be adding the script to the Developers' Corner soon... Without further ado, here it is: -------------------------------- ns_register_proc POST /searchtable returnhitlist # the first proc will vary based on how you want to create the SQL, and # which table, template and header pages you want to use. proc returnhitlist {conn ignore} { set formdata [ns_conn form $conn] #create the sql... Here, I create the sql statement based on the formdata; #some of you might want to just write the completed sql here. #This version expects a table called "faq" and formdata containing #field names that correspond exactly to column names in the table. set sql "select * from faq where approved = 't'" set formsize [ns_set size $formdata] for {set i 0} {$i < $formsize} {incr i} { if {[ns_set value $formdata $i] != ""} { append sql " and [ns_set key $formdata $i] like \ [quotesqlvalue [ns_set value $formdata $i]]" } } append sql ";" # The templatefile contains formatting information for each row returned # by the search. buildreturnpage will replace #column_name with the contents # of that column for each row. # The headerfile is a wrapper, and only needs to contain the # string: # You can set these file locations explicitly here (like I did), or get # them from the formdata with [ns_set get $formdata templatefile]. set templatefile /publish/faq/template.txt set headerfile /publish/faq/results.htm set page [buildreturnpage $conn $sql $templatefile $headerfile] ns_return $conn 200 text/html $page } proc buildreturnpage {conn sql templatefile headerfile} { set db [ns_db gethandle ns] # Do the database search if [catch { set row [ns_db select $db $sql] } errMsg] { return [ns_dbreturnerror $conn $db "Could Not Perform Search"] } # Get the template information set templocation [ns_url2file $templatefile] if [catch {set tempid [open $templocation r]}] { return [ns_returnnotfound $conn] } set template [read $tempid] close $tempid # Build the hitlist, based on the formatting of the tempatefile. set tmppage "" while {[ns_db getrow $db $row]} { set size [ns_set size $row] set tmptemplate $template for {set i 0} {$i < $size} {incr i} { set key "#[ns_set key $row $i]" set value [regsubquote [ns_set value $row $i]] regsub -all $key $tmptemplate $value tmptemplate } append tmppage $tmptemplate unset tmptemplate } # Get the header information and insert the hitlist into the return page. set header [ns_url2file $headerfile] if [catch {set pageid [open $header r]}] { return [ns_returnnotfound $conn] } set page [read $pageid] close $pageid regsub "" $page [regsubquote $tmppage] page return $page } # regsubquote muddles with the column contents so that the & character doesn't # mess up the regsub statements above. proc regsubquote {value} { regsub -all "&" $value {\\\&} value return $value } -------------------- Please let me know what you think! If you have any questions about the script, please ask them on the list. By the way, this version of the script is specific for GNNserver 2. Cheers, Jeff Rawlings rawlings@gnnhost.com Webmaster, GNN Hosting Service http://www.gnnhost.com/ Moderator, gnnhost-l and gnndeveloper-l For inquiries about Web Hosting, send email to ========================================================================= Date: Tue, 16 Apr 1996 20:07:51 -0400 Reply-To: Web Development with GNNserver and GNN Hosting Service Sender: Web Development with GNNserver and GNN Hosting Service From: BKD879A@BAFCO.BELL-ATL.COM Subject: GNN Document Checkout The GNNserver/press combination is great! And would even go a long way to solving a problem I have if it could do one thing. My problem is that of multi-user publishing. If two people have access to a document and make edits, the last person to check the document in wins. I need some way to mark the document as "checked out", not to prevent downloading, but to not allow a person to check in a document when it is checked out. And also give some kind of warning to the user when accessing a document that is checked out so they don't make edits that will be wasted. Has any thought been given to this problem and how much work would it be to modify GNNpress/server to maintain this state and provide indication of document status. Thanks, Rick Austin Bell Atlantic 4242 Duke Street Alexandria, VA 22304 703-212-6861 richard.w.austin@bell-atl.com ========================================================================= Date: Tue, 16 Apr 1996 19:30:22 PDT Reply-To: heinz@bytedesigns.com Sender: Web Development with GNNserver and GNN Hosting Service From: Heinz Wittenbecher Organization: Byte Designs Ltd. Subject: Trying to install GNNserver on Linux I'm assuming that I should be able to run the installation phase (nsbootstrap) even though I have Apache running? Am I wrong? All seemed well in the startup script until setup.tcl it then error'd with: Could not initialize Tcl. As best as I can tell I do have the tcl modules installed, as I installed the complete Caldera Redhat. Or should I not be trying to run it while Apache is up and running even though the ports are (or would be) different. Trying to fasttrack my gnn evaluation... 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, 17 Apr 1996 03:31:15 -0400 Reply-To: Web Development with GNNserver and GNN Hosting Service Sender: Web Development with GNNserver and GNN Hosting Service From: Doug Crichlow Subject: Re: GNNpress-NO ICONS Are there separate mail lists for those with the different levels of service? Our site uses GNN Commercial service. The intricate scripting questions and problems discussed by those with their own servers are not valuable to us. OTH, we definitely like to have a place to discuss/learn from others with Commercial service. How do we subscribe if there is a Commercial svc list...if there is one? If there isn't, can one be created? Doug Crichlow ========================================================================= Date: Wed, 17 Apr 1996 09:39:39 +0200 Reply-To: Web Development with GNNserver and GNN Hosting Service Sender: Web Development with GNNserver and GNN Hosting Service From: Michael Juergens Organization: Crocodial Communications Subject: Re: Multiple (over 5) IP's on WinNT Tank wrote: > > Greets All- > > Can anyone tell me what the registry entry is for configuring WinNT > to service more than 5 IP's on a single interface? I have looked through > all the TCP/IP Registry entries in the Resource Guide, but can't seem to > find it... You can find this under: HKEY_LOCAL_MACHINE/SYSTEM/CurrentControlSet/Services//Parameters/Tcpip/ there you have to edit the Lists: IPAdress and SubnetMask But there are some Problems when you run the TCPIP/Control Panel after this. -- -- Michael Juergens michael@crocodial.de Crocodial Communications Ophagen 16a D-20257 Hamburg Tel: +49.40.853264-0 Fax: +49.40.853264-64 ------------------------- ========================================================================= Date: Wed, 17 Apr 1996 04:46:28 -0400 Reply-To: Web Development with GNNserver and GNN Hosting Service Sender: Web Development with GNNserver and GNN Hosting Service From: Axel Rebai Subject: Clickable Images hello, I want to use clickable images with GNN server Before use GNN Server I use EMWAC server and the images clikable that I create run in good condition. The map file is for example: circle 200,120 10 /image.htm default /error.htm Now I use GNN because I want more that one server web. The server web run correctely. But when I click on the image gnn server can't found the file image.htm and always take the default file error.htm the problem is it in the configuration of the file nds.ini or in the map file that define circle "circle 200,120 10 ? thanks for your help axel rebai ________________________________________________________ Axel Rebai Maison de la Productique de Roanne Esplanade diderot 42300 Roanne Tel 77 71 20 00 Fax 77 72 52 99 ________________________________________________________ ========================================================================= Date: Wed, 17 Apr 1996 08:45:39 -0400 Reply-To: Web Development with GNNserver and GNN Hosting Service Sender: Web Development with GNNserver and GNN Hosting Service From: Scott Williams Subject: Re: Multiple (over 5) IP's on WinNT ------ =_NextPart_000_01BB2C3A.46255E40 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit On Tuesday, April 16, 1996 4:53 PM, Tank wrote: >Greets All- > > Can anyone tell me what the registry entry is for configuring WinNT >to service more than 5 IP's on a single interface? I have looked through >all the TCP/IP Registry entries in the Resource Guide, but can't seem to >find it... In addition, I have heard that some people have been able to run >stabily while using more than 16 IP's. Can anyone verify this? > >Tnx > >______________________________________________________________________________ >Tank (SPM) Sean P. McNamara > The Planet Group, Inc. >Tank@PG.NET Design, Communications, and Technology > Voice: (312) 772-8333 > Fax: (312) 772-9214 > Tank, You have to go into regedit and manually add the keys. I think it is different for each software package, but I am not sure. Scott Williams CyberShore, Inc - Premium Internet Services ~~~~~ Phone: (203) 245-1175 Fax: (203) 245-4513 http://www.cshore.com/ (under construction) ------ =_NextPart_000_01BB2C3A.46255E40 Content-Type: application/ms-tnef Content-Transfer-Encoding: base64 eJ8+IjAMAQaQCAAEAAAAAAABAAEAAQeQBgAIAAAA5AQAAAAAAADoAAENgAQAAgAAAAIAAgABBJAG AJABAAABAAAADAAAAAMAADADAAAACwAPDgAAAAACAf8PAQAAAHgAAAAAAAAAgSsfpL6jEBmdbgDd AQ9UAgAAAABXZWIgRGV2ZWxvcG1lbnQgd2l0aCBHTk5zZXJ2ZXIgYW5kIEdOTiBIb3N0aW5nIFNl cnZpY2UAU01UUABHTk5ERVZFTE9QRVItTEBTRVJWSUNFUy5XRUIuQU9MLkNPTQAeAAIwAQAAAAUA AABTTVRQAAAAAB4AAzABAAAAJAAAAEdOTkRFVkVMT1BFUi1MQFNFUlZJQ0VTLldFQi5BT0wuQ09N AAMAFQwBAAAAAwD+DwYAAAAeAAEwAQAAADkAAAAnV2ViIERldmVsb3BtZW50IHdpdGggR05Oc2Vy dmVyIGFuZCBHTk4gSG9zdGluZyBTZXJ2aWNlJwAAAAACAQswAQAAACkAAABTTVRQOkdOTkRFVkVM T1BFUi1MQFNFUlZJQ0VTLldFQi5BT0wuQ09NAAAAAAMAADkAAAAACwBAOgEAAAACAfYPAQAAAAQA AAAAAAADqVQBCIAHABgAAABJUE0uTWljcm9zb2Z0IE1haWwuTm90ZQAxCAEEgAEAJAAAAFJFOiBN dWx0aXBsZSAob3ZlciA1KSBJUCdzIG9uIFdpbk5UAP8KAQWAAwAOAAAAzAcEABEACAAtACcAAwBH AQEggAMADgAAAMwHBAARAAgAKQAPAAMAKwEBCYABACEAAAA5NjMwMUMwM0MwOTZDRjExQUIwQzFD NUMxMkMxMDAwMADvBgEDkAYAzAUAABIAAAALACMAAQAAAAMAJgAAAAAACwApAAEAAAADADYAAAAA AEAAOQAAPW/IWyy7AR4AcAABAAAAJAAAAFJFOiBNdWx0aXBsZSAob3ZlciA1KSBJUCdzIG9uIFdp bk5UAAIBcQABAAAAFgAAAAG7LFvIIgMcMJeWwBHPqwwcXBLBAAAAAB4AHgwBAAAABQAAAFNNVFAA AAAAHgAfDAEAAAAVAAAAc3dpbGxpYW1zQGNzaG9yZS5jb20AAAAAAwAGEAa44OUDAAcQqwIAAB4A CBABAAAAZQAAAE9OVFVFU0RBWSxBUFJJTDE2LDE5OTY0OjUzUE0sVEFOS1dST1RFOkdSRUVUU0FM TC1DQU5BTllPTkVURUxMTUVXSEFUVEhFUkVHSVNUUllFTlRSWUlTRk9SQ09ORklHVVJJTkcAAAAA AgEJEAEAAABCBAAAPgQAAFgJAABMWkZ1N5eIGv8ACgEPAhUCqAXrAoMAUALyCQIAY2gKwHNldDI3 BgAGwwKDMgPFAgBwckJxEeJzdGVtAoMz1wLkBxMCgzQSyjEPzwIA9jUSzBTINgRGFeUIVQKDtjcD xhTIOBLHEXUwFLYufQqACM8J2TsebzI1HjUCgAqBDbELYG5nMQwwMxRQCwNsaTM2Lw3wC1UXcgwB YwBAIE8FA6BUClBzZGF5LCcUsBNQAxExNiRQMTkAOTYgNDo1MyAUUE0kUFQAcGsgd+sDYBPQOgqE PgtGGQEjNKsicSZSYwVARwnRdBsx2GxsLQqEIo8xJw8oGNcpfyqPK58gL9ZDA5EAcLJ5AiBlIBPQ KUAgB4BnJjARgAVAdGgw8B5wZ+EEAHRyeSAJ8DJyBAAOIAIQBcAFoG5maWeTCHEhcCBXC4BOVCyv Jy2/Ls8xAG8gEbBydnxpYzDwBGAecDHRA5E18CBJUCcEIAIgMJA38J00AWww8AuAE9ByZgDQpGU/ L9BJIBGAdjDwOR4Ab2sJgDHRA2B1Z35oNJ81rza/MJAxMTHiVPhDUC85QAfwMjoIkAQgNwuAMdNA kHMIYThRR3WmaQ2wJFBidQVAYwBw/icFQBGwE+A3wTxvPX8+j8czMAuAO9BpdC5H0Dkw6TCBZGRH sGkCICRQOxU/MfALETjCQ5EDcDDwcGXubwtQSTE7QmIJ4TCQAmDjMPE34HJ1bkQvRT9GT3838AGR AxAykDGQAxAw8HX/OeI4eSTQOTNH8DBpO1AGgfcykDHgBAA/TB9NL04/Uz/nVE9VXyPQbnhWb1d/ WI/3Wd9a71v/X2A/YU9iX2Nvn2QHXQ9eH18vJeQoUyWwXikv1y/WBmADkVBH8E3IY05hAMByYWUf Zi/XZz9o/27pVDHxUCFREcCLKLEIYHBIwW5jLmsPB2wfbS8l40BQRy5O9EVUbu5EB5AzwEixCFC8 bW1L8DhAMbBIkXMkUEsAcDvQVAWQaG4d8Wc+eXFfcm9zf27vfIlWb0U4QTpokDMxMmjgN+kBwC04 IbAzeK95v3rP43yPgslGYXh94C/QfgjwOTIxNH7vf/+BD4UmbyH/IwgKhSXyLAqECoVZ9whgOyQ3 0Wc34DpRS8EyMO8JgEewd7MDgXU/oTKQSEH/MdM7sBOwcUUKhTsQUuEmEf+NoTMRSGAN0ASQMrEz M0lgdxFwSfEBgHcKwEoxANBr3mGNcEL0OxBqsCB4QEOR/QhwZY9ri0oLNxvyAdAGAN8FoAJANDEp QAcwbRMgCrLEQ3lLEHJTaDiRcPOMIC0loB5wbWl1Q+B/SBA6cXBiBmE4MpfkL9N+e5uSCqNQmKAw 4H3hAdAzAWjgMjQ1LTExN98XcAqyg9OcqJ0QMSHDOyBBAkBwOi8vd5/ALtxjc5iin/ADcC9okEvw twSBM3IyYXUokEiRKYtkAn2icAAAAwAQEAAAAAADABEQAAAAAEAABzDA8tMqWyy7AUAACDDA8tMq Wyy7AR4APQABAAAABQAAAFJFOiAAAAAA1NA= ------ =_NextPart_000_01BB2C3A.46255E40-- ========================================================================= Date: Wed, 17 Apr 1996 10:06:14 -0400 Reply-To: rasmus@madhaus.utcs.utoronto.ca Sender: Web Development with GNNserver and GNN Hosting Service From: Rasmus Lerdorf Subject: Re: GNN Document Checkout In-Reply-To: <0031600002490492000002*@MHS> > Has any thought been given to this problem and how much work would it > be to modify GNNpress/server to maintain this state and provide > indication of document status. It might be nice to somehow add CVS support to accomplish this. CVS allows multiple people to work on the same files concurrently and merges any changes. Changes to the same line of a file by multiple people result in a conflict which would then have to be manually fixed. CVS sits on top of the standard RCS package and both are available from prep.ai.mit.edu/pub/gnu -- Rasmus Lerdorf rasmus@madhaus.utcs.utoronto.ca ========================================================================= Date: Wed, 17 Apr 1996 14:31:14 +0100 Reply-To: Web Development with GNNserver and GNN Hosting Service Sender: Web Development with GNNserver and GNN Hosting Service From: Howard Jones Subject: SSL outside US? Are there any plans to make a legal SSL module for Europe? Also, is there a printed manual for GNNServer or a downloadable tar of the HTML, like there was with Navi? We were about to spend our hard-earned on Naviserver, and now we don't need to, I was hoping we can still get the features we were going to get had we paid (even if it still costs to get the extra ones). Thanks for any light anyone can shed... Howard (Great server so far!) -- Howard Jones Voss Net Plc. Internet: hjones@vossnet.co.uk http://www.vossnet.co.uk/people/Howard/index.html ========================================================================= Date: Wed, 17 Apr 1996 16:50:33 +0000 Reply-To: Web Development with GNNserver and GNN Hosting Service Sender: Web Development with GNNserver and GNN Hosting Service 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: Installing GNNServer 2.03 on Win-NT Server Hi, after a short affair with Micrsofts IIS, I want to return to Naviserver aka GNNServer. The reason for the temporary switch to MS IIS was the Memoryleak(?), which caused Naviserver to stop on our machine. After installing GNNServer including the patch under Windows NT4.0 beta Workstation on my computer at home it worked like a charm. I tried the install on our local webserver, a NT Server 3.51_SP4, but I couldn4t get the webservice to start. I stopped the MS IIS before the install, to avoid conflicting ports. The server is installed into d:\gnnserv The OS resides in c:\winnt It seems that some of the initialization entries in NSD.INI or the registry are missing. I started the webserver from the command prompt and it is looking for nsd.ini in c:\windows (there is no c:\windows on this machine). I could only find a nsd.ini d:\gnnserv After passing the location of the nsd.ini with the commandline argument the server seems to start, but I couldnt contact the server on port 80 or on its administrative port 9876. The nsd.ini contains only the lines: [ns\parameters] home=D:\GNNServ [ns\module\nsdb\drivers] illustra=nsill.dll odbc=nsodbc.dll So NT-Registry shows only a entry GNN, without any other keys and values. What am I doing wrong? Any help is appreciated. kind regards --Christof Christof Schmidbauer jwgi@wiwi.uni-frankfurt.de Vereinigung Technischer Analysten Deutschlands e.V. http://caladan.wiwi.uni-frankfurt.de/VTAD/ ========================================================================= Date: Wed, 17 Apr 1996 11:15:46 -0400 Reply-To: Web Development with GNNserver and GNN Hosting Service Sender: Web Development with GNNserver and GNN Hosting Service From: BPVW89K@CPUSIC.BELL-ATL.COM Subject: Database Pools Do not show up I recently installed GNNServer on Win NT 3.51. I have been trying to access Sybase, DB2 and Redbrick using ODBC drivers from the GNNServer. The ODBC Database Pools show up in the ../NS/DB/Admin URL when I start the server with the -f option. However, when I start the server as a Service, the Database Pools do not show up and the NS/DB/Admin says that "No databases available". Can anyone tell me what exactly is wrong ? Thanks M. C. Sankar Data Services - SDA - IT 13100 Columbia Pike A22 Silver Spring MD 20904 bpvw89k@bell-atl.com ========================================================================= Date: Wed, 17 Apr 1996 10:28:17 -0500 Reply-To: Web Development with GNNserver and GNN Hosting Service Sender: Web Development with GNNserver and GNN Hosting Service From: Ashish Parikh Subject: what does this database error really mean? I have created a view and I'm trying to do a search on it using the forms interface of GNNserver. When I run the search, I get the following error: [17/Apr/1996:10:22:26 -0500][20611.0xb5] Notice: SQL(default:text): select site _name, hostname, hostid, feat_name, feat_version, feat_exp, feat_numlic, feat_ke y, feat_cksum, oid from FeatLicView [17/Apr/1996:10:22:26 -0500][20611.0xb5] Notice: Ns_Ill(default:text): X42M01:a ccess rule violation on table FeatLicView, operation: select However, when I execute the same SQL using nsql I get no error and the expected results. So, what am I doing wrong and what exactly does the Ns_Ill error above really mean? Thanks, Ashish -- ---------------------------------------------------------------------------- Ashish Parikh | 3925 W. Braker Lane, Suite 325 Savantage, Inc. | Austin, TX 78759-5321 USA (512)-305-0054 (Voice) | (512)-305-0060 (FAX) ---------------------------------------------------------------------------- ========================================================================= Date: Wed, 17 Apr 1996 12:30:05 -0400 Reply-To: Web Development with GNNserver and GNN Hosting Service Sender: Web Development with GNNserver and GNN Hosting Service From: Jeff Rawlings Subject: Mailing list scope (was Re: GNNpress-NO ICONS) At 03:31 AM 4/17/96 -0400, Doug Crichlow wrote: >Are there separate mail lists for those with the different levels of service? >Our site uses GNN Commercial service. The intricate scripting questions and >problems discussed by those with their own servers are not valuable to us. > >OTH, we definitely like to have a place to discuss/learn from others with >Commercial service. > >How do we subscribe if there is a Commercial svc list...if there is one? If >there isn't, can one be created? Doug, We did have rationale for creating a single list for both users of GNNserver software and Commercial Hosting Service members. In planning the list, we felt that many of the questions, specifically about Illustra and the Tcl API, would be similar for both groups; we wanted to encourage cross-pollination of ideas and avoid duplication. As it turns out, the majority of the discussion currently seems to be about configuration, installation, and use of ODBC and other databases. These topics are not relevant for most Hosting Service members, so I can definitely understand the desire for a separate forum. At the same time, where there *is* overlap between the groups, I would like to maintain a single forum so that everyone can benefit from the discussion. At this time, I see a few possibilities, and I'd like to get some feedback: 1) Commercial members could stay on this list, but use the digest form of subscription. That would allow easier identification of posts relevant to them, in a single daily message. 2) We could create a separate list for discussion of the Tcl API, use of Illustra, and any other issues relevant to commercial hosting customers. 3) I can look into setting up TOPICS for the list, so that each of you can subscribe only to topics that interest you. Sample topics might be: Tcl, Illustra, C, Config, ODBC, Install. Proper use of topics requires a bit of discipline on your part: the subject line for each message to the list should be prefaced with appropriate topic names. Please let me know your thoughts on these possibilities. I want to make this user group a valuable resource for everyone inolved! Cheers, Jeff Rawlings rawlings@gnnhost.com Webmaster, GNN Hosting Service http://www.gnnhost.com/ Moderator, gnnhost-l and gnndeveloper-l For inquiries about Web Hosting, send email to ========================================================================= Date: Wed, 17 Apr 1996 18:01:19 +0200 Reply-To: Web Development with GNNserver and GNN Hosting Service Sender: Web Development with GNNserver and GNN Hosting Service From: Kristian Jorg Subject: Trouble using Illustra from GNNserver on SunOs4.1.4 Hi All! I am having problems to access an Illustra database from gnnserver. After having set up the illustra stuff, using the texdb.dmp to create a new database, gnndb, and set up the nsd.ini to connect to it ity still does not work. The server just exits with exit code 127. The last line in the log is: [17/Apr/1996:17:26:15 +0000][2543.0xa61e0] Notice: Ns_ModuleSymbol: Loading module file: /proj1/web/gnnserver/bin/nsill.so Some data: GNNServer 2.04 Illustra 3.2 SunOs4.1.4 Database name gnndb Database user: miadmin Database User passwd: none (empty that is) If I try to set a password for miadmin with nsql (started as: nsql -U miadmin gnndb') and using the following sql statement: update users set user_passwd = 'mypass' where user_name = 'miadmin' Nothing happen. Nsql just sits there. In fact whatever I type is ignored. A Ctr-C return a '*' prompt thats it... Nsql reports in when started that it connects to the gnndb on "connection 0". Both the license server and midaemon is running OK, SO WHAT IS WRONG?? Hoping for an solution to this. The package all-in-all promises a lot. I have already set up the server and a few pages with gnnpress. Works superbly. Haven't found any support for frames but apart from that. Super! (When I get the database running, that is :-) Regards Kristian ========================================================================= Date: Wed, 17 Apr 1996 10:19:08 -0700 Reply-To: Web Development with GNNserver and GNN Hosting Service Sender: Web Development with GNNserver and GNN Hosting Service From: wells@alexandria.sdc.ucsb.edu Subject: Re: what does this database error really mean? In-Reply-To: Your message of "Wed, 17 Apr 96 10:28:17 CDT." <199604171528.KAA12870@sage.savantage.com> > I have created a view and I'm trying to do a search on it using the forms > interface of GNNserver. > > When I run the search, I get the following error: > [17/Apr/1996:10:22:26 -0500][20611.0xb5] Notice: SQL(default:text): select > site > _name, hostname, hostid, feat_name, feat_version, feat_exp, feat_numlic, > feat_ke > y, feat_cksum, oid from FeatLicView > [17/Apr/1996:10:22:26 -0500][20611.0xb5] Notice: Ns_Ill(default:text): > X42M01:a > ccess rule violation on table FeatLicView, operation: select > > However, when I execute the same SQL using nsql I get no error and the > expected results. > > So, what am I doing wrong and what exactly does the Ns_Ill error above really > mean? When tables are created in an Illustra database, by default only the creator has access to them. Thus if you created the tables as a user in nsql you can access them in nsql. But when the GNNserver uses the database, it logs in as nsadmin by default(I think). You can change who the GNNserver logs in as in the nsd.ini file. But it is a bad I idea to give the GNNserver access that only a system adminstrator should have. The correct solution is to allow access to the tables in illustra. To do this look up the "grant" command in Illustra. It roughly looks like this: grant select on table_name to nsadmin; You must do this for each table you want to allow access to. To allow inserts and updates as well as selects, grant all on table_name to nsadmin; Hope that helps, Alex Wells Alexandria Digital Library > > Thanks, > Ashish > -- > ---------------------------------------------------------------------------- > Ashish Parikh | 3925 W. Braker Lane, Suite 325 > Savantage, Inc. | Austin, TX 78759-5321 USA > (512)-305-0054 (Voice) | (512)-305-0060 (FAX) > ---------------------------------------------------------------------------- ========================================================================= Date: Wed, 17 Apr 1996 13:21:48 -0400 Reply-To: Web Development with GNNserver and GNN Hosting Service Sender: Web Development with GNNserver and GNN Hosting Service From: Jim Wilcoxson Organization: Merit Software, Inc. Subject: Re: Database Pools Do not show up BPVW89K@CPUSIC.BELL-ATL.COM wrote: > > I recently installed GNNServer on Win NT 3.51. I have been trying to > access Sybase, DB2 and Redbrick using ODBC drivers from the GNNServer. > The ODBC Database Pools show up in the ../NS/DB/Admin URL when I > start the server with the -f option. However, when I start the server > as a Service, the Database Pools do not show up and the NS/DB/Admin > says that "No databases available". > > Can anyone tell me what exactly is wrong ? > > Thanks > > M. C. Sankar > Data Services - SDA - IT > 13100 Columbia Pike A22 > Silver Spring MD 20904 > bpvw89k@bell-atl.com You might make sure you created the ODBC sources as System Data Sources. These are available at all times, even if no one is logged in, and are required if using the ODBC source from a service. Non-system ODBC sources are only available when the user that set them up is logged in. -Jim ========================================================================= Date: Wed, 17 Apr 1996 11:00:33 -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: imagemaps and some other stuff In-Reply-To: (message from Kireau Kendrick on Sun, 14 Apr 1996 19:41:14 -0700) >>>>> "Kireau" == Kireau Kendrick writes: Kireau> I just installed GNNserver and have a few questions. I'm Kireau> using WindowsNT 3.51. Kireau> Are imagemap files supported and if so, does the x.map Kireau> file need to go anywhere special? If you use GNNpress, you just create image maps, and save them to the server -- the right stuff will happen. If you're doing them by hand, you just make sure your IMG tag says ISMAP and that you have an A tag referencing the .map file around it. e.g., The server will understand NCSA map files -- the same kind that GNNpress generates and calls .nvm files. Note: GNNpress 1.2 (just about in beta) supports and recommends the use of client-side imagemaps. These are supported by Netscape and Internet Explorer, and have the advantage of not needing a server or any auxiliary files -- all map information is stored in the HTML of the page containing the imagemap. Kireau> Does Perl5 need to go in the cgi-bin directory? I Kireau> understand this is a big security risk now. How does Kireau> GNNserver get around this? Perl5 can go anywhere you want; you just need to configure your cgi module so it knows which files (e.g., *.pl) it should use with the perl interpreter. As long as you're the only one writing perl scripts, it shouldn't be a security hole. Just be careful who you allow to place scripts on your system. Kireau> Can I use an ip address only as my address instead of a Kireau> domain name, and if so, does there have to be a port spec? Kireau> How would that address be written as an example? ie Kireau> http://123.456.789.123:80 ? You can use your ip address in place of a domain name, and you don't need to specify a port spec -- that is, if none is specified, your browser will assume port 80. doug -- ---------------------------------------------------------------- Doug McKee America Online, Inc. Email: doug@tools.gnn.com 511 Bath Street Voice: (800) 529-9166 Santa Barbara, CA (805) 882-2350 93101 Fax: (805) 899-4316 http://www.tools.gnn.com ---------------------------------------------------------------- ========================================================================= Date: Wed, 17 Apr 1996 11:04:03 -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: adding real audio to GNN server In-Reply-To: <9604160929.ZM2379@atactix.com> (message from Webmaster on Tue, 16 Apr 1996 09:29:11 -0500) >>>>> "Greg" == Webmaster writes: Greg> Hi. I need to add some additional mime types to GNN server Greg> so it knows about real audio files (.ra, .ram). I couldn't Greg> find where to do this from a web browser Greg> (http://localhost:9876) - do I need to edit the nsd.ini file Greg> separately or can I add these types from a browser? These mappings are configurable for each virtual server, but you need to add a section to your nsd.ini file called: [ns\server\MimeTypes] In this section, the keys are the extension names (including the preceding ".") and the values are the Mime types. To specify the Mime type of files with no extension, use the special key named "NoExtension", and to set the default in the case of no mapping, use the key "Default". GNNserver 2.2 (beta available soon) lets you configure Mime types through the Setup Server. doug -- ---------------------------------------------------------------- Doug McKee America Online, Inc. Email: doug@tools.gnn.com 511 Bath Street Voice: (800) 529-9166 Santa Barbara, CA (805) 882-2350 93101 Fax: (805) 899-4316 http://www.tools.gnn.com ---------------------------------------------------------------- ========================================================================= Date: Wed, 17 Apr 1996 11:10:15 -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: Illustra problems continued In-Reply-To: <199604160240.WAA02530@mail-e2b-service.gnn.com> (message from Joseph Heitzman on Tue, 16 Apr 1996 11:23:11 -0400) >>>>> "Joseph" == Joseph Heitzman writes: Joseph> I figured out why the pool is not found. When the server Joseph> starts, it tries to log on as miadmin, and says the Joseph> password pair does not match the contents of the table. By default, the Illustra "miadmin" user (NOT the Operating System miadmin user) has no password, so you'll need to remove the password from your database pool definition. Joseph> Do I need to enter a user into Illustra, and how is this Joseph> done? I searched the entire online docs and found no Joseph> reference to adding a user to the database. You do not need to add a user, but you can do so by following these steps: 1. Start nsql and connect to your database 2. Type the following SQL. If you want the new user to be able to create new databases, type t in place of CANCREATE. Otherwise, replace CANCREATE with f. insert into users (user_name, user_spare1, user_createdb, user_passwd, user_trace, user_access, user_spare3, user_spare4) values ('newusername', 0, 'CANCREATE', 'PASSWORD', 'f', 'f', 'f', 0); 3. To enable the GNNserver ad hoc querying by this new user, type the following two SQL statements: grant select on table tables to newusername; grant select on table columns to newusername; doug -- ---------------------------------------------------------------- Doug McKee America Online, Inc. Email: doug@tools.gnn.com 511 Bath Street Voice: (800) 529-9166 Santa Barbara, CA (805) 882-2350 93101 Fax: (805) 899-4316 http://www.tools.gnn.com ---------------------------------------------------------------- ========================================================================= Date: Wed, 17 Apr 1996 11:17:10 -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: Searching question In-Reply-To: <1.5.4.32.19960416145431.00a95994@ic.net> (message from Brad Chick on Tue, 16 Apr 1996 10:54:31 -0400) >>>>> "Brad" == Brad Chick writes: Peter> Where do I find information on how to allow non-gnnpress Peter> users viewing ours web pages to search for information? Peter> I can't find any reference to searching besides using Peter> Tools->Search Server from the GnnPress menubar. Thanks a Peter> lot. Doug> Goto the /NS/Search URL on your virtual server -- it's the Doug> same page that GNNpress will bring up from Tools->Search Doug> Server. You may edit this page how you like, save it where Doug> you'd like, and then make links from your other pages to it. Brad> Great. But I would like the search results page to look like Brad> the rest of the pages on the virtual server (as opposed to Brad> having the GNNHosting header image). How can I do that? For the moment, you need to edit some Tcl. Goto the modules/tcl/nstext/fulltext.tcl file and change the last line in the procedure for ftsearchop. This line currently reads: ns_returnnotice $conn 200 "Full Text Search Results" $result You want to change it to something like ns_return $conn 200 text/html \ "Results of your search

Here's what you got:

$result " To do this in 2.1, you won't need to change any code; you'll just specify a search results template. doug -- ---------------------------------------------------------------- Doug McKee America Online, Inc. Email: doug@tools.gnn.com 511 Bath Street Voice: (800) 529-9166 Santa Barbara, CA (805) 882-2350 93101 Fax: (805) 899-4316 http://www.tools.gnn.com ---------------------------------------------------------------- ========================================================================= Date: Wed, 17 Apr 1996 13:38:15 -0400 Reply-To: Web Development with GNNserver and GNN Hosting Service Sender: Web Development with GNNserver and GNN Hosting Service From: Jim Wilcoxson Organization: Merit Software, Inc. Subject: Syntax error, MS Access/ODBC I was getting a syntax error when I tried to update some of my Access tables with the GNN server. Turns out that you can't have a field named "Note" in the database, even though it's not a reserved word according to Microsquash's ODBC 2.0 Reference... Jim ========================================================================= Date: Wed, 17 Apr 1996 13:58:04 -0500 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: what does this database error really mean? >ccess rule violation on table FeatLicView, operation: select > >However, when I execute the same SQL using nsql I get no error and the >expected results. > >So, what am I doing wrong and what exactly does the Ns_Ill error above really >mean? Check your database pool definition and make sure that the user for the pool has select privilege on the FeatLicView table. You don't have to run as the same user when using nsql as the pool uses. If you always use nsql as "miadmin", but you set up the pool (prudently) with a less privileged user, you could see the behavior you are experiencing. Pete. ------------- Peter M. Jansson petej@clickvision.com Click Interactive Visions, LLC. (410) 488-3690 Interactive WWW development services. ========================================================================= Date: Wed, 17 Apr 1996 12:20:17 -0500 Reply-To: Web Development with GNNserver and GNN Hosting Service Sender: Web Development with GNNserver and GNN Hosting Service From: Tank Subject: ns_SendMail Function Equiv. in C API?? Greets All- I was curious as to why there is no ns_SendMail function in the C API, or what the way to implement it would be.... I am currently working on a module that performs some DB access and manipulation, but also needs to email a report, and was a little surprised to see no method to mail using the C-API.... Would the best option be to have the input form trigger the Tcl module which emails the report and then calls the C module? (or perhaps better: have the form trigger the C module which then calls the Tcl module to email the status)? Any thoughts appreciated. Tnx ______________________________________________________________________________ Tank (SPM) Sean P. McNamara The Planet Group, Inc. Tank@PG.NET Design, Communications, and Technology Voice: (312) 772-8333 Fax: (312) 772-9214 ========================================================================= Date: Wed, 17 Apr 1996 21:13:11 +0000 Reply-To: falke@www.hultsfred.se Sender: Web Development with GNNserver and GNN Hosting Service Comments: Authenticated sender is From: Bengt Falke Subject: Re: Mailing list scope (was Re: GNNpress-NO ICONS) Hello! ==== Please keep it as one list. It is now much easier to follow than it was when there where three lists. Best regards! Med vaenlig haelsning! Bengt Falke ------------------------------ MIS, IT-chef Bengt Falke Hultsfreds kommun falke@hultsfred.se (+46)-495-16262 ========================================================================= Date: Wed, 17 Apr 1996 15:29:30 -0500 Reply-To: Web Development with GNNserver and GNN Hosting Service Sender: Web Development with GNNserver and GNN Hosting Service From: "Peter M. Jansson" Subject: Testing for null field? I have the following snippet of tcl: set dbh0 [ns_db gethandle real] set memberRow [ns_db 1row $dbh0 \ "select thing1, thing2 from things where thing1 = 'magic';"] ns_db releasehandle $dbh0 set thing2 [ns_set value $memberRow 1] How do I tell if thing2 is null? I've tried comparing ("==") it against NULL, $NULL, and the empty string (""), and I can't get a good compare. Pete. ========================================================================= Date: Wed, 17 Apr 1996 15:24:04 -0500 Reply-To: Web Development with GNNserver and GNN Hosting Service Sender: Web Development with GNNserver and GNN Hosting Service From: James Cholke Subject: mail.tcl I have a question about the mail.tcl sample script from the Developer's corner: Great Script! Simple enough. One question: When I type in a bad return email address, It sends an error message to the SMTP server. Can I change the location of where it defaults an error message to? ***the error message is sent to the SMTP server, from Naviserver*** ************************************************************** James Cholke, Computer Information Specialist 2 (Internet/WWW) Missouri Department of Economic Development Phone: (573)751-4706 Email: jcholke@mail.state.mo.us ************************************************************** ========================================================================= Date: Wed, 17 Apr 1996 20:21:34 GMT Reply-To: Web Development with GNNserver and GNN Hosting Service Sender: Web Development with GNNserver and GNN Hosting Service From: Brad Dressel Organization: eclypse designs Subject: Re: Mailing list scope (was Re: GNNpress-NO ICONS) In-Reply-To: <2.2.32.19960417163005.00a4cc9c@mail.gnnhost.com> We also use Commercial service and would much rather see a separate list specifically for those issues relevant to commercial hosting customers. Brad Dressel ========================================================================= Date: Wed, 17 Apr 1996 16:51:04 -0400 Reply-To: Web Development with GNNserver and GNN Hosting Service Sender: Web Development with GNNserver and GNN Hosting Service From: Cass Tyson Subject: Access log script In-Reply-To: <199604171810.LAA01939@navisoft.com> I hate reinventing the wheel, so: Can someone point me in the direction of a Tcl or Perl script or other program to display useful access log data? Preferably in graphical format so the stats make sense to humans. I'm running GNN Server on NT. I didn't see anything in the documentation about access logs. Server logs are readily available, of course... I've seen a neat little program called accesswatch--has anyone gotten this to work with GNN Server? ------------------ Cass Tyson ctyson@netsmarts.com ========================================================================= Date: Wed, 17 Apr 1996 15:34:07 -0500 Reply-To: Web Development with GNNserver and GNN Hosting Service Sender: Web Development with GNNserver and GNN Hosting Service From: Tank Subject: Very Basic DB Setup Questions Greets- I am trying to set up an illustra database for usage by GNN 2.03, but have some very basic questions as to how things get set up... I have manuals for NaviServer v2.0, and have looked at the Online Docs for GNN-Server, but they don't seem to line up very well with what is on my screen... First, I added the nsdb.dll module to the server. Next, I went to the setup server, and configured a DB Pool for the new DB... I set up a new NT account with a password for the system to use.... I stopped and restarted GNN. At this point, the "DataBase Services" choice was available in the /ns/admin options for the server, but clicking on it shows that "No Database Pool Available". Did I miss a step here? Also, how do I build the DB Tables via the HTML interface?? (Or does all this need to be done via NSQL?) Tnx a Bndl ______________________________________________________________________________ Tank (SPM) Sean P. McNamara The Planet Group, Inc. Tank@PG.NET Design, Communications, and Technology Voice: (312) 772-8333 Fax: (312) 772-9214 ========================================================================= Date: Wed, 17 Apr 1996 17:44:25 -0400 Reply-To: Web Development with GNNserver and GNN Hosting Service Sender: Web Development with GNNserver and GNN Hosting Service From: Jim Wilcoxson Organization: Merit Software, Inc. Subject: Re: Mailing list scope (was Re: GNNpress-NO ICONS) Well, this IS supposed to be a developer list. I guess having a separate list for the people using the hosting service makes sense. But for people doing development it seems much easier to have 1 list with everything rather than worrying about which area a given issue might be addressed in. It's relatively easy to skip messages you're not interested in. ========================================================================= Date: Wed, 17 Apr 1996 16:49:29 -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: Can I run each virtual server with a different user? In-Reply-To: <9604161103.ZM1942@redcomet> (message from Edward Un on Tue, 16 Apr 1996 11:03:12 -0700) >>>>> "Ed" == Edward Un writes: Ed> I am running GNN server on a Solaris/SPARC. Is it possible to Ed> set GNNServer so that each virtual server is running with a Ed> different user id? No. All the virtual servers run within the same process -- each server has its own set of threads. Ed> I am trying to set up several virtual Ed> servers that serve different document directories. I want to Ed> combine the permissions with the unix file system permission Ed> so that people can only access certain document directories Ed> for a particular domain but not all of it when they are in the Ed> system (e.g. ftp or telnet). You could have people telnet/ftp into a chrooted environment where they have the userid of nsadmin, but can only access their files. GNN Hosting Service uses a variant of this. You could also have people store their pages in subdirectories of their home directories; that is set UserMapDir for the virtual server. This maps http://foo.com/~person -> /. doug -- ---------------------------------------------------------------- Doug McKee America Online, Inc. Email: doug@tools.gnn.com 511 Bath Street Voice: (800) 529-9166 Santa Barbara, CA (805) 882-2350 93101 Fax: (805) 899-4316 http://www.tools.gnn.com ---------------------------------------------------------------- ========================================================================= Date: Wed, 17 Apr 1996 23:06:35 -0700 Reply-To: Web Development with GNNserver and GNN Hosting Service Sender: Web Development with GNNserver and GNN Hosting Service From: Frank Overton Subject: Re: Mailing list scope (was Re: GNNpress-NO ICONS) Jim, You have misunderstood me. I am not suggesting that you maintain additional mailing lists. It is true, I can easily skip the messages I am not interested in, only to find that tommorrow I need them. Storing and finding the messages I am interested in when I need them becomes a real chore. Rather than sorting and storing messages everyday, I would much rather go to a newsgroup or a web site and locate the appropriate information when I need it. Frank Overton >Well, this IS supposed to be a developer list. I guess having a >separate list for the people using the hosting service makes >sense. But for people doing development it seems much easier to >have 1 list with everything rather than worrying about which area >a given issue might be addressed in. It's relatively easy to >skip messages you're not interested in. > * * * * * * * * * * * * * * * * * * * * * * * * * Go Explore * * "...where frequent travelers turn." * * http://go-explore.com * * * * * * * * * * * * * * * * * * * * * * * * * ========================================================================= Date: Wed, 17 Apr 1996 19:05:00 +1700 Reply-To: Web Development with GNNserver and GNN Hosting Service Sender: Web Development with GNNserver and GNN Hosting Service From: LANDON_DICK@Tandem.COM Subject: ODBC over the LAN Is it possible to configure GNNserver with it's ODBC driver connecting to a remote db server? ========================================================================= Date: Wed, 17 Apr 1996 19:11:20 +0000 Reply-To: Web Development with GNNserver and GNN Hosting Service Sender: Web Development with GNNserver and GNN Hosting Service From: Burt Knight Subject: Re: SSL outside US >Are there any plans to make a legal SSL module for Europe? I've been hearing about this for a while but there are some problems. Several countries have outlawed data excryption including Russia, Korea, Iraq, Iran, and France so SSL doesn't offer much for working into those markets. BWK ========================================================================= Date: Wed, 17 Apr 1996 18:17:07 -0500 Reply-To: Web Development with GNNserver and GNN Hosting Service Sender: Web Development with GNNserver and GNN Hosting Service From: "Oscar J. Meszar" Subject: Re: Installing GNNServer 2.03 on Win-NT Server At 04:50 PM 4/17/96 +0000, you wrote: >After installing GNNServer including the patch under Windows NT4.0 >beta Workstation on my computer at home it worked like a charm. I What is the patch for NT 4.0. Ans where can I get it? thanx, Oscar J. Meszar (OJM) ojm@mcs.com http://www.mcs.com/~ojm/ Think of the possibilities .... ========================================================================= Date: Thu, 18 Apr 1996 02:14:07 -0400 Reply-To: Web Development with GNNserver and GNN Hosting Service Sender: Web Development with GNNserver and GNN Hosting Service From: Jim Wilcoxson Organization: Merit Software, Inc. Subject: Re: Can't create ns_tables & ns_columns w/Access 7.0 Doug - after reading some more references, there seems to be limited support for SQL DDL like "create table". It only seems to work when I remove both "not null" and "primary key". Maybe there's a way you can query the ODBC drivers to find out what is supported and can avoid doing the create (and issue a warning or something to the log). I'm just going to create the ns_tables and ns_columns tables directly with Access. Thanks for your help. -Jim Doug McKee wrote: > > >>>>> "Jim" == Jim Wilcoxson writes: > > Jim> I *finally* got the ODBC stuff working on NT with Access 7.0 > > I hope it wasn't *too* painful! > > Jim> after downloading new ODBC drivers from Microsquash's Web > Jim> site (get new 32-bit drivers in a zip called ge1263.exe). > Jim> But when the server starts up, I get errors in the log files: > > Jim> [14/Apr/1996:16:30:51 -0400][98.99] Notice: SQL(mls): create > Jim> table ns_tables (table_name varchar not null primary key, > Jim> table_inserturl varchar, table_description varchar) > > Jim> [14/Apr/1996:16:30:51 -0400][98.99] Error: ODBC message: > Jim> SQLSTATE = 37000, Native err = -3551, msg = '[Microsoft][ODBC > Jim> Microsoft Access 7.0 Driver] Syntax error in CREATE TABLE > Jim> statement.' > > Jim> [14/Apr/1996:16:30:51 -0400][98.99] Error: Could not create > Jim> ns_tables table to hold Extended Table Info > > After perusing the Microsoft ODBC 2.0 Reference Guide, it does look > like this is incorrect SQL; although every other driver I've tested > has eaten it just fine. It seems you can't say something is "not > null" and "primary key". To get around the problem, you can create > the table by hand with either the /NS/Db/Admin Create Table interface > or a SQL interpreter that talks ODBC. Just don't specify "primary key." > > Jim> [14/Apr/1996:16:30:51 -0400][98.99] Notice: SQL(mls): create > Jim> table ns_columns (column_table varchar not null, column_name > Jim> varchar not null, column_description varchar, > Jim> column_displayas varchar, column_htmltag_type varchar, > Jim> column_htmltag_data varchar) > > Jim> [14/Apr/1996:16:30:51 -0400][98.99] Error: ODBC message: > Jim> SQLSTATE = 37000, Native err = -3551, msg = '[Microsoft][ODBC > Jim> Microsoft Access 7.0 Driver] Syntax error in CREATE TABLE > Jim> statement.' > > Jim> [14/Apr/1996:16:30:51 -0400][98.99] Error: Could not create > Jim> ns_columns table to hold Extended Table Info > > I don't know what the problem is here; if that's not plain vanilla SQL > then I don't know what is. Maybe try taking out the "not null"s or > making them capital letters (NOT NULL). > > Jim> I think I want to use the advanced features offered by > Jim> ns_tables and ns_columns, so I don't really want to just turn > Jim> those off. > > Jim> I can create tables through the Web server /NS/DB/admin link. > > Let me know what happens so I can make sure 2.1 does the right thing. > > doug > > -- > ---------------------------------------------------------------- > Doug McKee America Online, Inc. > Email: doug@tools.gnn.com 511 Bath Street > Voice: (800) 529-9166 Santa Barbara, CA > (805) 882-2350 93101 > Fax: (805) 899-4316 http://www.tools.gnn.com > ---------------------------------------------------------------- ========================================================================= Date: Wed, 17 Apr 1996 22:22:58 -0500 Reply-To: Web Development with GNNserver and GNN Hosting Service Sender: Web Development with GNNserver and GNN Hosting Service From: Ashish Parikh Subject: Limitation of ns_tables inserturl? It seems to me that in ns_tables inserturl cannot be a URL which is a Tcl proc (which dynamically generates the page) i.e. inserturl has to be file which already exists on some filesystem somewhere. This is what I'm trying to do: When a user enters the information for a table, I would like to display a page which has a list of all the items in the table. The Tcl proc (http://machine.company.com/MyTcl/MyFunction) which does this returns the appropriate MIME type but ns_guesstype only works on files. Should ns_guesstype be enchanced to look at the stream coming in to figure out the MIME type if it cannot deduce it by the URL? Thanks, Ashish ========================================================================= Date: Wed, 17 Apr 1996 16:42:00 PDT Reply-To: Web Development with GNNserver and GNN Hosting Service Sender: Web Development with GNNserver and GNN Hosting Service From: Heinz Wittenbecher Subject: Re: Mailing list scope (was Re: GNNpress-NO ICONS) Please keep it as one list. Much easier to skip what's not needed today than having to worry about missing what might be needed. just my 2 cents worth. 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: Thu, 18 Apr 1996 07:54:39 U Reply-To: Web Development with GNNserver and GNN Hosting Service Sender: Web Development with GNNserver and GNN Hosting Service From: Ted Goessling Subject: Re: Mailing list scope RE>Mailing list scope 4/18/96 In response to Jeff Rawlings recent posting about this list: > At this time, I see a few possibilities, and I'd like to get some > feedback: I certainly favor his first option: > 1) Commercial members could stay on this list, but use the digest > form of subscription. That would allow easier identification of > posts relevant to them, in a single daily message. Lists tend to wander a bit over time, but a good moderator (like Jeff) should be able to keep this one on track. If the list gets split, it seems very likely that some perls ;-) of wisdom may not get passed around to all interested parties. Our site doesn't use the GNN Commercial Service because we can't. We're using the server for an intranet application. However, it seems very likely that ALL heavy users of GNNserver are likely to come across useful tips and tricks regardless of whether or not they are Commercial users. Please don't change a thing. While I'm in this message, could someone from GNN provide a bit more information about the planned future of the product? As I have expressed to folks there, it's a great product that I would gladly PAY for support on. Are there plans to offer support? Can I get telephone &/or email support for my GNNserver if I buy into a specific level of the GNN Hosting Service? (I don't really want to do that, because I don't NEED the actual hosting service) What are my options? Thank you all (GNN folks & list readers) for the support that you do provide. I'm always impressed by the helpfulness of strangers! ================================================================= Ted Goessling MTS Systems Corporation ted.goessling@mts.com ================================================================= ========================================================================= Date: Thu, 18 Apr 1996 11:16:46 -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: ns_SendMail Function Equiv. in C API?? In-Reply-To: from "Tank" at Apr 17, 96 12:20:17 pm > I was curious as to why there is no ns_SendMail function in the C > API, or what the way to implement it would be.... I am currently working > on a module that performs some DB access and manipulation, but also needs > to email a report, and was a little surprised to see no method to mail > using the C-API.... The code to send email using the TCL function is pretty basic, and you should be able to use the same method in C. Alternatively (which is the way I do it) is to open a pipe to Sendmail and build your own headers: fp=popen("/usr/lib/sendmail -t","w"); fprintf(fp,"To: %s\n",to); ... fclose(fp); When you close the pipe, sendmail gets provoked and out goes the email. Jon Yarden, Internet Tool & Die ========================================================================= Date: Thu, 18 Apr 1996 10:04:04 -0500 Reply-To: Web Development with GNNserver and GNN Hosting Service Sender: Web Development with GNNserver and GNN Hosting Service From: Ashish Parikh Subject: extending ns_columns I want to extent the ns_columns table with a column_label text attribute. Thus, if the label exists use it otherwise use the name. In the entryform proc (in nsdb/forms.tcl), there is the following code. set description [ns_column valuebyindex $tinfo $i description] So, I tried to something similar: set mylabel [ns_column valuebyindex $tinfo $i label] which did not work (mylabel was ""). I also tried set mylabel [ns_column valuebyindex $tinfo $i column_label] which did not work either. Is something special happening for the "pre-defined" attributes of the ns_columns table? If so, what? If not, what am I doing wrong? Thanks, Ashish -- ---------------------------------------------------------------------------- Ashish Parikh | 3925 W. Braker Lane, Suite 325 Savantage, Inc. | Austin, TX 78759-5321 USA (512)-305-0054 (Voice) | (512)-305-0060 (FAX) ---------------------------------------------------------------------------- ========================================================================= Date: Thu, 18 Apr 1996 08:19:59 -0700 Reply-To: Web Development with GNNserver and GNN Hosting Service Sender: Web Development with GNNserver and GNN Hosting Service From: Jim Frew Subject: Re: Mailing list scope In-Reply-To: Your message of "Wed, 17 Apr 96 23:06:35 PDT." <199604172306.TAA22932@services.web.aol.com> > Rather than sorting and storing messages everyday, I would much > rather go to a newsgroup or a web site and locate the appropriate > information when I need it. > > Frank Overton Amen. To the GNNDEVELOPER-L maintainer(s): Please make a HyperNews (or equivalent) transcript of GNNDEVELOPER-L available on your web site. Thanks, /Frew #======================================================================= # James Frew frew@icess.ucsb.edu http://www.icess.ucsb.edu/~frew/ # Institute for Computational Earth System Science # University of California, Santa Barbara, CA 93106-3060 ========================================================================= Date: Wed, 17 Apr 1996 18:15:38 -0400 Reply-To: Web Development with GNNserver and GNN Hosting Service Sender: Web Development with GNNserver and GNN Hosting Service From: BPVW89K@CPUSIC.BELL-ATL.COM Subject: Re: Database Pools Do not show up - System Data Source ---------------------------- Forwarded with Changes --------------------------- From: F:owner-gnndeveloper-l@SERVICES.WEB.AOL.COM_at_INTERNET at BATLMS Priority: Urgent Date: 4/17/96 2:01PM To: MUNNIRPALLAM C. SANKAR at CPUSIC *To: F:GNNDEVELOPER-L@SERVICES.WEB.AOL.COM_at_INTERNET at BATLMS Subject: Re: Database Pools Do not show up ------------------------------------------------------------------------------- Jim/ others: How do you configure an ODBC Data Source as a System Data Source ? Thanks. - Sankar ______________________________ Forward Header __________________________________ Subject: Re: Database Pools Do not show up Author: F:owner-gnndeveloper-l@SERVICES.WEB.AOL.COM_at_INTERNET at BATLMS Date: 4/17/96 2:01 PM Attachment file number 1, file name Creation date: April 17, 1996 14:27:45 Document Type: ASCI, Document Class: MEMO Author: Comment: Re: Database Pools Do not show up Level: 1, Number : 1 BPVW89K@CPUSIC.BELL-ATL.COM wrote: > > I recently installed GNNServer on Win NT 3.51. I have been trying to > access Sybase, DB2 and Redbrick using ODBC drivers from the GNNServer. > The ODBC Database Pools show up in the ../NS/DB/Admin URL when I > start the server with the -f option. However, when I start the server > as a Service, the Database Pools do not show up and the NS/DB/Admin > says that "No databases available". > > Can anyone tell me what exactly is wrong ? > > Thanks > > M. C. Sankar > Data Services - SDA - IT > 13100 Columbia Pike A22 > Silver Spring MD 20904 > bpvw89k@bell-atl.com You might make sure you created the ODBC sources as System Data Sources. These are available at all times, even if no one is logged in, and are required if using the ODBC source from a service. Non-system ODBC sources are only available when the user that set them up is logged in. -Jim ---------------------------------------------------------------- ========================================================================= Date: Thu, 18 Apr 1996 09:56:08 CDT Reply-To: Web Development with GNNserver and GNN Hosting Service Sender: Web Development with GNNserver and GNN Hosting Service From: Maurice Naggar Subject: Re: Mailing list scope (was Re: GNNpress-NO ICONS) Hi Jeff: I would agree with your ideas for setting up more defined mailing lists. I look forward to each daily digest from you. I've recently been overwhelmed my the number of individual messages from this list. While I've picked up some good hints from selected messages, the majority do not apply to my p.c.'s run environment or my Web server and thus are not useful to me. Let's go with separate discussion lists. Maurice Naggar Systems Analyst HQ AFMSA/SGSLC, Medical Logistics Contracting USAF, Brooks AFB, TX ========================================================================= Date: Thu, 18 Apr 1996 12:06:40 +0059 Reply-To: Web Development with GNNserver and GNN Hosting Service Sender: Web Development with GNNserver and GNN Hosting Service From: Dimtry Schwartzman In-Reply-To: <199604172306.TAA22932@services.web.aol.com> hmm... linux suposed to be a pretty nice unix clone it is pretty nice I'm just wondering how come there is very little commercial movement towards it?!?... can't even get illustra for it... but oh well self made databases are much nicer though ========================================================================= Date: Thu, 18 Apr 1996 12:07:40 +0059 Reply-To: Web Development with GNNserver and GNN Hosting Service Sender: Web Development with GNNserver and GNN Hosting Service From: Dimtry Schwartzman Subject: Re: SSL outside US In-Reply-To: <01I3NQIUWO7AA23GCR@INCPRD.ICHANGE.COM> On Wed, 17 Apr 1996, Burt Knight wrote: > >Are there any plans to make a legal SSL module for Europe? > > I've been hearing about this for a while but there are some problems. > Several countries have outlawed data excryption including Russia, > Korea, Iraq, Iran, and France so SSL doesn't offer much for working > into those markets. > BWK > how does one get ahold of SSL module? ========================================================================= Date: Thu, 18 Apr 1996 16:24:36 UT Reply-To: Web Development with GNNserver and GNN Hosting Service Sender: Web Development with GNNserver and GNN Hosting Service From: Coby Pachmayr Subject: Re: GNNpress-NO ICONS I would also like to express my great interest in subscribing to/having a list for Commercial level. Though I would probably still subscribe to both lists, scouring the developers list for Tcl scripts and the like, there are unique problems, questions, and situations among the Commercial level developers. Coby D. Pachmayr InterMed Technologies pachmayr@msn.com ---------- From: Web Development with GNNserver and GNN Hosting Service on behalf of Doug Crichlow Sent: Wednesday, April 17, 1996 12:31 AM To: Multiple recipients of list GNNDEVELOPER-L Subject: Re: GNNpress-NO ICONS Are there separate mail lists for those with the different levels of service? Our site uses GNN Commercial service. The intricate scripting questions and problems discussed by those with their own servers are not valuable to us. OTH, we definitely like to have a place to discuss/learn from others with Commercial service. How do we subscribe if there is a Commercial svc list...if there is one? If there isn't, can one be created? Doug Crichlow ========================================================================= Date: Thu, 18 Apr 1996 16:24:39 UT Reply-To: Web Development with GNNserver and GNN Hosting Service Sender: Web Development with GNNserver and GNN Hosting Service From: Coby Pachmayr Subject: Re: GNN Document Checkout Here is my naive imput from thought, off the top of my head, haven't tried it yet but am anxious to get more involved with the list. You could have the page user-id and/or password set for one thing when the page is available for edit, then when someone wants to 'check out' the page for edit, the first step would be to change the user-id and/or password. Then if a second person tries to make changes to the page, they would not have access to save the page because the user-id and/or password will have been changed. Then, once the person who is editing the page is finished could revert the user-id and/or password back to the default. ---------- From: Web Development with GNNserver and GNN Hosting Service on behalf of BKD879A@BAFCO.BELL-ATL.COM Sent: Tuesday, April 16, 1996 5:07 PM To: Multiple recipients of list GNNDEVELOPER-L Subject: GNN Document Checkout The GNNserver/press combination is great! And would even go a long way to solving a problem I have if it could do one thing. My problem is that of multi-user publishing. If two people have access to a document and make edits, the last person to check the document in wins. I need some way to mark the document as "checked out", not to prevent downloading, but to not allow a person to check in a document when it is checked out. And also give some kind of warning to the user when accessing a document that is checked out so they don't make edits that will be wasted. Has any thought been given to this problem and how much work would it be to modify GNNpress/server to maintain this state and provide indication of document status. Thanks, Rick Austin Bell Atlantic 4242 Duke Street Alexandria, VA 22304 703-212-6861 richard.w.austin@bell-atl.com ========================================================================= Date: Thu, 18 Apr 1996 14:45:12 -0400 Reply-To: Web Development with GNNserver and GNN Hosting Service Sender: Web Development with GNNserver and GNN Hosting Service From: Jeff Rawlings Subject: Mailing list scope -- Summary Thank you all for your contributions to the discussion about the scope of the list. In order to wind down this discussion on the list, I wanted to offer a summary and the actions I'm planning. Several people have expressed the two (conflicting?) challenges for list readers: 1) maintaining a single source for discussion, so that you don't have to worry about missing information or forgetting to look everywhere. 2) finding important information without spending too much time sorting through posts that aren't relevant to your particular situation. As an immediate (and interim) solution to the second problem, I suggest that you change your list options to "DIGEST" if you feel the level of traffic takes too much of your time. The single daily digest will contain a summary of message titles, which makes it quick to see if there are any messages of interest for you. In addition, I want to suggest prefacing your Subject: lines with TCL or HOSTING, if your post relates to those topics. To change your options to the digest version, send mail to with the message: set GNNDEVELOPER-L DIGEST If you have any trouble, let me know! As a longer-term solution to both of the issues above, I will be looking into several possible solutions over the next few weeks. The possibilities include: -Linking the mailing list to a newsgroup; -Offering searchable archives of the list on the gnnhost website; -Linking the list to a Web-based discussion forum. The challenge in all of these situations is to keep our community together -- with a single information source -- while at the same time providing quick access to the targeted information each of you needs. I'll keep you informed of my progress. I would be happy to hear suggestions and continue this discussion via private email. Cheers, Jeff Rawlings rawlings@gnnhost.com Webmaster, GNN Hosting Service http://www.gnnhost.com/ Moderator, gnnhost-l and gnndeveloper-l For inquiries about Web Hosting, send email to ========================================================================= Date: Thu, 18 Apr 1996 13:53:00 -0400 Reply-To: Web Development with GNNserver and GNN Hosting Service Sender: Web Development with GNNserver and GNN Hosting Service From: David Wuth Subject: Re: Mailing list scope (was Re: GNNpress-NO ICONS) Comments: To: Web.Development.with.GNNserver.and.GNN.Hosting.Service@i3125ent.atl.hp.com Comments: cc: Multiple.recipients.of.list.GNNDEVELOPER-L@i3125ent.atl.hp.com, frank-overton@go-explore.com In-Reply-To: <"199604172306.TAA*"@MHS> Instead of using mailing lists, why not set up a newsgroup or some other online forum for these discussions. I would rather "pull" information when I need it and browse for topics to which I could contribute. I've only been on this mailing list for three days and my in-tray of e-mail is overflowing. I'd hate to miss out on the communication but I'm not sure that I can keep up with the mail. David ========================================================================= Date: Thu, 18 Apr 1996 14:33:59 -0500 Reply-To: Web Development with GNNserver and GNN Hosting Service Sender: Web Development with GNNserver and GNN Hosting Service From: "Peter M. Jansson" Subject: Virtual server tcl directory? Running GNNServer 2.031 on NT 3.51, I created a "modules/tcl" directory for one virtual server, thinking this would allow the virtual server to see all the tcl in \Navisoft\Server\modules\tcl as well as \Navisoft\Server\servers\myserver\modules\tcl, but would prevent users of myserver from changing other scripts. The problem is that, after restarting the service, I got many log messages about how the virtual server couldn't find "init.tcl", and it wouldn't start. I tried just copying over the init.tcl from \Navisoft\Server\modules\tcl, but that was insufficient. How is this supposed to work? Pete. ========================================================================= Date: Thu, 18 Apr 1996 13:39:44 -0500 Reply-To: Web Development with GNNserver and GNN Hosting Service Sender: Web Development with GNNserver and GNN Hosting Service From: James Cholke Subject: ODBC database problems Can anyone provide any insight as to why I cannot connect to this database. The database is in Access 2.0. I've setup my datasource name as 'agency' with the username as Admin. Do I need a different version of ODBC drivers? Here's what showed up on my log: Notice: Ns_ModuleLoad(odbc): Loading module: nsodbc.dll [18/Apr/1996:13:32:50 -0500][201.228] Notice: Ns_ModuleSymbol: Loading module file: c:/gnn/bin/nsodbc.dll [18/Apr/1996:13:32:51 -0500][201.228] Notice: Ns_DbOpenDb(odbc): Opening datasource: agency [18/Apr/1996:13:32:51 -0500][201.228] Notice: SQLConnect(agency, Admin, ) [18/Apr/1996:13:32:51 -0500][201.228] Error: ODBC message: SQLSTATE = IM002, Native err = 0, msg = '[Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified' [18/Apr/1996:13:32:51 -0500][201.228] Notice: Ns_DbOpenDb(odbc): Opening datasource: agency [18/Apr/1996:13:32:51 -0500][201.228] Notice: SQLConnect(agency, Admin, ) [18/Apr/1996:13:32:51 -0500][201.228] Error: ODBC message: SQLSTATE = IM002, Native err = 0, msg = '[Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified' [18/Apr/1996:13:32:51 -0500][201.228] Notice: Ns_DbOpenDb(odbc): Opening datasource: agency [18/Apr/1996:13:32:51 -0500][201.228] Notice: SQLConnect(agency, Admin, ) [18/Apr/1996:13:32:51 -0500][201.228] Error: ODBC message: SQLSTATE = IM002, Native err = 0, msg = '[Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified' [18/Apr/1996:13:32:51 -0500][201.228] Notice: Ns_DbOpenDb(odbc): Opening datasource: agency [18/Apr/1996:13:32:51 -0500][201.228] Notice: SQLConnect(agency, Admin, ) [18/Apr/1996:13:32:51 -0500][201.228] Error: ODBC message: SQLSTATE = IM002, Native err = 0, msg = '[Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified' [18/Apr/1996:13:32:51 -0500][201.228] Notice: Ns_DbOpenDb(odbc): Opening datasource: agency [18/Apr/1996:13:32:51 -0500][201.228] Notice: SQLConnect(agency, Admin, ) [18/Apr/1996:13:32:51 -0500][201.228] Error: ODBC message: SQLSTATE = IM002, Native err = 0, msg = '[Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified' [18/Apr/1996:13:32:51 I'd appreciate any help on this matter! ************************************************************** James Cholke, Computer Information Specialist 2 (Internet/WWW) Missouri Department of Economic Development Phone: (573)751-4706 Email: jcholke@mail.state.mo.us ************************************************************** ========================================================================= Date: Thu, 18 Apr 1996 14:33:28 -0500 Reply-To: Web Development with GNNserver and GNN Hosting Service Sender: Web Development with GNNserver and GNN Hosting Service From: "Peter M. Jansson" Subject: Different realms for one virtual server? Can I set up a virtual server so that it has different access control realms? I'm being lazy, but I don't want to have to re-enter a username and password every time I switch between entering Tcl scripts and testing them. I want to have a "normal user" realm for the end-user pages, and a "developer" realm for entering scripts. Since many browsers cache usernames and passwords on a per-realm basis, this would allow me to enter the username and password once per session. Groups won't work for this because they are different from realms. Pete. ========================================================================= Date: Thu, 18 Apr 1996 12:22:17 -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: GNN Document Checkout In-Reply-To: <0031600002490492000002*@MHS> (BKD879A@BAFCO.BELL-ATL.COM) >>>>> "Rick" == BKD879A writes: Rick> The GNNserver/press combination is great! And would Rick> even go a long way to solving a problem I have if it could Rick> do one thing. My problem is that of multi-user publishing. Rick> If two people have access to a document and make edits, the Rick> last person to check the document in wins. I need some way Rick> to mark the document as "checked out", not to prevent Rick> downloading, but to not allow a person to check in a Rick> document when it is checked out. And also give some kind of Rick> warning to the user when accessing a document that is Rick> checked out so they don't make edits that will be wasted. Rick> Has any thought been given to this problem and how much Rick> work would it be to modify GNNpress/server to maintain this Rick> state and provide indication of document status. This is great idea, and is something that we hope to put in soon; for now, we just use the phone to coordinate more than one person making edits at the same time! And if a mistake happens, we just use archive versioning to go back to the old version (Tools->Administer Page->Versions...). If your server is configured with Text Services turned on and archiving enabled, you'll get a menu of all previous versions of your page. doug -- ---------------------------------------------------------------- Doug McKee America Online, Inc. Email: doug@tools.gnn.com 511 Bath Street Voice: (800) 529-9166 Santa Barbara, CA (805) 882-2350 93101 Fax: (805) 899-4316 http://www.tools.gnn.com ---------------------------------------------------------------- ========================================================================= Date: Thu, 18 Apr 1996 12:29:51 -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: Clickable Images In-Reply-To: <199604170846.EAA13071@services.web.aol.com> (message from Axel Rebai on Wed, 17 Apr 1996 04:46:28 -0400) >>>>> "Axel" == Axel Rebai writes: Axel> hello, I want to use clickable images with GNN server Axel> Before use GNN Server I use EMWAC server and the images Axel> clikable that I create run in good condition. The map file Axel> is for example: Axel> circle 200,120 10 /image.htm Axel> default /error.htm Axel> Now I use GNN because I want more that one server web. The Axel> server web run correctely. But when I click on the image Axel> gnn server can't found the file image.htm and always take Axel> the default file error.htm Axel> the problem is it in the configuration of the file nds.ini Axel> or in the map file that define circle "circle 200,120 10 ? The problem is that your map file is in CERN-compatible format and GNNserver understands NCSA-compatible format. See http://hoohoo.ncsa.uiuc.edu/docs/tutorials/imagemapping.html circles are defined with: circle So your file should look like: circle 200,120 210,120 doug -- ---------------------------------------------------------------- Doug McKee America Online, Inc. Email: doug@tools.gnn.com 511 Bath Street Voice: (800) 529-9166 Santa Barbara, CA (805) 882-2350 93101 Fax: (805) 899-4316 http://www.tools.gnn.com ---------------------------------------------------------------- ========================================================================= Date: Thu, 18 Apr 1996 13:53:37 +0000 Reply-To: mkessler@pts.mot.com Sender: Web Development with GNNserver and GNN Hosting Service From: Mark Kessler Organization: Motorola CTSD Subject: Re: Mailing list scope - two more cents... David Wuth wrote: > > Instead of using mailing lists, why not set up a newsgroup or some > other online forum for these discussions. I would rather "pull" > information when I need it and browse for topics to which I could > contribute. My two cents..... We've been using NetForums lately for some of these purposes - the implementations need to mature a bit, but they are a good idea. One of the best public domain implementations I've seen is from Andrew McCollough at Univ of Wisc (http://www.biostat.wisc.edu/nf_home) Maybe we could use it and improve on it. (Convert it from perl to tcl?) Regards -- Mark Kessler http://web.pts.mot.com/~mkessler The brain is a wonderful organ. It starts working the moment you get up and does not stop until you get into the office. -- Robert Frost ========================================================================= Date: Thu, 18 Apr 1996 15:37:45 -0400 Reply-To: Web Development with GNNserver and GNN Hosting Service Sender: Web Development with GNNserver and GNN Hosting Service From: Jeff Rawlings Subject: Listserv commands Comments: To: gnnhost-l@services.web.aol.com Craig Bramscher asked the question: >Could someone post the List Administrtion commands? There is a Listserv User Guide on the Web, at: http://www.earn.net/lug/notice.html#contents The user commands are listed and explained at: http://www.earn.net/lug/list.html#commands While the descriptions are to lengthy to post to the list, you might be interested in a few of them; here is an excerpt: SUBscribe Sign on to a mailing list SIGNUP A synonym for the SUBscribe command UNSubscribe Sign off a mailing list SIGNOFF A synonym for the UNSubscribe command List Receive a listing of all the mailing lists at a server Query Review your optional settings for a mailing list SET Change your optional setting for a mailing list REGister Register your name at a LISTSERV server The syntax for the SIGNOFF command is: signoff list-name For the SET command: SET list-name options some options are: Mail | DIGests | INDex | NOMail ACK | MSGAck | NOACK REPro | NOREPro Please see the website above for more detailed information. You can send any of these commands to the following address: Cheers, Jeff Rawlings rawlings@gnnhost.com Webmaster, GNN Hosting Service http://www.gnnhost.com/ Moderator, gnnhost-l and gnndeveloper-l For inquiries about Web Hosting, send email to ========================================================================= Date: Thu, 18 Apr 1996 21:55:28 +0000 Reply-To: Web Development with GNNserver and GNN Hosting Service Sender: Web Development with GNNserver and GNN Hosting Service Comments: Authenticated sender is From: Christof Schmidbauer Organization: Ferengi Institute for Business Ethics Subject: Re: Installing GNNServer 2.03 on Win-NT Server On 17 Apr 96 at 18:17, Oscar J. Meszar wrote: > What is the patch for NT 4.0. Ans where can I get it? I should have said it more clearly: I was refering to the 2.031 patch, there is no NT 4.0-specific patch. --Christof Christof Schmidbauer jwgi@wiwi.uni-frankfurt.de Vereinigung Technischer Analysten Deutschlands e.V. http://caladan.wiwi.uni-frankfurt.de/VTAD/ ========================================================================= Date: Thu, 18 Apr 1996 12:41:32 -0700 Reply-To: Web Development with GNNserver and GNN Hosting Service Sender: Web Development with GNNserver and GNN Hosting Service From: John Mantegna Subject: Re: SSL outside US At 12:07 PM 4/18/96 +0059, you wrote: >On Wed, 17 Apr 1996, Burt Knight wrote: > >> >Are there any plans to make a legal SSL module for Europe? >> >> I've been hearing about this for a while but there are some problems. >> Several countries have outlawed data excryption including Russia, >> Korea, Iraq, Iran, and France so SSL doesn't offer much for working >> into those markets. >> BWK >> >how does one get ahold of SSL module? > U.S. and Canadian residents can receive the GNNserver SSL module via mail by sending email to gnnserver-ssl@tools.gnn.com. Include your mailing address in this email. Our export version is in the process of being approved. When it becomes available, you'll be able to download it from our website. -John ______________________________________________ John Mantegna AOL Santa Barbara Vox:805-882-2350 511 Bath St. Fax:805-882-4316 Santa Barbara, CA 93101 ========================================================================= Date: Thu, 18 Apr 1996 16:06:43 -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: Virtual server tcl directory? In-Reply-To: from "Peter M. Jansson" at Apr 18, 96 02:33:59 pm > > Running GNNServer 2.031 on NT 3.51, I created a "modules/tcl" directory for > one virtual server, thinking this would allow the virtual server to see all > the tcl in \Navisoft\Server\modules\tcl as well as > \Navisoft\Server\servers\myserver\modules\tcl, but would prevent users of > myserver from changing other scripts. The problem is that, after > restarting the service, I got many log messages about how the virtual > server couldn't find "init.tcl", and it wouldn't start. I tried just > copying over the init.tcl from \Navisoft\Server\modules\tcl, but that was > insufficient. How is this supposed to work? I don't use NT, but under unix, all I did was do a soft link to all of the files in the base server's modules/tcl directory. They were already flagged as read-only. I think that this is a "all or none" setup; you need to have *all* of the files and subdirectories copied for it to use your virtual server's TCL directory. Jon Yarden, Internet Tool & Die ========================================================================= Date: Thu, 18 Apr 1996 16:09:14 -0400 Reply-To: Web Development with GNNserver and GNN Hosting Service Sender: Web Development with GNNserver and GNN Hosting Service From: Otis Gospodnetic Subject: BSDI ? port 9876 no go :( Hello, I downloaded GNNServer for BSD the other day and followed the Instructions for installation and tried to get the config server up and running on port 9876 with that nsbootstrap thing, but it didn't quite work this is what happens: start bin/nsbootstrap and it tells me that I can go to http://:9876/NS/Setup and configure my server(s). But when I try connecting to port 9876 on my machine there is nothing running there and I can't configure anything. the nsd.ini file does get created but nothing is listening to port 9876 Is this a common problem ? Am I missing something obvious ? Thanks ! Otis ========================================================================= Date: Thu, 18 Apr 1996 22:26:29 +0000 Reply-To: Web Development with GNNserver and GNN Hosting Service Sender: Web Development with GNNserver and GNN Hosting Service Comments: Authenticated sender is From: Christof Schmidbauer Organization: Ferengi Institute for Business Ethics Subject: Re: Installing GNNServer 2.03 on Win-NT Server On 17 Apr 96 at 16:50, Christof Schmidbauer wrote: > After installing GNNServer including the patch under Windows NT4.0 > beta Workstation on my computer at home it worked like a charm. I > tried the install on our local webserver, a NT Server 3.51_SP4, but > I couldn4t get the webservice to start. Just wanted to answer my own question (it sometimes pays to take a healthy dose of sleep). I have had removed the permissions for the user EVERYONE on the drive in regard. After the inclusion of EVERYONE the install worked flawless. My apologies for creating noise on this list. Byebye Microsoft IIS!! --Christof Christof Schmidbauer jwgi@wiwi.uni-frankfurt.de Vereinigung Technischer Analysten Deutschlands e.V. http://caladan.wiwi.uni-frankfurt.de/VTAD/ ========================================================================= Date: Thu, 18 Apr 1996 13:34:57 -0700 Reply-To: Web Development with GNNserver and GNN Hosting Service Sender: Web Development with GNNserver and GNN Hosting Service From: ACS Subject: How to grab the QUERY_STRING environment variable I'm trying to build a script that is passed a url using the ?xyz query string facility. How do I get the QUERY_STRING variable from env so that I can use it in my sql search statement? (I'm still learning tcl) I tried set listing {$env(QUERY_STRING)} but it doesn't work. I also tried lower case. Is this not the right way? Hugo ========================================================================= Date: Thu, 18 Apr 1996 15:49:42 -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: Trouble using Illustra from GNNserver on SunOs4.1.4 In-Reply-To: <9604171601.AA00326@ befor.se> (message from Kristian Jorg on Wed, 17 Apr 1996 18:01:19 +0200) >>>>> "Kristian" == Kristian Jorg writes: Kristian> Hi All! I am having problems to access an Illustra Kristian> database from gnnserver. After having set up the Kristian> illustra stuff, using the texdb.dmp to create a new Kristian> database, gnndb, and set up the nsd.ini to connect to it Kristian> ity still does not work. The server just exits with exit Kristian> code 127. The last line in the log is: Kristian> [17/Apr/1996:17:26:15 +0000][2543.0xa61e0] Notice: Kristian> Ns_ModuleSymbol: Loading module file: Kristian> /proj1/web/gnnserver/bin/nsill.so Kristian> Some data: Kristian> GNNServer 2.04 Illustra 3.2 SunOs4.1.4 Kristian> Database name gnndb Database user: miadmin Database User Kristian> passwd: none (empty that is) Hmm. Send me the portion of your server.log from starting the server until it exits with code 127; this should give some indication of the problem. Seeing your nsd.ini file might help too. Kristian> If I try to set a password for miadmin with nsql Kristian> (started as: nsql -U miadmin gnndb') and using the Kristian> following sql statement: Kristian> update users set user_passwd = 'mypass' where user_name Kristian> = 'miadmin' Kristian> Nothing happen. Nsql just sits there. In fact whatever I Kristian> type is ignored. A Ctr-C return a '*' prompt thats Kristian> it... Nsql reports in when started that it connects to Kristian> the gnndb on "connection 0". Both the license server and Kristian> midaemon is running OK, SO WHAT IS WRONG?? You need to terminate your statement with a ";". Kristian> Hoping for an solution to this. The package all-in-all Kristian> promises a lot. I have already set up the server and a Kristian> few pages with gnnpress. Works superbly. Haven't found Kristian> any support for frames but apart from that. Super! (When Kristian> I get the database running, that is :-) Glad you like it so far! doug -- ---------------------------------------------------------------- Doug McKee America Online, Inc. Email: doug@tools.gnn.com 511 Bath Street Voice: (800) 529-9166 Santa Barbara, CA (805) 882-2350 93101 Fax: (805) 899-4316 http://www.tools.gnn.com ---------------------------------------------------------------- ========================================================================= Date: Thu, 18 Apr 1996 16:35:06 -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: ns_SendMail Function Equiv. in C API?? In-Reply-To: (message from Tank on Wed, 17 Apr 1996 12:20:17 -0500) >>>>> "Tank" == Tank writes: Tank> Greets All- I was curious as to why there is no ns_SendMail Tank> function in the C API, or what the way to implement it would Tank> be.... I am currently working on a module that performs Tank> some DB access and manipulation, but also needs to email a Tank> report, and was a little surprised to see no method to mail Tank> using the C-API.... Tank> Would the best option be to have the input form trigger the Tank> Tcl module which emails the report and then calls the C Tank> module? (or perhaps better: have the form trigger the C Tank> module which then calls the Tcl module to email the status)? >>>>> "Jon" == Jon Yarden Jon> The code to send email using the TCL function is pretty Jon> basic, and you should be able to use the same method in C. Jon> Alternatively (which is the way I do it) is to open a pipe to Jon> Sendmail and build your own headers: Jon> fp=popen("/usr/lib/sendmail -t","w"); Jon> fprintf(fp,"To: %s\n",to); Jon> ... Jon> fclose(fp); Jon> When you close the pipe, sendmail gets provoked and out goes the email. To support NT (which has no /usr/lib/sendmail) and Unix, you can just call Ns_TclEval with the appropriate Tcl that invokes ns_sendmail. e.g., Ns_TclEval(pds, hServer, "ns_sendmail ..."); As for why there isn't an Ns_SendMail(), well, there probably should be one that turns around and calls the Tcl code. doug -- ---------------------------------------------------------------- Doug McKee America Online, Inc. Email: doug@tools.gnn.com 511 Bath Street Voice: (800) 529-9166 Santa Barbara, CA (805) 882-2350 93101 Fax: (805) 899-4316 http://www.tools.gnn.com ---------------------------------------------------------------- ========================================================================= Date: Thu, 18 Apr 1996 16:49:38 -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: Testing for null field? In-Reply-To: (petej@clickvision.com) >>>>> "Pete" == Peter M Jansson writes: Pete> I have the following snippet of tcl: Pete> set dbh0 [ns_db gethandle real] Pete> set memberRow [ns_db 1row $dbh0 \ Pete> "select thing1, thing2 from things where thing1 = 'magic';"] Pete> ns_db releasehandle $dbh0 Pete> set thing2 [ns_set value $memberRow 1] Pete> How do I tell if thing2 is null? I've tried comparing Pete> ("==") it against NULL, $NULL, and the empty string (""), Pete> and I can't get a good compare. Well, at this point, you don't know. The row returned will have thing2 being the empty string for values of NULL or the empty string. What you CAN do, is reformulate your query into two queries: 1. select thing1, thing2 from things where thing1 = 'magic' and thing2 is null 2. select thing1, thing2 from things where thing1 = 'magic' and thing2 is not null Sometimes using "==" with string values that are long numbers (e.g. Social Security Number) will give an error; in that case, use "string match". e.g. [string match "" $value]. doug -- ---------------------------------------------------------------- Doug McKee America Online, Inc. Email: doug@tools.gnn.com 511 Bath Street Voice: (800) 529-9166 Santa Barbara, CA (805) 882-2350 93101 Fax: (805) 899-4316 http://www.tools.gnn.com ---------------------------------------------------------------- ========================================================================= Date: Thu, 18 Apr 1996 16:53:49 -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: Very Basic DB Setup Questions In-Reply-To: (message from Tank on Wed, 17 Apr 1996 15:34:07 -0500) >>>>> "Tank" == Tank writes: Tank> Greets- I am trying to set up an illustra database for usage Tank> by GNN 2.03, but have some very basic questions as to how Tank> things get set up... I have manuals for NaviServer v2.0, Tank> and have looked at the Online Docs for GNN-Server, but they Tank> don't seem to line up very well with what is on my screen... Tank> First, I added the nsdb.dll module to the server. Next, I Tank> went to the setup server, and configured a DB Pool for the Tank> new DB... I set up a new NT account with a password for the Tank> system to use.... I stopped and restarted GNN. At this Tank> point, the "DataBase Services" choice was available in the Tank> /ns/admin options for the server, but clicking on it shows Tank> that "No Database Pool Available". It's not trivial to connect the server to the database; I wish it were. Take a look at your server.log -- at startup, the server should have logged the problem(s) it had connecting. Tank> Did I miss a step here? Also, how do I build the DB Tables Tank> via the HTML interface?? (Or does all this need to be done Tank> via NSQL?) Once it's running, you can create/search/enter data into/update your database through an HTML interface. doug -- ---------------------------------------------------------------- Doug McKee America Online, Inc. Email: doug@tools.gnn.com 511 Bath Street Voice: (800) 529-9166 Santa Barbara, CA (805) 882-2350 93101 Fax: (805) 899-4316 http://www.tools.gnn.com ---------------------------------------------------------------- ========================================================================= Date: Thu, 18 Apr 1996 15:28:04 -0700 Reply-To: Web Development with GNNserver and GNN Hosting Service Sender: Web Development with GNNserver and GNN Hosting Service From: Edward Un Subject: How do I customize the "Access Denied" page I would like to customize the "Access Denied" page using the default authentication system. Is it possible? I just need to change the html page. I don't need to override the permission system and I prefer not to rewrite the code. Thanks, Ed -- ------------------------------------------------------------------------- Edward Un 444 De Haro Street, Suite 132 Just in Time Marketing, 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: Fri, 19 Apr 1996 00:41:57 +0000 Reply-To: Web Development with GNNserver and GNN Hosting Service Sender: Web Development with GNNserver and GNN Hosting Service Comments: Authenticated sender is From: Christof Schmidbauer Organization: Ferengi Institute for Business Ethics Subject: Re: Access log script On 17 Apr 96 at 16:51, Cass Tyson wrote: > I hate reinventing the wheel, so: > I've seen a neat little program called accesswatch--has anyone > gotten this to work with GNN Server? Yes, it worked right out of the box (zip-file). Just edit the accesswatch.cfg and schedule a daily run of perl.exe accesswatch.pl using the AT command. --Christof Christof Schmidbauer jwgi@wiwi.uni-frankfurt.de Vereinigung Technischer Analysten Deutschlands e.V. http://caladan.wiwi.uni-frankfurt.de/VTAD/ ========================================================================= Date: Thu, 18 Apr 1996 22:03:09 -0500 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: Testing for null field? >Well, at this point, you don't know. The row returned will have thing2 >being the empty string for values of NULL or the empty string. What >you CAN do, is reformulate your query into two queries: On the suggestion of wells@alexandria.somewhere.edu (Sorry!), I've been using: if {$thing2 == {}} { with success. Is it a fluke, or did we really find a way? Pete. ========================================================================= Date: Fri, 19 Apr 1996 01:28:06 -0700 Reply-To: Web Development with GNNserver and GNN Hosting Service Sender: Web Development with GNNserver and GNN Hosting Service From: "Scott R. Madans" Organization: Instant Homepage Subject: Java Error Howdy! --------------------------------- error: java.lang.ClassFormatError From the LED Sign FAQ: Q: When I load my page with LED Sign on it, I get a "error: java.lang.ClassFormatError". What is wrong? A: Contact your web server administrator. The error is caused by the web server not knowing what a ".class" file is serving to the browser incorrectly. Some web servers have problems with this, others do not. --------------------------------- IS GNNServer one that does? Can anyone tell me why I get the "If you were using a Java-enabled browser..." error with a distant Netscape 2.x client, but when run on the same computer as the server, it works -- even though the Netscape 2.x client on the GNNserver 2.03 system is accessing the page via http? I put all the files directly into the /pages dir. The client is Java-enabled in the Options-->Security menu. It comes from the LED Sign script: http://www.cs.hope.edu/~dbrown/java/LEDSign/WWW/LED.html Thanks... Scott R. Madans ========================================================================= Date: Fri, 19 Apr 1996 09:44:05 +0100 Reply-To: Web Development with GNNserver and GNN Hosting Service Sender: Web Development with GNNserver and GNN Hosting Service From: Howard Jones Subject: Re: Testing for null field? In-Reply-To: <199604182349.QAA12732@navisoft.com> On Thu, 18 Apr 1996, Doug McKee wrote: > Well, at this point, you don't know. The row returned will have thing2 > being the empty string for values of NULL or the empty string. What > you CAN do, is reformulate your query into two queries: > > 1. select thing1, thing2 from things where thing1 = 'magic' and thing2 is null > 2. select thing1, thing2 from things where thing1 = 'magic' and thing2 is not null > > Sometimes using "==" with string values that are long numbers > (e.g. Social Security Number) will give an error; in that case, use > "string match". e.g. [string match "" $value]. > > doug In that case, is there a nice neat way of defaulting form fields when people don't fill them in before build a SELECT query? I have a form with about a dozen all-optional pieces of information where the TCL to handle the form data is getting very large just in validating the data so that the ODBC driver won't complain about blanks and wrong types. Is there a library that does some of this work, before I start to write one? Howard. -- Howard Jones Voss Net Plc. Internet: hjones@vossnet.co.uk http://www.vossnet.co.uk/people/Howard/index.html ========================================================================= Date: Thu, 18 Apr 1996 20:52:55 -0500 Reply-To: Web Development with GNNserver and GNN Hosting Service Sender: Web Development with GNNserver and GNN Hosting Service From: "Oscar J. Meszar" Subject: Problems with Security Can anyone help me with this. I cannot access any of the /NS/Admin functions. It will not accept the nsadmin password. I know the password is correct because I can go into server:9857. thanx, Oscar J. Meszar (OJM) ojm@mcs.com http://www.mcs.com/~ojm/ Think of the possibilities .... ========================================================================= Date: Fri, 19 Apr 1996 10:44:04 -0400 Reply-To: Web Development with GNNserver and GNN Hosting Service Sender: Web Development with GNNserver and GNN Hosting Service From: Doug Thompson Subject: Re: Java Error Scott: I run multiple Java apps on my web site (which is on a NaviHost server: GNNHost's old name) without problems. Sometimes a class format error can happen is your HTML code is corrupted (a missing quote mark even) or even the class file has gotten messed up. Java sometimes does strange things. I've had problems in the past with a class file downloading to a remote browser and erasing itself off the server. Also, make sure your server is fully supporting long file names. Some don't and Java won't work on them. Doug Thompson D.C. ComiX http://www.tridentgroup.com At 01:28 AM 4/19/96 -0700, you wrote: >Howdy! > >--------------------------------- >error: java.lang.ClassFormatError > >From the LED Sign FAQ: > >Q: When I load my page with LED Sign on it, I get a "error: > java.lang.ClassFormatError". What is wrong? > >A: Contact your web server administrator. The error is caused by > the web server not knowing what a ".class" file is serving to > the browser incorrectly. Some web servers have problems with > this, others do not. >--------------------------------- >IS GNNServer one that does? > >Can anyone tell me why I get the "If you were using a Java-enabled >browser..." error with a distant Netscape 2.x client, but when run on the >same computer as the server, it works -- even though the Netscape 2.x client >on the GNNserver 2.03 system is accessing the page via http? > >I put all the files directly into the /pages dir. The client is Java-enabled >in the Options-->Security menu. > >It comes from the LED Sign script: > > http://www.cs.hope.edu/~dbrown/java/LEDSign/WWW/LED.html > >Thanks... > > >Scott R. Madans > ========================================================================= Date: Fri, 19 Apr 1996 11:21:53 -0500 Reply-To: Web Development with GNNserver and GNN Hosting Service Sender: Web Development with GNNserver and GNN Hosting Service From: "Peter M. Jansson" Subject: "No error" error On an Intel-based NT 3.51 box running GNNServer 2.031, I'm seeing a large number of these messages in our logs: Warning: lseek(d:/NaviSoft/Server/servers/myserver/pages/index.htm, -254, SEEK_END) failed: No error How do I get this to stop? Pete. ------------- Peter M. Jansson petej@clickvision.com Click Interactive Visions, LLC. (410) 488-3690 Interactive WWW development services. ========================================================================= Date: Fri, 19 Apr 1996 11:29:18 -0400 Reply-To: Web Development with GNNserver and GNN Hosting Service Sender: Web Development with GNNserver and GNN Hosting Service From: Michael Kmiec Subject: Re: Testing for null field? One way to handle this -- client side, so you don't take the hit -- is to do a form validation in JavaScript. This assumes, of course, that all your users are using Mozilla 2.x. Check out on how to use it. If it doesn't help, let me know, I've already written something that handles such an animal. At 09:44 AM 4/19/96 +0100, you wrote: >In that case, is there a nice neat way of defaulting form fields when people >don't fill them in before build a SELECT query? I have a form with about >a dozen all-optional pieces of information where the TCL to handle the form >data is getting very large just in validating the data so that the ODBC >driver won't complain about blanks and wrong types. Is there a library >that does some of this work, before I start to write one? > >Howard. > >-- >Howard Jones >Voss Net Plc. >Internet: hjones@vossnet.co.uk >http://www.vossnet.co.uk/people/Howard/index.html > > ------------------------------------------------------ Michael Kmiec PFN Incorporated 26 Landsdowne Street Cambridge, MA 02139 mike@pfn.com 617.494.9980 ========================================================================= Date: Fri, 19 Apr 1996 12:22:25 -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: How do I customize the "Access Denied" page At 03:28 PM 4/18/96 -0700, you wrote: >I would like to customize the "Access Denied" page using the default >authentication system. Is it possible? I just need to change the >html page. I don't need to override the permission system and I >prefer not to rewrite the code. In you setup server, go to the virtual server listing, then click on "Parameters". In that page, you can set the "Unauthorized" response page (as well as the responses for NotFound, Forbidden, etc.). The field expects a URL within your pageroot, and it will return that page instead of the default Unauthorized page. Cheers, Jeff Rawlings rawlings@gnnhost.com Webmaster, GNN Hosting Service http://www.gnnhost.com/ Moderator, gnnhost-l and gnndeveloper-l For inquiries about Web Hosting, send email to ========================================================================= Date: Fri, 19 Apr 1996 12:22:26 -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: Problems with Security At 08:52 PM 4/18/96 -0500, you wrote: >Can anyone help me with this. I cannot access any of the /NS/Admin >functions. It will not accept the nsadmin password. I know the password is >correct because I can go into server:9857. You need to set the password separately for each virtual server -- it is not necessarily the same password as the setup server. To get access to the virtual server the first time, try nsadmin:ruffruff or nsadmin without a password. Regards, Jeff Rawlings rawlings@gnnhost.com Webmaster, GNN Hosting Service http://www.gnnhost.com/ Moderator, gnnhost-l and gnndeveloper-l For inquiries about Web Hosting, send email to ========================================================================= Date: Fri, 19 Apr 1996 16:11:42 GMT Reply-To: Web Development with GNNserver and GNN Hosting Service Sender: Web Development with GNNserver and GNN Hosting Service From: Chris Cline Subject: Directory Mapping To Whomever Can Answer My Question: I am a new user of GNN Server and am trying to use Macromedia's Backstage product with it. The Backstage documentation says that I need to set up 2 virtual paths to some of their files. /ibbin & ibimages need to map to a physical path on my server. As indicated by their names, the paths correspond to a program directory and an image directory, respectively. My question is how do I do this in GNNServer. I tried installing the cgi module and inserting the mappings I needed. I used a GET & POST methods for each of my mappings. This did not work. Any help would be greatly appreciated. Thanks, Chris Cline slonline@usa.pipeline.com ========================================================================= Date: Fri, 19 Apr 1996 14:11:52 EST Reply-To: Web Development with GNNserver and GNN Hosting Service Sender: Web Development with GNNserver and GNN Hosting Service From: Mark_Wang_at_NJTRITEC@pcmailgw.ml.com Subject: Re[2]: GNN Document Checkout This should be the responsibility of the Web Master. Developers should only update files in the staging area (you must use relative URL to do so), and each one should have its own space. A second thought: would it be nice if GNN Press and Server could have additional communication so that the TIME STAMP can be stored by Press when loading a page. Then, the TIME STAMP of the file on the server is checked again before change is saved. ______________________________ Reply Separator _________________________________ Subject: Re: GNN Document Checkout Author: Web Development with GNNserver and GNN Hosting Service at UNIXGTWY Date: 4/18/96 1:19 PM Here is my naive imput from thought, off the top of my head, haven't tried it yet but am anxious to get more involved with the list. You could have the page user-id and/or password set for one thing when the page is available for edit, then when someone wants to 'check out' the page for edit, the first step would be to change the user-id and/or password. Then if a second person tries to make changes to the page, they would not have access to save the page because the user-id and/or password will have been changed. Then, once the person who is editing the page is finished could revert the user-id and/or password back to the default. ---------- From: Web Development with GNNserver and GNN Hosting Service on behalf of BKD879A@BAFCO.BELL-ATL.COM Sent: Tuesday, April 16, 1996 5:07 PM To: Multiple recipients of list GNNDEVELOPER-L Subject: GNN Document Checkout The GNNserver/press combination is great! And would even go a long way to solving a problem I have if it could do one thing. My problem is that of multi-user publishing. If two people have access to a document and make edits, the last person to check the document in wins. I need some way to mark the document as "checked out", not to prevent downloading, but to not allow a person to check in a document when it is checked out. And also give some kind of warning to the user when accessing a document that is checked out so they don't make edits that will be wasted. Has any thought been given to this problem and how much work would it be to modify GNNpress/server to maintain this state and provide indication of document status. Thanks, Rick Austin Bell Atlantic 4242 Duke Street Alexandria, VA 22304 703-212-6861 richard.w.austin@bell-atl.com ========================================================================= Date: Fri, 19 Apr 1996 13:48:13 -0500 Reply-To: sfrank@sun1.anza.com Sender: Web Development with GNNserver and GNN Hosting Service From: Steve Frank Organization: ICONtrol, Inc. Subject: Permissions not allowing me in Okay, I'm really stuck on this one: I've set up GNNServer on a Solaris machine, pages going well, etc. I need to control access to a directory called /cgi-bin. Everything here is done via GET methods. I've set up a user with a name of "log", password of "password". This entry is indeed showing up in my users.dat file in the nsperm directory. NSPERM is indeed inabled. When I try to access one of the scripts in the /cgi-bin directory (which work fine without password protection or as nsadmin), it will not accept the password for the "log" id. I've tried this with just a plain file (index.html) and it doesn't work as well there. The permission is set as follows: Method URL: Get /cgi-bin/monitor.cgi (<--right now, I'm doing it for just one single script (this stuff is in perl, btw) Owner: nsadmin Exact URL match is NOT required Allow only these users: "log" No restrictions on groups. No host restriction settings. If I click "Set permission" it says everything went okay. But, if close the page, go back the GNNPress and set it, this stuff switches back. Is there a file that isn't getting written to correctly? I've checked all the permissions, and set ownership appropriately. any clues, anyone?!? Thanks.. Steve Frank sfrank@icontrol.anza.com ========================================================================= Date: Fri, 19 Apr 1996 12:16:27 -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: ODBC over the LAN In-Reply-To: <199604171906.AA28473@post.tandem.com \POS ,$ZNET 5> (LANDON_DICK@TANDEM.COM) >>>>> "Dick" == LANDON DICK writes: Dick> Is it possible to configure GNNserver with it's ODBC driver Dick> connecting to a remote db server? As long as your ODBC driver supports it you can. You must be able to do it with client-server databases like SQL Server, but you might need a special driver to do it with the file-based DBMS's like Access. doug -- ---------------------------------------------------------------- Doug McKee America Online, Inc. Email: doug@tools.gnn.com 511 Bath Street Voice: (800) 529-9166 Santa Barbara, CA (805) 882-2350 93101 Fax: (805) 899-4316 http://www.tools.gnn.com ---------------------------------------------------------------- ========================================================================= Date: Fri, 19 Apr 1996 12:22:26 -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: Can't create ns_tables & ns_columns w/Access 7.0 >>>>> "Jim" == Jim Wilcoxson writes: Jim> Doug - after reading some more references, there seems to be Jim> limited support for SQL DDL like "create table". It only Jim> seems to work when I remove both "not null" and "primary Jim> key". Maybe there's a way you can query the ODBC drivers to Jim> find out what is supported and can avoid doing the create Jim> (and issue a warning or something to the log). I'm just Jim> going to create the ns_tables and ns_columns tables directly Jim> with Access. Thanks for your help. -Jim ODBC supports checking to see if the datasource supports "not null", and we should start using it. Hopefully it will be reliable; ODBC drivers are notoriously not! doug -- ---------------------------------------------------------------- Doug McKee America Online, Inc. Email: doug@tools.gnn.com 511 Bath Street Voice: (800) 529-9166 Santa Barbara, CA (805) 882-2350 93101 Fax: (805) 899-4316 http://www.tools.gnn.com ---------------------------------------------------------------- ========================================================================= Date: Fri, 19 Apr 1996 12:27:55 -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: Limitation of ns_tables inserturl? In-Reply-To: <199604180322.WAA15513@sage.savantage.com> (message from Ashish Parikh on Wed, 17 Apr 1996 22:22:58 -0500) >>>>> "Ashish" == Ashish Parikh writes: Ashish> It seems to me that in ns_tables inserturl cannot be a URL Ashish> which is a Tcl proc (which dynamically generates the page) Ashish> i.e. inserturl has to be file which already exists on some Ashish> filesystem somewhere. You can specify a Tcl proc if you give a fully qualified URL (i.e., starting with http://). Ashish> This is what I'm trying to do: Ashish> When a user enters the information for a table, I would Ashish> like to display a page which has a list of all the items Ashish> in the table. The Tcl proc Ashish> (http://machine.company.com/MyTcl/MyFunction) which does Ashish> this returns the appropriate MIME type but ns_guesstype Ashish> only works on files. Since you know the type, you could have your URL end in the right extension; e.g. MyFunction.html. Ashish> Should ns_guesstype be enchanced to look at the stream Ashish> coming in to figure out the MIME type if it cannot deduce Ashish> it by the URL? Now that sounds painful. doug -- ---------------------------------------------------------------- Doug McKee America Online, Inc. Email: doug@tools.gnn.com 511 Bath Street Voice: (800) 529-9166 Santa Barbara, CA (805) 882-2350 93101 Fax: (805) 899-4316 http://www.tools.gnn.com ---------------------------------------------------------------- ========================================================================= Date: Fri, 19 Apr 1996 12:30:17 -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: extending ns_columns In-Reply-To: <199604181504.KAA26236@sage.savantage.com> (message from Ashish Parikh on Thu, 18 Apr 1996 10:04:04 -0500) >>>>> "Ashish" == Ashish Parikh writes: Ashish> I want to extent the ns_columns table with a column_label Ashish> text attribute. Thus, if the label exists use it Ashish> otherwise use the name. Ashish> In the entryform proc (in nsdb/forms.tcl), there is the Ashish> following code. set description [ns_column valuebyindex Ashish> $tinfo $i description] So, I tried to something similar: Ashish> set mylabel [ns_column valuebyindex $tinfo $i label] Ashish> which did not work (mylabel was ""). I also tried set Ashish> mylabel [ns_column valuebyindex $tinfo $i column_label] Ashish> which did not work either. Ashish> Is something special happening for the "pre-defined" Ashish> attributes of the ns_columns table? If so, what? If not, Ashish> what am I doing wrong? You're out of luck until 2.1, which will allow you to add your own arbitrary column and table attributes. For now you may want to use the "description" attribute. doug -- ---------------------------------------------------------------- Doug McKee America Online, Inc. Email: doug@tools.gnn.com 511 Bath Street Voice: (800) 529-9166 Santa Barbara, CA (805) 882-2350 93101 Fax: (805) 899-4316 http://www.tools.gnn.com ---------------------------------------------------------------- ========================================================================= Date: Fri, 19 Apr 1996 12:34:35 -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: Database Pools Do not show up - System Data Source In-Reply-To: <0031600002499961000002*@MHS> (BPVW89K@CPUSIC.BELL-ATL.COM) >>>>> "Sankar" == BPVW89K writes: Sankar> Jim/ others: Sankar> How do you configure an ODBC Data Source as a System Data Sankar> Source ? You need to make sure you are running the 32 bit ODBC Administrator. When you bring it up, there should be 3 buttons at the bottom of the window: __________ _____________ __________ |Options...| |System DSN...| |Drivers...| ---------- ------------- ---------- If you press the System DSN... button, you will be able to define data sources visible to anyone. doug -- ---------------------------------------------------------------- Doug McKee America Online, Inc. Email: doug@tools.gnn.com 511 Bath Street Voice: (800) 529-9166 Santa Barbara, CA (805) 882-2350 93101 Fax: (805) 899-4316 http://www.tools.gnn.com ---------------------------------------------------------------- ========================================================================= Date: Fri, 19 Apr 1996 15:03:24 +0100 Reply-To: Web Development with GNNserver and GNN Hosting Service Sender: Web Development with GNNserver and GNN Hosting Service From: Cass Tyson Subject: Re: Access log script OK, here's the rub. Two rubs, actually. First, I got Accesswatch to run, but it reports no hits on the server, even though I can see that there are hits in the log. Secondly, I'd like to run the script from a web page rather than using AT; this would allow a more dynamic picture of the site (View hits as of NOW!). Is this possible with AW, or do I need some other app? Recommendations? >> I've seen a neat little program called accesswatch--has anyone >> gotten this to work with GNN Server? > >Yes, it worked right out of the box (zip-file). Just edit the >accesswatch.cfg and schedule a daily run of perl.exe accesswatch.pl >using the AT command. > >--Christof >Christof Schmidbauer jwgi@wiwi.uni-frankfurt.de >Vereinigung Technischer Analysten Deutschlands e.V. >http://caladan.wiwi.uni-frankfurt.de/VTAD/ Cass Tyson NetSmarts EPS Inc. ctyson@netsmarts.com ========================================================================= Date: Fri, 19 Apr 1996 12:40:56 -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: Virtual server tcl directory? In-Reply-To: <199604182006.QAA07124@hammer.tool.net> (message from Jonathan Yarden on Thu, 18 Apr 1996 16:06:43 -0400) >>>>> "Jon" == Jonathan Yarden writes: >> Running GNNServer 2.031 on NT 3.51, I created a "modules/tcl" >> directory for one virtual server, thinking this would allow the >> virtual server to see all the tcl in >> \Navisoft\Server\modules\tcl as well as >> \Navisoft\Server\servers\myserver\modules\tcl, but would >> prevent users of myserver from changing other scripts. The >> problem is that, after restarting the service, I got many log >> messages about how the virtual server couldn't find "init.tcl", >> and it wouldn't start. I tried just copying over the init.tcl >> from \Navisoft\Server\modules\tcl, but that was insufficient. >> How is this supposed to work? Jon> I don't use NT, but under unix, all I did was do a soft link Jon> to all of the files in the base server's modules/tcl Jon> directory. They were already flagged as read-only. I think Jon> that this is a "all or none" setup; you need to have *all* of Jon> the files and subdirectories copied for it to use your Jon> virtual server's TCL directory. This is exactly right; although on NT you'll have to copy the files. We're still thinking about a better system for this; maybe when the server looks for the file, if it doesn't find it in the virtual server specific directory, it looks in the system modules/tcl directory. doug -- ---------------------------------------------------------------- Doug McKee America Online, Inc. Email: doug@tools.gnn.com 511 Bath Street Voice: (800) 529-9166 Santa Barbara, CA (805) 882-2350 93101 Fax: (805) 899-4316 http://www.tools.gnn.com ---------------------------------------------------------------- ========================================================================= Date: Fri, 19 Apr 1996 12:43:52 -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: Different realms for one virtual server? In-Reply-To: (petej@clickvision.com) >>>>> "Pete" == Peter M Jansson writes: Pete> Can I set up a virtual server so that it has different Pete> access control realms? I'm being lazy, but I don't want to Pete> have to re-enter a username and password every time I switch Pete> between entering Tcl scripts and testing them. I want to Pete> have a "normal user" realm for the end-user pages, and a Pete> "developer" realm for entering scripts. Since many browsers Pete> cache usernames and passwords on a per-realm basis, this Pete> would allow me to enter the username and password once per Pete> session. Pete> Groups won't work for this because they are different from Pete> realms. Can't you just run two instances of your browser? doug -- ---------------------------------------------------------------- Doug McKee America Online, Inc. Email: doug@tools.gnn.com 511 Bath Street Voice: (800) 529-9166 Santa Barbara, CA (805) 882-2350 93101 Fax: (805) 899-4316 http://www.tools.gnn.com ---------------------------------------------------------------- ========================================================================= Date: Fri, 19 Apr 1996 15:26:19 -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: BSDI ? port 9876 no go :( In-Reply-To: <9604182009.AA152891@panther.middlebury.edu> (message from Otis Gospodnetic on Thu, 18 Apr 1996 16:09:14 -0400) >>>>> "Otis" == Otis Gospodnetic writes: Otis> Hello, I downloaded GNNServer for BSD the other day and Otis> followed the Instructions for installation and tried to get Otis> the config server up and running on port 9876 with that Otis> nsbootstrap thing, but it didn't quite work Otis> this is what happens: start bin/nsbootstrap and it tells me Otis> that I can go to http://:9876/NS/Setup and Otis> configure my server(s). But when I try connecting to port Otis> 9876 on my machine there is nothing running there and I Otis> can't configure anything. the nsd.ini file does get created Otis> but nothing is listening to port 9876 It sounds like the FreeBSD installation doesn't work on BSDI. Has anyone been able to do this successfully? doug -- ---------------------------------------------------------------- Doug McKee America Online, Inc. Email: doug@tools.gnn.com 511 Bath Street Voice: (800) 529-9166 Santa Barbara, CA (805) 882-2350 93101 Fax: (805) 899-4316 http://www.tools.gnn.com ---------------------------------------------------------------- ========================================================================= Date: Fri, 19 Apr 1996 15:53:38 -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: How to grab the QUERY_STRING environment variable In-Reply-To: <9604182034.AA16163@huge.apcom.com> (message from ACS on Thu, 18 Apr 1996 13:34:57 -0700) >>>>> "Hugo" == ACS writes: Hugo> I'm trying to build a script that is passed a url using the Hugo> ?xyz query string facility. How do I get the QUERY_STRING Hugo> variable from env so that I can use it in my sql search Hugo> statement? Hugo> (I'm still learning tcl) Hugo> I tried set listing {$env(QUERY_STRING)} but it doesn't Hugo> work. If you're using the GNNserver Tcl interface (as opposed to writing a CGI script in Tcl), then you don't get any environment variables set for you; you get this information using the "ns_conn" function: set listing [ns_conn query $conn] doug -- ---------------------------------------------------------------- Doug McKee America Online, Inc. Email: doug@tools.gnn.com 511 Bath Street Voice: (800) 529-9166 Santa Barbara, CA (805) 882-2350 93101 Fax: (805) 899-4316 http://www.tools.gnn.com ---------------------------------------------------------------- ========================================================================= Date: Fri, 19 Apr 1996 17:26:21 -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: How do I customize the "Access Denied" page In-Reply-To: <2.2.32.19960419162225.00be4a84@mail.gnnhost.com> (message from Jeff Rawlings on Fri, 19 Apr 1996 12:22:25 -0400) >>>>> "Jeff" == Jeff Rawlings writes: >> I would like to customize the "Access Denied" page using the >> default authentication system. Is it possible? I just need to >> change the html page. I don't need to override the permission >> system and I prefer not to rewrite the code. Jeff> In you setup server, go to the virtual server listing, then Jeff> click on "Parameters". In that page, you can set the Jeff> "Unauthorized" response page (as well as the responses for Jeff> NotFound, Forbidden, etc.). The field expects a URL within Jeff> your pageroot, and it will return that page instead of the Jeff> default Unauthorized page. Make sure you press the press the green circle at the top of the page to toggle into Expert mode first. That's how you access advanced configuration data. doug -- ---------------------------------------------------------------- Doug McKee America Online, Inc. Email: doug@tools.gnn.com 511 Bath Street Voice: (800) 529-9166 Santa Barbara, CA (805) 882-2350 93101 Fax: (805) 899-4316 http://www.tools.gnn.com ---------------------------------------------------------------- ========================================================================= Date: Fri, 19 Apr 1996 17:31:45 -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: Testing for null field? In-Reply-To: (message from Howard Jones on Fri, 19 Apr 1996 09:44:05 +0100) >>>>> "Howard" == Howard Jones writes: Howard> On Thu, 18 Apr 1996, Doug McKee wrote: >> Well, at this point, you don't know. The row returned will have >> thing2 being the empty string for values of NULL or the empty >> string. What you CAN do, is reformulate your query into two >> queries: >> >> 1. select thing1, thing2 from things where thing1 = 'magic' and >> thing2 is null 2. select thing1, thing2 from things where >> thing1 = 'magic' and thing2 is not null >> >> Sometimes using "==" with string values that are long numbers >> (e.g. Social Security Number) will give an error; in that case, >> use "string match". e.g. [string match "" $value]. >> >> doug Howard> In that case, is there a nice neat way of defaulting form Howard> fields when people don't fill them in before build a Howard> SELECT query? Not really, although you can enter an htmltag_type in the ns_columns table for your column that specifies the widget to use for entry/search and this widget can specify a default value. Howard> I have a form with about a dozen Howard> all-optional pieces of information where the TCL to handle Howard> the form data is getting very large just in validating the Howard> data so that the ODBC driver won't complain about blanks Howard> and wrong types. Is there a library that does some of this Howard> work, before I start to write one? There's no library included now, but I'd love to see one! doug -- ---------------------------------------------------------------- Doug McKee America Online, Inc. Email: doug@tools.gnn.com 511 Bath Street Voice: (800) 529-9166 Santa Barbara, CA (805) 882-2350 93101 Fax: (805) 899-4316 http://www.tools.gnn.com ---------------------------------------------------------------- ========================================================================= Date: Fri, 19 Apr 1996 17:33:34 -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: Testing for null field? In-Reply-To: (petej@clickvision.com) >>>>> "Pete" == Peter M Jansson writes: >> Well, at this point, you don't know. The row returned will have >> thing2 being the empty string for values of NULL or the empty >> string. What you CAN do, is reformulate your query into two >> queries: Pete> On the suggestion of wells@alexandria.somewhere.edu Pete> (Sorry!), I've been using: Pete> if {$thing2 == {}} { Pete> with success. Is it a fluke, or did we really find a way? This probably works fine for your application, but if you want to distinguish between NULL and the empty string, then you need to use the two query method I described. doug -- ---------------------------------------------------------------- Doug McKee America Online, Inc. Email: doug@tools.gnn.com 511 Bath Street Voice: (800) 529-9166 Santa Barbara, CA (805) 882-2350 93101 Fax: (805) 899-4316 http://www.tools.gnn.com ---------------------------------------------------------------- ========================================================================= Date: Fri, 19 Apr 1996 17:38:41 -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: Java Error In-Reply-To: <31774E96.7096@ihp.com> (smadans@ihp.com) >>>>> "Scott" == Scott R Madans writes: Scott> Howdy! --------------------------------- error: Scott> java.lang.ClassFormatError >> From the LED Sign FAQ: Scott> Q: When I load my page with LED Sign on it, I get a "error: Scott> java.lang.ClassFormatError". What is wrong? Scott> A: Contact your web server administrator. The error is Scott> caused by the web server not knowing what a ".class" file Scott> is serving to the browser incorrectly. Some web servers Scott> have problems with this, others do not. Scott> --------------------------------- Scott> IS GNNServer one that does? yes; you need tell the server that .class corresponds to a particular MIME type (I don't know what exactly). To do so, just add the following line to the [ns\server\\MimeTypes] section of your nsd.ini file. You probably need to create the section. .class=What ever the MIME type is Scott> Can anyone tell me why I get the "If you were using a Scott> Java-enabled browser..." error with a distant Netscape 2.x Scott> client, but when run on the same computer as the server, it Scott> works -- even though the Netscape 2.x client on the Scott> GNNserver 2.03 system is accessing the page via http? I have no idea. doug -- ---------------------------------------------------------------- Doug McKee America Online, Inc. Email: doug@tools.gnn.com 511 Bath Street Voice: (800) 529-9166 Santa Barbara, CA (805) 882-2350 93101 Fax: (805) 899-4316 http://www.tools.gnn.com ---------------------------------------------------------------- ========================================================================= Date: Fri, 19 Apr 1996 16:00:28 -0500 Reply-To: Web Development with GNNserver and GNN Hosting Service Sender: Web Development with GNNserver and GNN Hosting Service From: "Peter M. Jansson" Subject: ns_set vs. Tcl array? Tcl arrays seem to do most of what ns_set structures do, so I was wondering what benefits come from using ns_sets (or what pitfalls arise using Tcl arrays). I'm new to Tcl, so if there are horrible performance penalties when using Tcl arrays, I don't know about them. In writing some scripts, I could probably use the Tcl array as easily as an ns_set, so I was wondering which would be preferred and why. Thanks, Pete. ------------- Peter M. Jansson petej@clickvision.com Click Interactive Visions, LLC. (410) 488-3690 Interactive WWW development services. ========================================================================= Date: Fri, 19 Apr 1996 18:12:14 -0800 Reply-To: Web Development with GNNserver and GNN Hosting Service Sender: Web Development with GNNserver and GNN Hosting Service From: Alex Khassin Subject: New line esape sequence in HTML In-Reply-To: --=_20tW16g.bO1996u.N02d000A.r04Y.12:00617e Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Does anyone know how does to specify a new line within HTML text. Not a
or any other tag for that matter but an equivalent of \n. Something like &xxx, probably. What I need is this: In my custom forms-processing script, a user specifies a hidden field in the HTML souce code for the form called 'message' the value is the text string that will be displayed by my script when the form is submitted, i.e. "Thank you for submitting the info". I'd like to be able to specify something like this in the value: "Thank you for submitting the info. \n We will contact you shortly". That way the resultant page will display the message in two neat lines. What I don't know is the code for \n. I can't use HTML tags because it would break the code of the form itself! If you need to see what I mean check out a test page at: http://am.net/am/program.htm Thanks --=_20tW16g.bO1996u.N02d000A.r04Y.12:00617e 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 The Source for Advanced Computing Solutions http://am.net --=_20tW16g.bO1996u.N02d000A.r04Y.12:00617e-- ========================================================================= Date: Fri, 19 Apr 1996 23:22:20 +0000 Reply-To: Web Development with GNNserver and GNN Hosting Service Sender: Web Development with GNNserver and GNN Hosting Service From: Henry Frith Subject: Password Protected When I run a simple guest book (http://www.ugrad.cs.ubc.ca/spider/q6e192/cgi/home.html) on my NT Workstation and sumit a form I get username and password required on server one. I have to log in as nsadmin to get the form to sumit. How do I control user access with the NaviServer? Thanks for any help! Henry Frith InterNet Integration, Inc. ========================================================================= Date: Sat, 20 Apr 1996 07:56:58 UT Reply-To: Web Development with GNNserver and GNN Hosting Service Sender: Web Development with GNNserver and GNN Hosting Service From: Coby Pachmayr Subject: E-mail question I'm not sure if this is the correct forum with which to post, but thought I'd give it a whirl anyway... I have a client who I have pretty much sold on the idea of utilizing GNN Hosting service at the Domain level, rather than starting off with a dedicated service at his site. I explained that with mail aliasing, each employee could have their_name@hiscompany.com, and the mail could be forwarded to business email address with their ISP. He is setting up a Windows/Windows95 network that I think right now is peer-to-peer, and planning on using MS Exchange for intra office e-mail. So right now, his only hang up on going with the hosting service, is that he would like the mail that comes in sorted automatically to the intended recipient. My suggestion to him, was that just as he has a receptionist who sorts incoming messages, the receptionist could sort and forward the incoming mail to the appropriate person. This however does not seem acceptable to him, yet paying the price to have the dedicated server at their site, (or even the Dedicated GNN level) just to have a mail server running seems a bit high. Any thoughts? Again I apologize if this isn't the appropriate forum, but being a Commercial level customer, I would be interested in this answer as well for developing our own sight. Any help is appreciated. Thanks. Coby D. Pachmayr ========================================================================= Date: Fri, 19 Apr 1996 15:50:22 -0700 Reply-To: Web Development with GNNserver and GNN Hosting Service Sender: Web Development with GNNserver and GNN Hosting Service From: John Mantegna Subject: Re: Directory Mapping At 04:11 PM 4/19/96 GMT, you wrote: >To Whomever Can Answer My Question: > > I am a new user of GNN Server and am trying to use Macromedia's Backstage >product with it. The Backstage documentation says that I need to set up 2 >virtual paths to some of their files. /ibbin & ibimages need to map to a >physical path on my server. As indicated by their names, the paths >correspond to a program directory and an image directory, respectively. > > My question is how do I do this in GNNServer. I tried installing the cgi >module and inserting the mappings I needed. I used a GET & POST methods >for each of my mappings. This did not work. > First, check the server log to verify that the server is creating your intended mappings successfully. On server startup, you should see something like: ... Notice: Cgi: GET /ibbin -> /usr/local/backstagestuff/bin ... Notice: Cgi: POST /ibbin -> /usr/local/backstagestuff/bin ... Notice: Cgi: GET /ibimages -> /usr/local/backstagestuff/images ... If this look OK, your problem is probably a CGI Interpreter configuration problem. Read the following excerpt from the online docs for info on CGI Interp configuration: http://www.tools.gnn.com/server/docs/2.01/cgi-ch2.htm#26630 -John ______________________________________________ John Mantegna AOL Santa Barbara Vox:805-882-2350 511 Bath St. Fax:805-882-4316 Santa Barbara, CA 93101 ========================================================================= Date: Mon, 22 Apr 1996 10:47:18 -0400 Reply-To: pkwu@lehman.com Sender: Web Development with GNNserver and GNN Hosting Service From: Peter Wu Subject: questions Hi, I'm running gnnserver on a solaris 2.5 machine and running gnnpress 1.1 on both sunos413 and solaris2.5. I was wondering if anyone can answer these questions... 1) How do I force gnnserver to resynchronize its search indexes? When I need to manually go in and edit files in the virtual server pages directories and I run resynch from the fulltext admin menu .. it doesn't seem to recognize that I edited some of those files without using gnnpress. I've tried to "touch" the files but that doesn't seem to do anything. What's the criteria that gnnserver uses to tell if a file has changed? Also .. while I'm on the subject .. when I do a sync ... it seems to index certain files more than once. Why is that? 2) Also, has anyone ever experienced problems saving a page from GNNPress to a gnnserver? I've experienced problems where I can save all the pages up to a certain level which forces me to go in with emacs and edit them. i.e. I can save $GNNHOME/server/server1/pages/users/d/dsoarch/one/two/two.html but I can't save: $GNNHOME/server/server1/pages/users/d/dsoarch/one/two/three/three.html I called this one into technical support but never heard anything back from them about it. Thanks. --- Peter Wu - pkwu@lehman.com ========================================================================= Date: Sat, 20 Apr 1996 08:41:28 -0500 Reply-To: Web Development with GNNserver and GNN Hosting Service Sender: Web Development with GNNserver and GNN Hosting Service From: "Oscar J. Meszar" Subject: NT TCP/IP This is more an NT question than GNN Server, but maybe someone has an idea. I installed the GNN Server on a NT workstation machine at my house. When ever try to use the machine name, http://machine_name/index.htm, to access my page from the browser it takes a long time to come back. If I use the machine address http://xxx.xxx.xxx.xxx/index.htm it come back right away. If I enter the address without a specific page to retrieve, it will take just as long as if I had enter the machine name. Once it finds the name of the machine I can continue to select pages from an address using the machine name as long as I don't close the browser. If I ping the machine name, it finds it right away also. Can someone help me with this one? Thanx, Oscar J. Meszar (OJM) ojm@mcs.com http://www.mcs.com/~ojm/ Think of the possibilities .... ========================================================================= Date: Sat, 20 Apr 1996 14:11:30 EDT Reply-To: Web Development with GNNserver and GNN Hosting Service Sender: Web Development with GNNserver and GNN Hosting Service From: "Larry W. Virden, x2487" Subject: Re: Access log script In-Reply-To: of Wed, 17 Apr 1996 16:51:04 -0400 Please remember that when you find or write Tcl scripts, etc. out there to let me know (if it wasn't me that pointed you to the item in question) so that they can be added to the Tcl FAQs (about which I assume you know). -- Larry W. Virden INET: lvirden@cas.org is here! <*> O- Unless explicitly stated to the contrary, nothing in this posting should be construed as representing my employer's opinions. ========================================================================= Date: Sun, 21 Apr 1996 10:36:02 -0700 Reply-To: Web Development with GNNserver and GNN Hosting Service Sender: Web Development with GNNserver and GNN Hosting Service From: Kireau Kendrick Subject: Remote manual stop/start via telnet on NT In-Reply-To: <2.2.32.19960419162225.00be4a84@mail.gnnhost.com> My GNNServer is remotely located on a machine that is colocating at an isp quite a ways away. I have a telnet daemon installed and would like to stop and start the server via telnet, remotely, in order for the nsadmin changes to take place. I get access to the full c:\GNN directory and c:\WINNT95 and any other directories in File Manager via telnet. How do I stop and start the server via telnet? Kireau Knedirck ========================================================================= Date: Tue, 23 Apr 1996 10:08:27 -0400 Reply-To: pkwu@lehman.com Sender: Web Development with GNNserver and GNN Hosting Service From: Peter Wu Subject: more questions Hi, I was wondering if it's possible to use array types for the illustra tables via gnnserver's database services? It seems a shame to waste such a powerful feature of illustra. When creating a table it seems that we can only use the specified types. Is there anyway around it? I know I can create my own tables and my own cgi-bin's to handle them .. but one of the reasons why we got GNNServer was for its ease of use for end users that we might give access to. Thanks. --- Peter Wu - pkwu@lehman.com ========================================================================= Date: Sun, 21 Apr 1996 11:14:49 -0700 Reply-To: Web Development with GNNserver and GNN Hosting Service Sender: Web Development with GNNserver and GNN Hosting Service From: David H Dennis Subject: GNN Server Install Blues Comments: cc: David H Dennis I downloaded the GNN server for SunOS and am having a strange problem installing it. I was, of course, hoping someone might be able to shed some light on it. When I unpacked the TAR file, I got an "Unexpected EOF" error while unpacking the copyright notice for pthreads - is everyone else getting this, or was my package somehow incomplete? I did try downloading it again, and got the same message when untarring it, so I assume that, if this is a problem, it's a problem with the base file and not the downloading itself. I'm suspicious, since copying my libpthread.so.1.1 from the lib directory to /lib or /usr/lib still results in the 'ld.so: libpthread.so.1 not found' error message. When I tried setting the LD_LIBRARY_PATH environment variable to the directory in which the library was located (/export/home/gnnserver/pthreads/lib), it still couldn't find it. I've been doing the installation su'd to root. I don't use NIS; both usernames (david and root) are in my /etc/passwd file. I'm looking forward to checking it out, the database features in particular, if I can just get past this one obstacle. :-( Many thanks for any help or ideas you can give. D ========================================================================= Date: Tue, 23 Apr 1996 01:12:53 -0400 Reply-To: Web Development with GNNserver and GNN Hosting Service Sender: Web Development with GNNserver and GNN Hosting Service From: "Stephen R. Sinotte" Subject: Printing With Navipress >Date: Thu, 14 Mar 1996 02:39:38 -0400 >To: gnnhost-l@services.web.aol.com >From: "Stephen R. Sinotte" >Subject: Printing With Navipress > > Using an Epson Stylus Color ESC-P2 with Navipress in Windows 3.x, I can print Web pages, complete with color backgrounds, provided the background is an image file. In Windows 95, however, I can not print at all with Navipress. The print menu selection is not available. Is there a work-around for this? Unlike in Windows 3.x, Navipress runs flawlessly in Win95. I can have Netscape running side by side with Navipress so as to monitor changes to pages in real time (using Netscape reload button). It would also be nice to be able to print the pages in color with the backgrounds. No other browser that I know of allows printing the backgrounds in either version of Windows. Thanks for any input. NOTE: This message was originally sent on 3/24, but I have not received any response. Any ideas or experience along this line would be appreciated. Thanks. > ************ Stephen R. Sinotte webmaster@world-web.com P.O. Box 908, Portage, MI 49081 Phone/Fax (616) 668-2855 ========================================================================= Date: Mon, 22 Apr 1996 20:01:41 +0200 Reply-To: Web Development with GNNserver and GNN Hosting Service Sender: Web Development with GNNserver and GNN Hosting Service From: Joerg Plewe Organization: G DATA Software Subject: No Database Services link in admin page? Dear list, is it due to my low IQ or to other problems that I cannot find the 'Database Services' link anywhere? Can thsi be an installation problem? Using the database with nsql is NO problem! Here is my logfile: [22/Apr/1996:19:53:23 +0200][160.183] Notice: Ns_ModuleSymbol: Loading module file: d:/gnn/server/bin/nslog.dll [22/Apr/1996:19:53:23 +0200][160.183] Notice: AccessLog(server1): Opened log: D:/GNN/Server/servers/server1/modules/nslog/access.log [22/Apr/1996:19:53:23 +0200][160.183] Notice: Ns_ModuleLoad(server1): Loading module: nsdb.dll [22/Apr/1996:19:53:23 +0200][160.183] Notice: Ns_ModuleSymbol: Loading module file: d:/gnn/server/bin/nsdb.dll [22/Apr/1996:19:53:23 +0200][160.183] Notice: Ns_ModuleLoad(illustra): Loading module: nsill.dll [22/Apr/1996:19:53:23 +0200][160.183] Notice: Ns_ModuleSymbol: Loading module file: d:/gnn/server/bin/nsill.dll [22/Apr/1996:19:53:23 +0200][160.183] Notice: Ns_DbOpenDb(illustra): Opening datasource: default:www [22/Apr/1996:19:53:26 +0200][160.183] Notice: Ns_DbOpenDb(illustra): Opening datasource: default:www [22/Apr/1996:19:53:27 +0200][160.183] Notice: Ns_ModuleLoad(server1): Loading module: nstext.dll [22/Apr/1996:19:53:27 +0200][160.183] Notice: Ns_ModuleSymbol: Loading module file: d:/gnn/server/bin/nstext.dll [22/Apr/1996:19:53:30 +0200][160.183] Notice: Ns_ModuleLoad(server1): Loading module: counter.dll [22/Apr/1996:19:53:30 +0200][160.183] Notice: Ns_ModuleSymbol: Loading module file: d:/gnn/server/bin/counter.dll [22/Apr/1996:19:53:30 +0200][160.183] Notice: StartDrivers(server1): Starting driver: nssock [22/Apr/1996:19:53:30 +0200][160.183] Notice: SockStart(server1, nssock): Listening on: http://www:8000 [22/Apr/1996:19:53:30 +0200][160.183] Notice: StartDrivers(server1): Creating run thread for driver: nssock [22/Apr/1996:19:53:30 +0200][160.90] Notice: RunDriver(server1, nssock): Starting. [22/Apr/1996:19:53:30 +0200][160.90] Notice: RunDriver(server1, nssock): Accepting. [22/Apr/1996:19:53:30 +0200][160.173] Notice: RunServer(server1): Waiting for 1 driver to stop. [22/Apr/1996:19:54:31 +0200][160.164] Notice: Viewing last 2048 bytes from server log: D:/GNN/Server/log/server.log Hope somebody helps, - Joerg -- /_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_ /_ Dipl. Phys. Joerg Plewe G DATA Software, Bochum/Germany /_ /_ What I think and what my employer thinks is not necessarily the same! /_ /_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_ ========================================================================= Date: Sun, 21 Apr 1996 20:19:51 -0500 Reply-To: Web Development with GNNserver and GNN Hosting Service Sender: Web Development with GNNserver and GNN Hosting Service From: Jerri Kohl Subject: Problems compiling C API code on Solaris 2.4 with g++ from gcc 2.7.0 In-Reply-To: <199604200033.RAA21548@navisoft.com> When compiling example/custom C/C++ code with g++ 2.7.0 on a Solaris 2.4 machine with the 2.031 version of gnnserver installed, the following errors occur: g++ -I/export/home/jerri/local/gnnserver/include -D__solaris__ -c hello.c In file included from /export/home/jerri/local/gnnserver/include/ns.h:63, from hello.c:1: /export/home/jerri/local/gnnserver/include/nsfuncs.h:305: parse error before `)' /export/home/jerri/local/gnnserver/include/nsfuncs.h:305: `Ns_ScheduleProc' decl ared as function returning a function /export/home/jerri/local/gnnserver/include/nsfuncs.h:305: parse error before `vo id' make: *** [hello.o] Error 1 The same errors do not occur when using the same version of g++ on a linux box with the 2.02 version of gnnserver installed. I have diffed the nsfuncs.h file between the two versions and have found nothing relevant changed. The linux box can compile all code succesfully. We can also compile the examples with the 2.7.0 gcc on the Solaris machine. There are only errors when using the g++ compiler on that machine. The reason why compiling with g++, as opposed to gcc, is important to us is because we have written C++ code using the C API and we need to be able to run it on a wide variety of platforms. We use Visual C++ for NT and g++ for the unix platforms. When compiling our code on the Solaris system, we end up getting the above errors, just the same as when compiling examples. Jerri Kohl Spinavision Your Complete Solution To Marketing In The Information Age ========================================================================= Date: Mon, 22 Apr 1996 13:41:48 +0200 Reply-To: Web Development with GNNserver and GNN Hosting Service Sender: Web Development with GNNserver and GNN Hosting Service From: Joerg Plewe Organization: G DATA Software Subject: Newbie getting a foot in the door? Hi all! I'm just a newbie and I have installed the GNNServer and the Illustra server for my company on a Windows NT4b server. I came to know Postgres once so the Web/Illustra combination seems to be extremely interesting to me! Now my problem is how to get started! - What do I have?? (e.g. what licences from Illustra?) - Is it right that it is all free so far? - Where do I find the documentation except installation stuff? Can I do printouts? - How can I ACCESS Illustra? The server seems to work, I setup an own database (which I can use via nsql). Are there examples using Illustra from the web? - Can I reach Illustra from a Java program? - Where is the point when we will have to pay for things? For now I am completely confused ;-) and I really hope some kind guy here can help me!! - Joerg /_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_ /_ Dipl. Phys. Joerg Plewe G DATA Software, Bochum/Germany /_ /_ What I think and what my employer thinks is not necessarily the same! /_ /_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_ ========================================================================= Date: Mon, 22 Apr 1996 02:05:24 -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: GNN Document Checkout In einer eMail vom 17.04.1996 14:55:05, schreiben Sie: >Has any thought been given to this problem and how much work would it > be to modify GNNpress/server to maintain this state and provide > indication of document status. > > You might try it this way: Put the pages you are edditing in a database. Another datafield should contain a boolean for marked as checked. You can also define other status. Now write a script, wich gives you a list of the not checked pages. These will be edited, written back to the database, marked as checked and finally you'll generate the pages out of the database. So long Malte Sussdorff ========================================================================= Date: Mon, 22 Apr 1996 00:38:19 -0400 Reply-To: Web Development with GNNserver and GNN Hosting Service Sender: Web Development with GNNserver and GNN Hosting Service From: Brad Chick Subject: probs with email form module insertandmailop I'm having a lot of trouble with the email form module (the one that is supposed to send email from form data and also insert that form data into a row of a database table, given a *.row template). To try to figure it out, I created a very simple database table (with just one column) and a very simple form (below). But no matter how I change things, I always get an internal server error message. And although the form data gets emailed to the appropriate place, it doesn't get entered into the table. I must be doing something wrong, but I just can't figure it out (I'm no Tcl expert, so looking at the code was not much help). Anyway, here's the test form (again, I tried specifying the database pool and other things, but nothing I've tried has worked). DIS Table Test
Name...............: 
Any help would be appreciated (some more documentation on using the above module). ------------------------------------------------------------------------------- --o / Brad Chick `\<, / "DoMan" 0/ 0 / \e/ Do It Sports, Inc. __o __o / I 2360 E. Stadium Blvd. `\<, `\<, / `\\, Suite 13 (aren't we lucky?) O/ O --o O/ O/ O/ O Ann Arbor, MI 48014 `\<, / 0/ 0 / Voice: (313) 971-0120 __o / Fax: (313) 971-8248 `\-\ / 0/ 0 / e-mail: doman@doitsports.com ------------------------------------------------------------------------------- "Doesn't matter where you finish, so long as you're sweating!" -DoMan ========================================================================= Date: Sun, 21 Apr 1996 20:49:00 -0700 Reply-To: Web Development with GNNserver and GNN Hosting Service Sender: Web Development with GNNserver and GNN Hosting Service From: ACS Subject: is there a way to do a redirect ? Is there a way to redirect a url request to a new location as there is in the Netscape server? Hugo ========================================================================= Date: Tue, 23 Apr 1996 09:04:43 -0700 Reply-To: Web Development with GNNserver and GNN Hosting Service Sender: Web Development with GNNserver and GNN Hosting Service From: Richard Galpin Hello Jeff, I have created a database form and I have the fields I need. I want one of the fields to be a "select from list" option. This is easy in the forms option in Navipress, but how do I do it on the server. I tried editing the server generated form with the NaviPress editor but that did not work. I looked at the code for the date which generates the menu options for the month. The html code looks easy to reproduce manually but is there a way to do it without touching the code. Thanks for you help. Richard ========================================================================= Date: Tue, 23 Apr 1996 13:26:47 -0500 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: Password Protected By default, the GNNServer comes with restrictions on POST, to prevent misuse of the database forms. You can create a new permission record from /NS/Perm/Admin, for the POST method to your URL which has no restrictions. If you only have a few forms on your system, this is a good way to go. Otherwise, you need to relax the restrictions on POST of "/", and then restrict the DB forms (POST of "/NS/Db"). To keep consistent with the permissions that are shipped, create a record with no restrictions for POST on "/NS/Db/Admin". Pete. >When I run a simple guest book >(http://www.ugrad.cs.ubc.ca/spider/q6e192/cgi/home.html) on my >NT Workstation and sumit a form I get username and password >required on server one. I have to log in as nsadmin to get the >form to sumit. How do I control user access with the NaviServer? > >Thanks for any help! >Henry Frith >InterNet Integration, Inc. ========================================================================= Date: Wed, 17 Apr 1996 13:32:06 -0400 Reply-To: Web Development with GNNserver and GNN Hosting Service Sender: Web Development with GNNserver and GNN Hosting Service From: Steve Zohn Subject: Re: E-mail question ------ =_NextPart_000_01BB2C62.496B3340 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Check out NTmail. It is an inexpensive Ntmail server that can run as a = background process on any NT machine. If they are paying for a domain = name, they should be able to point www.hiscompany.com at one machine, = and hiscompany.com to another machine. Ntmail can use a dedicated = internet connection or a dialup connection, so the all out cost should = not be very high. If that won't work, you can also check out = www.netbox.com. They are a low price mail service that will provide = domain level service. We use NTmail and it has been very dependable. Steve ---------- From: Coby Pachmayr[SMTP:pachmayr@MSN.COM] Sent: Saturday, April 20, 1996 3:56 AM To: Multiple recipients of list GNNDEVELOPER-L Subject: E-mail question I'm not sure if this is the correct forum with which to post, but = thought I'd give it a whirl anyway... I have a client who I have pretty much sold on the idea of utilizing GNN Hosting service at the Domain level, rather than starting off with a = dedicated service at his site. I explained that with mail aliasing, each employee = could have their_name@hiscompany.com, and the mail could be forwarded to = business email address with their ISP. He is setting up a Windows/Windows95 = network that I think right now is peer-to-peer, and planning on using MS = Exchange for intra office e-mail. So right now, his only hang up on going with the = hosting service, is that he would like the mail that comes in sorted = automatically to the intended recipient. My suggestion to him, was that just as he has a receptionist who sorts incoming messages, the receptionist could sort = and forward the incoming mail to the appropriate person. This however does = not seem acceptable to him, yet paying the price to have the dedicated = server at their site, (or even the Dedicated GNN level) just to have a mail server running seems a bit high. Any thoughts? Again I apologize if this = isn't the appropriate forum, but being a Commercial level customer, I would be interested in this answer as well for developing our own sight. Any = help is appreciated. Thanks. Coby D. Pachmayr ------ =_NextPart_000_01BB2C62.496B3340 Content-Type: application/ms-tnef Content-Transfer-Encoding: base64 eJ8+Ig0RAQaQCAAEAAAAAAABAAEAAQeQBgAIAAAA5AQAAAAAAADoAAENgAQAAgAAAAIAAgABBJAG AJABAAABAAAADAAAAAMAADADAAAACwAPDgAAAAACAf8PAQAAAHgAAAAAAAAAgSsfpL6jEBmdbgDd AQ9UAgAAAABXZWIgRGV2ZWxvcG1lbnQgd2l0aCBHTk5zZXJ2ZXIgYW5kIEdOTiBIb3N0aW5nIFNl cnZpY2UAU01UUABHTk5ERVZFTE9QRVItTEBTRVJWSUNFUy5XRUIuQU9MLkNPTQAeAAIwAQAAAAUA AABTTVRQAAAAAB4AAzABAAAAJAAAAEdOTkRFVkVMT1BFUi1MQFNFUlZJQ0VTLldFQi5BT0wuQ09N AAMAFQwBAAAAAwD+DwYAAAAeAAEwAQAAADkAAAAnV2ViIERldmVsb3BtZW50IHdpdGggR05Oc2Vy dmVyIGFuZCBHTk4gSG9zdGluZyBTZXJ2aWNlJwAAAAACAQswAQAAACkAAABTTVRQOkdOTkRFVkVM T1BFUi1MQFNFUlZJQ0VTLldFQi5BT0wuQ09NAAAAAAMAADkAAAAACwBAOgEAAAACAfYPAQAAAAQA AAAAAAADqVQBCIAHABgAAABJUE0uTWljcm9zb2Z0IE1haWwuTm90ZQAxCAEEgAEAFAAAAFJFOiBF LW1haWwgcXVlc3Rpb24AngYBBYADAA4AAADMBwQAEQANACAABgADAB4BASCAAwAOAAAAzAcEABEA DQAYADcAAwBHAQEJgAEAIQAAADA0MUY3MzM3NTQ5OENGMTFBRDhGMDBDMERGNDY0RjBEACwHAQOQ BgD0BwAAEgAAAAsAIwAAAAAAAwAmAAAAAAALACkAAAAAAAMANgAAAAAAQAA5ACD6QsyDLLsBHgBw AAEAAAAUAAAAUkU6IEUtbWFpbCBxdWVzdGlvbgACAXEAAQAAABYAAAABuyyDzDs3cx8FmFQRz62P AMDfRk8NAAAeAB4MAQAAAAUAAABTTVRQAAAAAB4AHwwBAAAAGAAAAHN0ZXZlQHN0dWRlbnRhY2Nl c3MuY29tAAMABhAWjISMAwAHEI8GAAAeAAgQAQAAAGUAAABDSEVDS09VVE5UTUFJTElUSVNBTklO RVhQRU5TSVZFTlRNQUlMU0VSVkVSVEhBVENBTlJVTkFTQUJBQ0tHUk9VTkRQUk9DRVNTT05BTllO VE1BQ0hJTkVJRlRIRVlBUkVQQVlJAAAAAAIBCRABAAAAewYAAHcGAAA1CwAATFpGdeiVPYT/AAoB DwIVAqgF6wKDAFAC8gkCAGNoCsBzZXQyNwYABsMCgzIDxQIAcHJCcRHic3RlbQKDM3cC5AcTAoB9 CoAIzwnZO/EWDzI1NQKACoENsQtg4G5nMTAzFFALChRRRQvyYwBAIENoBZBrZiAIYAVATlQAwAMQ LtggIEkFQAQAIAORC4CYZXhwCfAAkHZlB7BqdBuyIBGwch1ABcB0SxGABUBjA5FydQOgYWkcYSBi ANBrCcAIYG7kZCATUG9jB5AEIAIg1RxxeRuBIADBaByxG/J6Zh5BZSDwCsAdUAqwebkLgGcgAhAF wB9QZANxUQuAIG5hB4AsIgRzamgIYGwgAGIdUAGgbGkdUHRvIBBvC4AFQCD6dyYgLiFwBPADcAqw IOD+LiaRHHAFQAIgHVAhRSQg3wBwIAAmbSVyAHBvIhEFwHchRx11HqJ1EbAjQgmAaf8eoBPQIAAl 0QSREcAekAIgcRzAY3RpIKEjJAcxdXZwLQkkIHMlkCIRHHBs/wMgG1IFoBPAJIYp0STyHhGzIPAh cGdoIbYecXcCINInMoJyayQgeQhgHpN/B0AvQRFwGxYmIizRBuB4+ycCG/FUIiYfUBWgB+ATUP8s ECeiHbU28jJUAxADICAhvzewDbAjZiVQHUA3Zy4Khb0KhVcdUCuCG5QoQ2kFQH8RgAQgJQAJ8DFU DbAc8WR7JTI6ZlMT0B1AOnwK9GwQaTE4MALRaS0xPDQ0DfAM0EDTC1kxNs8KoANgE9AtYCAtQvcK h9dBqwwwQnZGA2E6Q/5CdtMMghrgb2Ig8FAhUQDAAHlyW1NNVFA6CwqwSCRABeBOLkNP/E1dQ59E rQZgAjBF30brrQYQdAhwPdB5JCBBNtEHAyAB0CQgMTk5NiDIMzo1T4BBTUn/RK3sVG9MP0brTSTA LXALUPsdUBYQYwUgCJACMCCBIfADQDAwUUdOTkRFVgBFTE9QRVItTONQH0sOdWJqLVFSP0br9EUt HZNxClATwC2BPv85QAMzNkF3GkVCdkkn+ycwMPJzCHAdUAaQHkEcUb8cUS9yBaFUoQVAIxF1JzD/ A/AeUCYQIXARcCV0E8AkIL5iG2EeUAhgMdBe0mQKhV5nHTI8cR9QYeFyPBJ52ncisC5lkDp8STyR HUH9H1BjQDBMAWHRJZBmpRNQ5RHAdCDwbXViES9AJNF/IKEvcjjhH1BVURtgAxBp7noi0lXRCoVI MEEi0jeG2x5xL3JEOTkkIHIecCoC/x5RA6ATwArAa8NVUCHwYZN/K8kKhWwZYAIAkBPQG/Ig/xzR C2IsUTgFYbE75EAwHyA/ItEkIGnwYhET4AtQb3l/CeAtASTBCoVmwyIRZPBf/SPiQCZsKDQvcir0 JLYjEf9lYAsgctIlkGLQdDEgYQqF8xPgO/NkZBYQBBFhk3aD6RwQU1Ab8UhfoXGxaHE3ItIuUR9Q VwuAI3B3c/IvfnU5NSPQEcAzAgqF9x5TZqBf8W4bMAUQY1Ip0K8H4BxRHPAEkC0lgC2CEn8oNAtR LTBu8ytiItIF4UX+eBFxGRB5cwqFJdFt4G8i7TbyZVsTG/FTJZCBRyQge2ACAiBsMZEZAX4SIKFn /yXBIvB8NiiAa6RwfCQgYEPfcWIdUDKgJMJAMGt2Yzckfx5UA3AHkSOxL0AAICxRYf8bYANxLXAe oC/AIPAlgIAHv1+hLJEf8CxRVKcb8U0kcf9jQITgW6MlciFweAFlYIul/morgGSRBCCJ8h8iCoVU of89kC1yVZJnoo5ijhImkSLS+QeBc2GSMSQjlSx5BI5ifyhCCoV5lZA1lsaNQy9VcP8gITbRLDGC ARGgAiA1sxxR/SSgdzmhBcAjcAeRKdFwd/sT4BxwY5VSJTaS43UwBUD/IqUvcjbUkrJ2RSvZHeUe cO+P2HyxcdIkICgFsTmhaXTuRCv3VdE5hCmTtKImH1D/HZmUxh7wg3OfUh8zPHIxxGZBIOFjFXM/ HAAUsGffI6JmoJxAFZFkMHpfqjLC/yIRCoWcSmEzYrQlACLSH1B1CFBtB4ByVMAHQDmFY/+T0Y3h gsFmoIxEJQCFSASQ/1uRLFNf5ABxngAjMXwROcD/AyAjEg2wObGcgG7zCHAbQN53boGBUqr1GwBs LmAEAD+uWVSxLDI6bTXgAHBrc/s6bUezRBvwSAZb/10PXhwLCoUVMQDAQAADABAQAAAAAAMAERAA AAAAQAAHMKCYXcuCLLsBQAAIMKCYXcuCLLsBHgA9AAEAAAAFAAAAUkU6IAAAAAD+jw== ------ =_NextPart_000_01BB2C62.496B3340-- ========================================================================= Date: Tue, 23 Apr 1996 15:03:43 -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: ns_set vs. Tcl array? In-Reply-To: (petej@clickvision.com) >>>>> "Pete" == Peter M Jansson writes: Pete> Tcl arrays seem to do most of what ns_set structures do, so Pete> I was wondering what benefits come from using ns_sets (or Pete> what pitfalls arise using Tcl arrays). I'm new to Tcl, so Pete> if there are horrible performance penalties when using Tcl Pete> arrays, I don't know about them. In writing some scripts, I Pete> could probably use the Tcl array as easily as an ns_set, so Pete> I was wondering which would be preferred and why. ns_sets and Tcl arrays are similar but different data structures: * An ns_set's elements are ordered; you add pairs to the end * Tcl arrays are really hash tables with fairly random order. If you've got lots of values, they're faster. * An ns_set can have duplicate keys; required for HTML form data. * An ns_set is just a handle to the C Ns_Set data structure that is used for storing header data, form data, and database row data -- No data conversion is necessary when crossing the C/Tcl boundary. doug -- ---------------------------------------------------------------- Doug McKee America Online, Inc. Email: doug@tools.gnn.com 511 Bath Street Voice: (800) 529-9166 Santa Barbara, CA (805) 882-2350 93101 Fax: (805) 899-4316 http://www.tools.gnn.com ---------------------------------------------------------------- ========================================================================= Date: Tue, 23 Apr 1996 15:16:48 -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: questions Comments: To: pkwu@LEHMAN.COM In-Reply-To: <199604221447.KAA22695@dsoprod1.lehman.com> (message from Peter Wu on Mon, 22 Apr 1996 10:47:18 -0400) >>>>> "Pete" == Peter Wu writes: Pete> Hi, I'm running gnnserver on a solaris 2.5 machine and Pete> running gnnpress 1.1 on both sunos413 and solaris2.5. I was Pete> wondering if anyone can answer these questions... Pete> 1) How do I force gnnserver to resynchronize its search Pete> indexes? When I need to manually go in and edit files in Pete> the virtual server pages directories and I run resynch from Pete> the fulltext admin menu .. it doesn't seem to recognize that Pete> I edited some of those files without using gnnpress. I've Pete> tried to "touch" the files but that doesn't seem to do Pete> anything. What's the criteria that gnnserver uses to tell Pete> if a file has changed? The index is updated when GNNpress does the save. The synchronizer doesn't check for modifications; it only looks for new files and missing files -- it's much faster this way, although admittedly will miss some files. Pete> Also .. while I'm on the subject .. when I do a sync Pete> ... it seems to index certain files more than once. Why is Pete> that? It shouldn't do that at all, although it does maintain both a full-text index and a set of archive versions for each file. Pete> 2) Also, has anyone ever experienced problems saving a page Pete> from GNNPress to a gnnserver? I've experienced problems Pete> where I can save all the pages up to a certain level which Pete> forces me to go in with emacs and edit them. i.e. Pete> I can save Pete> $GNNHOME/server/server1/pages/users/d/dsoarch/one/two/two.html Pete> but I can't save: Pete> $GNNHOME/server/server1/pages/users/d/dsoarch/one/two/three/three.html Hmm. I've never seen such a problem; we'll see if we can reproduce it here. Pete> I called this one into technical support but never heard Pete> anything back from them about it. Hopefully this is more the exception than the rule! doug -- ---------------------------------------------------------------- Doug McKee America Online, Inc. Email: doug@tools.gnn.com 511 Bath Street Voice: (800) 529-9166 Santa Barbara, CA (805) 882-2350 93101 Fax: (805) 899-4316 http://www.tools.gnn.com ---------------------------------------------------------------- ========================================================================= Date: Tue, 23 Apr 1996 15:28:11 -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: is there a way to do a redirect ? In-Reply-To: <9604220349.AA28780@huge.apcom.com> (message from ACS on Sun, 21 Apr 1996 20:49:00 -0700) >>>>> "Hugo" == ACS writes: Hugo> Is there a way to redirect a url request to a new location Hugo> as there is in the Netscape server? What we do is just create a file called redirects.tcl under the modules/tcl directory and add as many of these as we need: ns_register_proc GET /old/url ns_returnredirect \ http://www.myhost.com/new/url Unless you use the HTML forms interface to create the file, you'll need to visit /NS/TclInit to initialize it. doug -- ---------------------------------------------------------------- Doug McKee America Online, Inc. Email: doug@tools.gnn.com 511 Bath Street Voice: (800) 529-9166 Santa Barbara, CA (805) 882-2350 93101 Fax: (805) 899-4316 http://www.tools.gnn.com ---------------------------------------------------------------- ========================================================================= Date: Wed, 24 Apr 1996 11:29: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: probs with email form module insertandmailop In-Reply-To: <1.5.4.32.19960422043819.0092b9e0@ic.net> (message from Brad Chick on Mon, 22 Apr 1996 00:38:19 -0400) >>>>> "Brad" == Brad Chick writes: Brad> I'm having a lot of trouble with the email form module (the Brad> one that is supposed to send email from form data and also Brad> insert that form data into a row of a database table, given Brad> a *.row template). Brad> To try to figure it out, I created a very simple database Brad> table (with just one column) and a very simple form Brad> (below). But no matter how I change things, I always get an Brad> internal server error message. And although the form data Brad> gets emailed to the appropriate place, it doesn't get Brad> entered into the table. Brad> I must be doing something wrong, but I just can't figure it Brad> out (I'm no Tcl expert, so looking at the code was not much Brad> help). Take a look at the server log; there will probably be a Tcl backtrace in there that should shed some light on the problem. doug -- ---------------------------------------------------------------- Doug McKee America Online, Inc. Email: doug@tools.gnn.com 511 Bath Street Voice: (800) 529-9166 Santa Barbara, CA (805) 882-2350 93101 Fax: (805) 899-4316 http://www.tools.gnn.com ---------------------------------------------------------------- ========================================================================= Date: Wed, 24 Apr 1996 11:31:59 -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: No Database Services link in admin page? In-Reply-To: <317BC985.2412@gdata.de> (message from Joerg Plewe on Mon, 22 Apr 1996 20:01:41 +0200) >>>>> "Joerg" == Joerg Plewe writes: Joerg> Dear list, is it due to my low IQ or to other problems that Joerg> I cannot find the 'Database Services' link anywhere? Can Joerg> thsi be an installation problem? Using the database with Joerg> nsql is NO problem! Goto the url http://www:8000/NS/Admin ; it seems like you're looking for the Database Services link on the Setup Server. doug -- ---------------------------------------------------------------- Doug McKee America Online, Inc. Email: doug@tools.gnn.com 511 Bath Street Voice: (800) 529-9166 Santa Barbara, CA (805) 882-2350 93101 Fax: (805) 899-4316 http://www.tools.gnn.com ---------------------------------------------------------------- ========================================================================= Date: Wed, 24 Apr 1996 12:12:51 -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: Newbie getting a foot in the door? In-Reply-To: <317B707C.5FB5@gdata.de> (message from Joerg Plewe on Mon, 22 Apr 1996 13:41:48 +0200) >>>>> "Joerg" == Joerg Plewe writes: Joerg> - What do I have?? (e.g. what licences from Illustra?) You have a fully functional web server and a license for nsql and GNNserver to communicate with Illustra. You do not have Illustra's native C API or the right to use the Illustra Object-Oriented features. Joerg> - Is it right that it is all free so far? Yup! Joerg> - Where do I find the documentation except installation Joerg> stuff? Can I do printouts? http://www.tools.gnn.com/server/docs/2.01/index.htm contains both online and Postscript versions. Joerg> - How can I ACCESS Illustra? The server seems Joerg> to work, I setup an own database (which I can use via Joerg> nsql). Are there examples using Illustra from the web? Just keep going through the Installation and Configuration instructions at http://www.tools.gnn.com/server/docs/2.0relnotes/relnoted.htm There is a link titled "Enabling GNNserver Database Services" on this page that should tell you what you want to know. There are some examples of using Illustra through GNNserver in the server documentation, and there are some more in the Developer's Corner: http://www.gnnhost.com/develop/index.htm Joerg> - Can I reach Illustra from a Java program? If your Java program can talk HTTP, then it can certainly talk to Illustra through GNNserver. Joerg> - Where is the point when we will have to pay for things? If you want to have GNN Hosting Service run your site for you, then you'll have to pay; otherwise it's all free! Think of it as America Online giving back to the internet community and getting people aware of GNN and GNN Hosting Service! doug -- ---------------------------------------------------------------- Doug McKee America Online, Inc. Email: doug@tools.gnn.com 511 Bath Street Voice: (800) 529-9166 Santa Barbara, CA (805) 882-2350 93101 Fax: (805) 899-4316 http://www.tools.gnn.com ---------------------------------------------------------------- ========================================================================= Date: Wed, 24 Apr 1996 12:53:05 -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: GNN Server Install Blues In-Reply-To: <199604211814.LAA10586@remarkable.amazing.com> (message from David H Dennis on Sun, 21 Apr 1996 11:14:49 -0700) >>>>> "Dave" == David H Dennis writes: Dave> I downloaded the GNN server for SunOS and am having a Dave> strange problem installing it. I was, of course, hoping Dave> someone might be able to shed some light on it. Dave> When I unpacked the TAR file, I got an "Unexpected EOF" Dave> error while unpacking the copyright notice for pthreads - is Dave> everyone else getting this, or was my package somehow Dave> incomplete? I did try downloading it again, and got the Dave> same message when untarring it, so I assume that, if this is Dave> a problem, it's a problem with the base file and not the Dave> downloading itself. What version of SunOS are you running? I'm running: % uname -a SunOS gore.navi 4.1.4 1 sun4m and it unpacks fine. Maybe you're running a weird version zcat. Try moving the file to gs204sun4.tar.Z and using /usr/ucb/uncompress and /bin/tar. doug -- ---------------------------------------------------------------- Doug McKee America Online, Inc. Email: doug@tools.gnn.com 511 Bath Street Voice: (800) 529-9166 Santa Barbara, CA (805) 882-2350 93101 Fax: (805) 899-4316 http://www.tools.gnn.com ---------------------------------------------------------------- ========================================================================= Date: Wed, 24 Apr 1996 14:07:20 -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: more questions Comments: To: pkwu@lehman.com In-Reply-To: <199604231408.KAA29620@dsoprod1.lehman.com> (message from Peter Wu on Tue, 23 Apr 1996 10:08:27 -0400) >>>>> "Peter" == Peter Wu writes: Peter> Hi, I was wondering if it's possible to use array types for Peter> the illustra tables via gnnserver's database services? It Peter> seems a shame to waste such a powerful feature of illustra. Peter> When creating a table it seems that we can only use the Peter> specified types. Is there anyway around it? I know I can Peter> create my own tables and my own cgi-bin's to handle them Peter> .. but one of the reasons why we got GNNServer was for its Peter> ease of use for end users that we might give access to. While the GNNserver "Create Table" HTML interface will not let you create tables with array types, you can certainly access tables with array types using the dynamically generated search/entry/update forms and with the Tcl interface. doug -- ---------------------------------------------------------------- Doug McKee America Online, Inc. Email: doug@tools.gnn.com 511 Bath Street Voice: (800) 529-9166 Santa Barbara, CA (805) 882-2350 93101 Fax: (805) 899-4316 http://www.tools.gnn.com ---------------------------------------------------------------- ========================================================================= Date: Tue, 23 Apr 1996 13:59:34 -0400 Reply-To: Web Development with GNNserver and GNN Hosting Service Sender: Web Development with GNNserver and GNN Hosting Service From: Don Bellamy Subject: Password Protecting Pages Hello! I am very new to the GNN Server and was wondering what the simplest way to password-protect a file was. I would prefer it to work exactly like GNN's password protection of the GNN Server setup page, (ie http://www.company.com:9876). Any help would be greatly appreciated. Don Bellamy don@webcenter.net ========================================================================= Date: Tue, 23 Apr 1996 13:16:25 -0500 Reply-To: Web Development with GNNserver and GNN Hosting Service Sender: Web Development with GNNserver and GNN Hosting Service From: Ashish Parikh In-Reply-To: Your message of "Tue, 23 Apr 1996 09:04:43 PDT." <1.5.4b12.32.19960423160443.006fe12c@aimnet.com> > I want one of the fields to be a "select from list" option. This is easy > in the forms option in Navipress, but how do I do it on > the server. > I looked at the code for the date which generates the menu > options for the month. The html code looks easy to > reproduce manually but is there a way to do it without > touching the code. Check out http://www.tools.gnn.com/server/docs/2.01/form-ch2.htm#8413 Ashish ========================================================================= Date: Tue, 23 Apr 1996 16:59:58 -0500 Reply-To: Web Development with GNNserver and GNN Hosting Service Sender: Web Development with GNNserver and GNN Hosting Service From: Krish Menon Subject: Re: is there a way to do a redirect ? At 08:49 PM 4/21/96 -0700, you wrote: >Is there a way to redirect a url request to a new location as there is in the >Netscape server? > >Hugo > > #Use a script like this: #===================================== ns_register_proc GET /krish oldkrish proc oldkrish {conn i} { set newurl [join [lrange [ns_conn urlv $conn] 1 end] /] ns_returnredirect $conn \ [ns_conn location $conn]/users/krish/$newurl } Cheers, -krish -- =*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*= krish menon, webmaster - iway internet services |*| krish@iw.net * 140 n. phillips, suite #404, sioux falls sd 57102 |*| webstart@iw.net * telephonic: (605) 331 - 4211 (w) (605) 331 - 6585 |*| http://www.iw.net * =*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*= ========================================================================= Date: Wed, 24 Apr 1996 01:42:18 +0100 Reply-To: Web Development with GNNserver and GNN Hosting Service Sender: Web Development with GNNserver and GNN Hosting Service From: Gaute Amundsen Subject: Re: New line esape sequence in HTML Comments: cc: Alex Khassin Alex Khassin wrote: >What I need is this: >In my custom forms-processing script, a user specifies a hidden field in >the HTML souce code for the form called 'message' the value is the text >string that will be displayed by my script when the form is submitted, i.e. >"Thank you for submitting the info". I'd like to be able to specify >something like this in the value: >"Thank you for submitting the info. \n We will contact you shortly". That >way the resultant page will display the message in two neat lines. >test page at: http://am.net/am/program.htm Now I dont understand why you want to have all those hidden tags in your for= m, or how you are going to handle them when submitted, but I would probably work around a problem like this by inserting some other caracters like =A7=A7=A7 and then regsub them with <= br> before returning. Another way to do this (I have not tested it myself), could be to store those values i a global aray or set, with an expiery time and a unique number, and then use just that number hidden in your form. Then each time you chek for one number you would also chek for expiery of the other lines. That way you would also prevent anny tampering. gaute -- ----------------------------------------------------------------- Gaute Amundsen "Technology today is the campfire gaute@nipnett.no around which we tell our stories. There's this attraction to light and to this kind of power, which i= s both warm and destructive." Laurie Anderson http://www.gil.no/users/g/gaute -------------------------------------------------------------------- ========================================================================= Date: Tue, 23 Apr 1996 14:24:57 -0500 Reply-To: Web Development with GNNserver and GNN Hosting Service Sender: Web Development with GNNserver and GNN Hosting Service From: "Peter M. Jansson" Subject: Cost of gethandle? Is it expensive to issue [ns_db gethandle somedb]? I've got the alternative of tightly packaging some operations with their own get/release calls, or doing it once per script, and then passing the handle around in the procedure and subprocedures. How much should I worry about the cost of doing a bunch of gethandles? Pete. ========================================================================= Date: Tue, 23 Apr 1996 20:53:26 +0200 Reply-To: Web Development with GNNserver and GNN Hosting Service Sender: Web Development with GNNserver and GNN Hosting Service From: Michael Juergens Organization: Crocodial Communications Subject: Re: Remote manual stop/start via telnet on NT Kireau Kendrick wrote: > > My GNNServer is remotely located on a machine that is colocating > at an isp quite a ways away. I have a telnet daemon installed and > would like to stop and start the server via telnet, remotely, > in order for the nsadmin changes to take place. I get > access to the full c:\GNN directory and c:\WINNT95 and any other > directories in File Manager via telnet. How do I stop and > start the server via telnet? > > Kireau Knedirck Start: net start gnnserver Stop: net stop gnnserver -- -- Michael Juergens michael@crocodial.de Crocodial Communications Ophagen 16a D-20257 Hamburg Tel: +49.40.853264-0 Fax: +49.40.853264-64 ------------------------- ========================================================================= Date: Tue, 23 Apr 1996 13:33:22 -0700 Reply-To: Web Development with GNNserver and GNN Hosting Service Sender: Web Development with GNNserver and GNN Hosting Service From: ACS Subject: Importing from comma delimite files Given that the gnnserver/illustra let you export comma delimited files, is there an easy way to import from comma delimited files? I suppose I could write a tcl scrip to do this but maybe someone already has one Hugo ========================================================================= Date: Tue, 23 Apr 1996 18:25:02 -0400 Reply-To: pkwu@lehman.com Sender: Web Development with GNNserver and GNN Hosting Service From: Peter Wu Subject: Re: questions Comments: To: doug@navisoft.com > The index is updated when GNNpress does the save. The synchronizer > doesn't check for modifications; it only looks for new files and > missing files -- it's much faster this way, although admittedly will > miss some files. Hmm. Is there any way for me to automatically save every page within a miniweb then? Does saving the miniweb do that or does it only save the miniweb document.nvm file? > Hmm. I've never seen such a problem; we'll see if we can reproduce it > here. Great. Thanks. --- Peter Wu - pkwu@lehman.com ========================================================================= Date: Wed, 24 Apr 1996 02:16:39 -0400 Reply-To: Web Development with GNNserver and GNN Hosting Service Sender: Web Development with GNNserver and GNN Hosting Service From: Rick Adams Subject: BBS or Message base programs Sorry if this has been asked before, but I haven't seen any messages dealing with the question in the limited time I've been on the list. I'm looking for software (cgi, etc.) that will allow me to add a bbs type message base to my web site. I teach at a small college, and would like to provide a series of topic-specific message bases where students can exchange views on issues relevant to the classes as well as a message base for use as an experimental peer-counseling project for youth. Ideally, the software will be freeware or very low cost (the college is NOT underwriting this, I'm donating the space on my home server) and reasonably easy to implement (I'm not a newbie, but neither am I an experienced cgi programmer--or even an experienced website administrator). One message base I encountered was webBBS (in use on several systems in the US), and I've seen messages indicating that a number of others ones are in use which are cgi based. Pointers _greatly_ appreciated, thanks in advance. Rick Adams -- =*@*= adamsr@dmci.net =*@*= Rick Adams =*@*= adamsr@netcom.com =*@*= Thy two breasts are like two young roes that are twins, which feed among the lilies. (Solomon 4:5) -----=*@*=----- There she lusted after her lovers, whose genitals were like those of donkeys and whose emission was like that of horses. (Ezekiel 23:20) -----=*@*=----- Want to see a donkey and a girl? (Tiajuana Street Barker, 1971) -----=*@*=----- Cited in direct violation of the Telecommunications Act of 1996 as a deliberate act of civil disobedience in support of the United States Constitutional guarantees of freedom of speech. =*@*= http://b73.dmci.net -=*@*=- http://www.blarg.net/~adamsr =*@*= ========================================================================= Date: Wed, 24 Apr 1996 02:39:11 -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: Customising Forms (former No Subject) > >I looked at the code for the date which generates the menu >options for the month. The html code looks easy to >reproduce manually but is there a way to do it without >touching the code. > > Well, you could reproduce the Code especially for searching your Database and give it in URL like /search_my_database. In detail: make a new script. Two level HTML: First GET /search_my_database This procedure does nothing more then presenting the form. Copy the kind of form you like into it. You can generate it with GNN Press. Second POST /search_my_database This one takes the submitted form, makes an SQL Select on the Database, and returns the results, like you want them. Just be sure to use procedure names only once in your whole scripts and that you have unique URL's (GET and POST are different URL's). Hope i could help you ========================================================================= Date: Wed, 24 Apr 1996 11:02:00 +0200 Reply-To: Web Development with GNNserver and GNN Hosting Service Sender: Web Development with GNNserver and GNN Hosting Service From: Kristian Jorg Subject: Re: GNN Server Install Blues > > I downloaded the GNN server for SunOS and am having a strange problem > installing it. I was, of course, hoping someone might be able to > shed some light on it. > > When I unpacked the TAR file, I got an "Unexpected EOF" error while > unpacking the copyright notice for pthreads - is everyone else getting > this, or was my package somehow incomplete? I did try downloading it > again, and got the same message when untarring it, so I assume that, > if this is a problem, it's a problem with the base file and not the > downloading itself. I get this too. It seems impossible to install GNNserver 2.04 from the SunOS tar file! /Kristian ========================================================================= Date: Wed, 24 Apr 1996 14:28:48 -0400 Reply-To: pkwu@lehman.com Sender: Web Development with GNNserver and GNN Hosting Service From: Peter Wu Subject: more questions Hi, Is there anyway from the Database services pages to delete entries from a table? Also .. how does one usually debug their tcl programs with gnnserver? What if they need to display the contents of a variable? For instance .. right now I'm getting the following error message: Database operation "dml" failed (exception 23C00, "X23C00: integrity contstraint violation: Contraint Name _UNIQUE_CONSTRAINT_ON_INSERT_To_public_businessUnit_") while executing "ns_db dml $db "insert into businessUnit (name,id) values ('$newBusinessUnit',$businessUnitId);"" invoked from within "if {$newBusinessUnit == ""} { ns_returnerror $conn 400 "You have chosen a NEW business unit but you did not enter the name of ..." invoked from within "if {$businessUnit == "NEW"} { if {$newBusinessUnit == ""} { ns_returnerror $conn 400 "You have chosen a NEW business unit but ..." (procedure "page2" line 9) invoked from within "page2 nsc1 {}" Now is there anyway that I can go into my source and get it to print out the value of $newBusinessUnit and $businessUnitId somewhere around where I'm getting the code? Is there anyway I can print and have the result come out in the server.log? Thanks. --- Peter Wu - pkwu@lehman.com ========================================================================= Date: Wed, 24 Apr 1996 14:31:30 -0400 Reply-To: pkwu@lehman.com Sender: Web Development with GNNserver and GNN Hosting Service From: Peter Wu Subject: nevermind Sorry .. should have RTFM first. I found the command to print to the error log .. ns_log. :-( --- Peter Wu - pkwu@lehman.com ========================================================================= Date: Wed, 24 Apr 1996 11:24:02 -0700 Reply-To: Web Development with GNNserver and GNN Hosting Service Sender: Web Development with GNNserver and GNN Hosting Service From: Kireau Kendrick Subject: Password protected directories In-Reply-To: I have the NSPerm module loaded and I need to setup a password protected directory for various users access. I found the perms.dat file in the nsperm module directory and I believe this is the file to edit. Some of the lines read like this: POST, /NS/SetPerm, nsadmin, 1, 1, 1, {}, {}, {}, {} POST, /NS/Perm/ChangePassword, nsadmin, 1, 1, 1, {}, {}, {}, {} GET, /NS/Perm/User/Show, nsadmin, 1, 1, 1, {}, {system}, {}, {} GET, /NS/Perm/User/Showall, nsadmin, 1, 1, 1, {}, {system}, {}, {} GET, /NS/Perm/Showall, nsadmin, 1, 1, 1, {}, {system}, {}, {} So I assume I would add lines like this: GET, /ProtectedDir, user1, 1, 1, 1, {}, {}, {}, {} But I am unclear of the meaning of the fields after user1. And also the users.dat file includes the user name (nsadmin) and the encrypted password. How do I setup users with passwords? I have looked in the /NS/Setup pages under nsperm module and cannot find any links that allow you to edit these files using a browser. Am I missing something here? Kireau ========================================================================= Date: Wed, 24 Apr 1996 15:30:01 EST Reply-To: Web Development with GNNserver and GNN Hosting Service Sender: Web Development with GNNserver and GNN Hosting Service From: Mark_Wang@pcmailgw.ml.com Subject: Re: New line esape sequence in HTML Why not use two hiden fields, then reconstruct your responding page with
in between? ______________________________ Reply Separator _________________________________ Subject: New line esape sequence in HTML Author: Web Development with GNNserver and GNN Hosting Service at PROFGTWY Date: 4/23/96 1:27 PM --=_20tW16g.bO1996u.N02d000A.r04Y.12:00617e Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Does anyone know how does to specify a new line within HTML text. Not a
or any other tag for that matter but an equivalent of \n. Something like &xxx, probably. What I need is this: In my custom forms-processing script, a user specifies a hidden field in the HTML souce code for the form called 'message' the value is the text string that will be displayed by my script when the form is submitted, i.e. "Thank you for submitting the info". I'd like to be able to specify something like this in the value: "Thank you for submitting the info. \n We will contact you shortly". That way the resultant page will display the message in two neat lines. What I don't know is the code for \n. I can't use HTML tags because it would break the code of the form itself! If you need to see what I mean check out a test page at: http://am.net/am/program.htm Thanks --=_20tW16g.bO1996u.N02d000A.r04Y.12:00617e 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 The Source for Advanced Computing Solutions http://am.net --=_20tW16g.bO1996u.N02d000A.r04Y.12:00617e-- ========================================================================= Date: Fri, 26 Apr 1996 12:18:19 -0500 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: Importing from comma delimite files From nsql, issue the following command: micopy to my_table from 'myfile' using delimiters ','; And the contents of 'myfile' will be imported to my_table. Pete. ========================================================================= Date: Wed, 24 Apr 1996 20:05:49 -0400 Reply-To: Web Development with GNNserver and GNN Hosting Service Sender: Web Development with GNNserver and GNN Hosting Service From: Scott Munro Subject: Undocumented Tcl API calls? I've been recently creating some Tcl scripts which allow our administration folks to add/modify users and groups on our GNN server. While trying to figure out how to accomplish this, I noticed some Tcl API functions used in perms.tcl, users.tcl, and groups.tcl that perform the exact functions I'm looking for. These functions are: ns_group ns_user I can't seem to locate these calls in the Tcl Developer's guide anywhere. While it's pretty easy to figure out how a call like ns_group add $groupname $description $users works, I'd prefer to get the documentation describing these functions as opposed to "reverse-engineering" them from the existing production code. Are these functions undocumented, or did I not look hard enough in the Tcl Developer's guide (NaviServer 2.0)? If they are, in fact, not in the guide, are there some tech-notes, addendums, etc that would help me out with these? Any help would be greatly appreciated. Scott Munro Aardvark, Interactive ========================================================================= Date: Wed, 24 Apr 1996 20:34:01 -0700 Reply-To: Web Development with GNNserver and GNN Hosting Service Sender: Web Development with GNNserver and GNN Hosting Service From: ACS Subject: sql statement help I've been looking through my sql book and I can't seem to find how to do the following (or at least it didn't look ovious to me): I have a table of addresses and one of the fields is called States and has the 2 character abbrev. of the state that address is in. I want to do a search that just returns each unique state name once, so if there are 50 CA and 11 NY and 133 CO and 22 NV, I just want to see: CA NY CO NV returned, nothing else. Can anyone help with this sql statement? hugo ========================================================================= Date: Thu, 25 Apr 1996 14:06:01 +0200 Reply-To: Web Development with GNNserver and GNN Hosting Service Sender: Web Development with GNNserver and GNN Hosting Service From: Joerg Plewe Organization: G DATA Software Subject: GNNServer as proxy??? Hi! What about GNN and proxy?? Can I install a proxy server without products of other companies????? BTW, I now have my foot in the GNN-door; thanks to the list. - Joerg -- /_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_ /_ Dipl. Phys. Joerg Plewe G DATA Software, Bochum/Germany /_ /_ What I think and what my employer thinks is not necessarily the same! /_ /_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_ ========================================================================= Date: Thu, 25 Apr 1996 09:55:01 -0500 Reply-To: Web Development with GNNserver and GNN Hosting Service Sender: Web Development with GNNserver and GNN Hosting Service From: James Cholke Subject: ODBC question I finally was able to setup a System DSN database for 'agency' in the ODBC 32bit Administrator. I am now receiving this error..... ] Notice: Ns_DbOpenDb(odbc): Opening datasource: agency [25/Apr/1996:09:49:20 -0500][178.144] Notice: SQLConnect(agency, Admin, ) [25/Apr/1996:09:49:20 -0500][178.144] Error: ODBC message: SQLSTATE = S1000, Native err = 51, msg = '[Microsoft][ODBC Driver pack 2.0 Driver]General error Unable to open registry key 'DriverId'.' [25/Apr/1996:09:49:20 -0500][178.144] Notice: Ns_DbOpenDb(odbc): Opening datasource: agency [25/Apr/1996:09:49:20 -0500][178.144] Notice: SQLConnect(agency, Admin, ) [25/Apr/1996:09:49:20 -0500][178.144] Error: ODBC message: SQLSTATE = S1000, Native err = 51, msg = '[Microsoft][ODBC Driver pack 2.0 Driver]General error Unable to open registry key 'DriverId'.' [25/Apr/1996:09:49:20 -0500][178.144] Notice: Ns_DbOpenDb(odbc): Opening datasource: agency [25/Apr/1996:09:49:20 -0500][178.144] Notice: SQLConnect(agency, Admin, ) [25/Apr/1996:09:49:20 -0500][178.144] Error: ODBC message: SQLSTATE = S1000, Native err = 51, msg = '[Microsoft][ODBC Driver pack 2.0 Driver]General error Unable to open registry key 'DriverId'.' [25/Apr/1996:09:49:20 -0500][178.144] Notice: Ns_DbOpenDb(odbc): Opening datasource: agency [25/Apr/1996:09:49:20 -0500][178.144] Notice: SQLConnect(agency, Admin, ) [25/Apr/1996:09:49:20 -0500][178.144] Error: ODBC message: SQLSTATE = S1000, Native err = 51, msg = '[Microsoft][ODBC Driver pack 2.0 Driver]General error Unable to open registry key 'DriverId'.' [25/Apr/1996:09:49:20 -0500][178.144] Notice: Ns_DbOpenDb(odbc): Opening datasource: agency [25/Apr/1996:09:49:20 -0500][178.144] Notice: SQLConnect(agency, Admin, ) Any ideas? Thanks! ************************************************************** James Cholke, Computer Information Specialist 2 (Internet/WWW) Missouri Department of Economic Development Phone: (573)751-4706 Email: jcholke@mail.state.mo.us ************************************************************** ========================================================================= Date: Thu, 25 Apr 1996 10:02:56 -0500 Reply-To: Web Development with GNNserver and GNN Hosting Service Sender: Web Development with GNNserver and GNN Hosting Service From: Ashish Parikh Subject: buggy ns_eval? I trying to set global variables using an array as follows: ns_eval set "TMP(foo, bar)" "FOO BAR" but I get the following error: wrong # args: should be "set varName ?newValue?" while executing "set TMP(foo, bar) FOO BAR" It seems that ns_eval is not preserving my quoted strings. It I try to evaluate the same (without the ns_eval) in tclsh, it works just fine. While I'm at it, is there a preferred way of passing around state information? Is it putting hidden form elements? Global variables? Creating your own structures? Passing it along as query elements? None of the above? Thanks, Ashish ========================================================================= Date: Thu, 25 Apr 1996 09:16:23 -0700 Reply-To: Web Development with GNNserver and GNN Hosting Service Sender: Web Development with GNNserver and GNN Hosting Service From: NetScoop Mall Subject: Help with Autonum Greetings, Looking for some help on implimenting the AUTONUM feature. We are attempting to help a Non-profit in San Diego that helps medically indigent patients receive medications free of charge from the manufactures. We would like each patient record assigned a unique record #, and maybe even a PIN #. I'm not sure how to incorporate that into our Patient Entry Form. Any suggestions with examples is GREATLY appreciated. Thanks one and all. Dave *************************************************************** The Preceeding Announcement was brought to you by: Dave Thoma, Frustrated Golfer (http://www.netscoop.com) "Never trust a machine that can only count from 0 to 1" *************************************************************** ========================================================================= Date: Thu, 25 Apr 1996 14:56:51 -0400 Reply-To: Web Development with GNNserver and GNN Hosting Service Sender: Web Development with GNNserver and GNN Hosting Service From: Brad Chick Subject: Re: GNNDEVELOPER-L Digest - 23 Apr 1996 to 24 Apr 1996 > >Date: Wed, 24 Apr 1996 11:29:39 -0700 >From: Doug McKee >Subject: Re: probs with email form module insertandmailop > >>>>>> "Brad" == Brad Chick writes: > > Brad> I'm having a lot of trouble with the email form module (the > Brad> one that is supposed to send email from form data and also > Brad> insert that form data into a row of a database table, given > Brad> a *.row template). > > Brad> To try to figure it out, I created a very simple database > Brad> table (with just one column) and a very simple form > Brad> (below). But no matter how I change things, I always get an > Brad> internal server error message. And although the form data > Brad> gets emailed to the appropriate place, it doesn't get > Brad> entered into the table. > > Brad> I must be doing something wrong, but I just can't figure it > Brad> out (I'm no Tcl expert, so looking at the code was not much > Brad> help). > >Take a look at the server log; there will probably be a Tcl backtrace >in there that should shed some light on the problem. > >doug In the server log, I get the following error message consistently, but each time there is a different pool identified. And even if I try to identify the pool manually, with a hidden field, I get the same error: [12/Apr/1996:19:00:26 -0400][4549.23822] Error: Tcl script failed: [12/Apr/1996:19:00:26 -0400][4549.23822] Notice: 605 bytes of raw data to follow: server does not have access to pool: "SQL Database Pool" while executing "ns_db gethandle $pool" That particular error message is an example of me trying to explicitly identify the pool. When I leave that field out and hope the server finds the default database pool, it looks for a different pool identifier every time. Some examples include: "nsdb9", "nsdbe", "nsdbf", "nsdb18, "nsdb1a", "nsdb55", etc. Do I need to figure out the exact db pool handle and pass it into the module as a hidden field? If so, how do I go about identifying it? any help would be appreciated. ------------------------------------------------------------------------------- --o / Brad Chick `\<, / "DoMan" 0/ 0 / \e/ Do It Sports, Inc. __o __o / I 2360 E. Stadium Blvd. `\<, `\<, / `\\, Suite 13 (aren't we lucky?) O/ O --o O/ O/ O/ O Ann Arbor, MI 48014 `\<, / 0/ 0 / Voice: (313) 971-0120 __o / Fax: (313) 971-8248 `\-\ / 0/ 0 / e-mail: doman@doitsports.com ------------------------------------------------------------------------------- "Doesn't matter where you finish, so long as you're sweating!" -DoMan ========================================================================= Date: Thu, 25 Apr 1996 15:34:07 -0700 Reply-To: Web Development with GNNserver and GNN Hosting Service Sender: Web Development with GNNserver and GNN Hosting Service From: Edward Un Subject: upgrading from NaviServer 1.01b to GNNServer 2.03 I am upgrading a NaviServer 1.01b to GNNServer 2.03. The old server already has numerous tables and text searching in the Illustra database. I would like to get some advice on how to go about doing a smooth migration of data from the original Illustra database to the new Illustra database. I know there will be porting involved since the Tcl API changed from 1.01b to 2.03 but I would want to make sure the data get transferred first. Thanks, Ed -- ------------------------------------------------------------------------- Edward Un 444 De Haro Street, Suite 132 Just in Time Marketing, 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: Thu, 25 Apr 1996 16:54:00 -0700 Reply-To: Web Development with GNNserver and GNN Hosting Service Sender: Web Development with GNNserver and GNN Hosting Service From: LANDON_DICK@Tandem.COM Subject: Insert multiple selects from forms to Illustra? Use forms tag I would like to give users the ability to select >several and have them go to ONE column in the db. Can this be >done??? I have written a little script that does just that; it takes any multiple fields in formdata and rewrites the formdata with that data in a single field, delimited by spaces. You can call it in your script like this: set formdata [multifieldtosingle [ns_conn form $conn]] The script is here: proc multifieldtosingle {formdata} { while {[ns_set size $formdata] > 0} { set tmp [ns_set key $formdata 0] if [info exists "fields($tmp)"] { append fields($tmp) " [ns_set value $formdata 0]" } else { set fields($tmp) [ns_set value $formdata 0] } ns_set delete $formdata 0 } set formdata2 [ns_set new formdata2] foreach i [array names fields] { ns_set put $formdata2 $i $fields($i) } return $formdata2 } Cheers, Jeff Rawlings rawlings@gnnhost.com Webmaster, GNN Hosting Service http://www.gnnhost.com/ Moderator, gnnhost-l and gnndeveloper-l For inquiries about Web Hosting, send email to ========================================================================= Date: Fri, 26 Apr 1996 10:01:52 -0700 Reply-To: Web Development with GNNserver and GNN Hosting Service Sender: Web Development with GNNserver and GNN Hosting Service From: Robin Subject: Re: sql statement help In-Reply-To: <9604250334.AA08523@huge.apcom.com> try: Select unique states from table; (or use select distinct...) On Wed, 24 Apr 1996, ACS wrote: > I've been looking through my sql book and I can't seem to find how to do the > following (or at least it didn't look ovious to me): > > I have a table of addresses and one of the fields is called States and has the > 2 character abbrev. of the state that address is in. > I want to do a search that just returns each unique state name once, so if there > are 50 CA and 11 NY and 133 CO and 22 NV, I just want to see: > CA NY CO NV returned, nothing else. > > Can anyone help with this sql statement? > > hugo > ========================================================================= Date: Fri, 26 Apr 1996 11:29:39 -0700 Reply-To: Web Development with GNNserver and GNN Hosting Service Sender: Web Development with GNNserver and GNN Hosting Service From: Joel Thames Subject: Is there any way for me to automatically save every page within a miniweb? Comments: To: pkwu@lehman.com ------- Start of forwarded message ------- > The index is updated when GNNpress does the save. The synchronizer > doesn't check for modifications; it only looks for new files and > missing files -- it's much faster this way, although admittedly will > miss some files. Hmm. Is there any way for me to automatically save every page within a miniweb then? Does saving the miniweb do that or does it only save the miniweb document.nvm file? > Hmm. I've never seen such a problem; we'll see if we can reproduce it > here. Great. Thanks. - --- Peter Wu - pkwu@lehman.com - ------- End of forwarded message ------- Peter, This question was forwarded to me and explained that you want to edit files outside of GNNpress, and then have a way to re-save them all to the server with GNNpress so that the server updates the full text index (or something). We haven't designed anything like this into GNNpress. Saving from a miniweb saves only the pages that are open and modified in GNNpress. You can work around it by using Save As to move the MiniWeb to a different location (be sure and re-webize before you Save As since you've been changing files outside of GNNpress and it is probably a good practice anyway), delete the existing MW, and then save the copy back to the old site on the server. If it's a very large MW it may take some time to save it back and forth but it shouldn't require too much attention. I hope I was answering the same question you were asking :-). Joel --------------------------------------------------------------- Joel Thames America Online Quality Assurance Engineer 511 Bath St. Santa Barbara, CA 93101 ========================================================================= Date: Fri, 26 Apr 1996 13:44:43 -0500 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: sql statement help My guess would be "select unique state from addresses;" ========================================================================= Date: Sat, 27 Apr 1996 08:22:40 +0900 Reply-To: Web Development with GNNserver and GNN Hosting Service Sender: Web Development with GNNserver and GNN Hosting Service From: KiEun Park Subject: GNNserver and Illustra for SunOS4 Hello, I downloaded GNNserver and Illustra for SunOS4. Installation of two products was done according to your instruction. No problem in booting Illustra and running GNNserver. But, there is a problem in using nsql and msql. When I run nsql, core dumped - Segmentation violation error. With dbx, I found breaking point is at pthread library. And, when I run "msql template1", license daemon reports XVL011:license manager: SYSTEM_ERROR SERVER FEATURE MI_LIB_USAGE: Can't login to server can't login to template1 on server default, host ariel Not currently connected to a database What's the problem and how to solve? Thanks in advance. KiEun Park, __ __ __ _ __ \ \\ / / / | | | / / \ \/ // / / || / | ||__ / // / / \ //__ __/_ / _ || _ __ __/_ /_ __ __ | |/ \/ //__ __ / _ / / ///__) / / /-| || / |/ / ) / / ) /__)|/ )| _ /// )\/ ) / / |/ /_//(__ (__/_// |_||( / (__/ (__ / / (__ / |__/-\_//(__/ / / (__/ -- -- -- -- - KiEun Park SWAN-II Team System SBU 2, Daewoo Telecom Ltd. misspark@swsbu.dwt.co.kr Socho P.O. Box 187 Seoul, Korea 137-130 http://mutul.dwt.co.kr/~misspark Tel 82-02-589-2763 Fax 82-02-589-2693 ========================================================================= Date: Fri, 26 Apr 1996 14:10:55 -0400 Reply-To: Web Development with GNNserver and GNN Hosting Service Sender: Web Development with GNNserver and GNN Hosting Service From: Scott Munro Subject: ns_conn authuser connId function Hi folks, I have a question concerning the Tcl API function, ns_conn authdata connId defined in the Naviserver 2.0 Tcl Developer's guide as a way to return uuencoded authorization data. When I invoke this in a Tcl script, I get a server error, with the following message appearing in the server.log file: --------- clip ------------- clip --------------- [26/Apr/1996:13:55:30 -0400][19963.21518] Notice: 531 bytes of raw data to follow: unknown command "authdata": should be authuser, authpassword, content, contentlength, peeraddr, headers, outputheaders, form, request, method, protocol, host, port, url, query, urlc, urlv, version, location, server, or driver. while executing "ns_conn authdata $conn" --------- clip ------------ clip -------------- My usage is: append results "authdata: [ns_conn authdata $conn]" where $conn holds the current connection value. Anybody know where I'm screwing up here? Thanx, Scott Munro ========================================================================= Date: Fri, 26 Apr 1996 13:40:18 -0500 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: Password protected directories Take a look at /NS/Perm/Admin. You need to create permission records for the URLS you want to protect. For each URL, you need to decide which methods will be allowed (GET, POST, PUT, or HEAD), then specify who can do the method on the URL. Pete. ========================================================================= Date: Fri, 26 Apr 1996 14:54:23 -0500 Reply-To: Web Development with GNNserver and GNN Hosting Service Sender: Web Development with GNNserver and GNN Hosting Service From: "Peter M. Jansson" Subject: ns_formvalueput on SELECT Is there a way to get ns_formvalueput to have both a value and associated text when putting a value into a list? I'm trying to end up with a list that looks like: If I just use "ns_formvalueput $form thing1 "First choice" form", form ends up containing "