========================================================================= Date: Mon, 2 Nov 1998 14:20:59 -0700 Reply-To: Web Development with AOLserver Sender: Web Development with AOLserver From: "Daniel P. Stasinski" Organization: Karemor International, Inc. Subject: Patch for util.tcl MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit I have discovered a problem with ns_dbquotevalue in the \modules\tcl\nsdb\util.c source. On Linux using Postgres, when performing a search based on int or float columns, it will crash AOLserver. The reason is that the definitions for int2, int4, float4, and float8 were left out. Below is a a replacement for ns_dbquotevalue: proc ns_dbquotevalue {value {type text}} { if [string match $value ""] { return "NULL" } if {$type == "decimal" \ || $type == "double" \ || $type == "integer" \ || $type == "int" \ || $type == "int2" \ || $type == "int4" \ || $type == "real" \ || $type == "smallint" \ || $type == "bigint" \ || $type == "bit" \ || $type == "float" \ || $type == "float4" \ || $type == "float8" \ || $type == "numeric" \ || $type == "tinyint"} { return $value } regsub -all "'" $value "''" value return "'$value'" } -- /\/ Daniel P. Stasinski /\/ Karemor International, Inc. /\/ /\/ Software Engineer /\/ 2406 South 24th Street /\/ /\/ dannys@karemor.com /\/ Phoenix, AZ 85034 /\/ ========================================================================= Date: Tue, 3 Nov 1998 10:31:40 -0500 Reply-To: Web Development with AOLserver Sender: Web Development with AOLserver From: Mark Dalrymple Subject: Re: Problem with AOLServer 2.3.2 Comments: To: onderbes@bec.bel.alcatel.be Comments: cc: feedback@aolserver.com In-Reply-To: <363F221E.FD494777@bec.bel.alcatel.be> (message from Stefaan Onderbeke on Tue, 03 Nov 1998 16:32:47 +0100) Hi Stefan, > With a TPC/IP/HTTP protocol analyser I > discovered the source of this problem, AOLSERVER ! You are god-like. Thanks for the trace. Now let me see what happened and what can be done. ++md ========================================================================= Date: Wed, 4 Nov 1998 01:41:59 EST Reply-To: Web Development with AOLserver Sender: Web Development with AOLserver From: Angela Howard Subject: AOLserver 2.3.2 build for Slackware 3.5 Linux Mime-Version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7bit The Slackware 3.5 libc5 version of AOLserver 2.3.2 for Linux is now available for download at http://www.aolserver.com/server/docs/2.3.2/notes. Enjoy! _______________________________________ Angela Howard, Senior Technical Writer AOL Web Server Development AMHoward@aol.com _______________________________________ ========================================================================= Date: Mon, 9 Nov 1998 17:12:34 -0800 Reply-To: Web Development with AOLserver Sender: Web Development with AOLserver From: Eric Klein Subject: ExtendedTableInfo problem MIME-Version: 1.0 Content-Type: text/plain Hello all, I know I haven't said hello in a while, but I've got a question for y'all. I'm working for a company that is in need of a good bug tracking system, and we thought we would give the Navi/AOLserver a spin. Now I know that NT has been discontinued, but I don't have an Illustra or sybase database to use, and so we are trying to use AOLserver 2.1 on NT with ODBC. Most things seem to work fine, but ... (you knew it was coming) I can't access my database when I have "ExtendedTableInfo=On" for the pool. If this is an NT problem, just tell me to bug off, but if this is a known bug that has a workaround or something, I would be delighted to know what it is. Also, one last thing. I am harboring a hope that it is still possible to find the free version of Illustra that used to ship with the AOLserver (the NT version anyway), and although I am sure that it probably isn't available, I just wanted to check and see if anybody knew if it could be found somewhere. Thanks P.S. Hello Doug! How are things on your end of the world? Eric Klein erick@softshare.com ========================================================================= Date: Wed, 4 Nov 1998 16:12:15 EET Reply-To: cyucel@ku.edu.tr Sender: Web Development with AOLserver From: Cagri Yucel Organization: Koc University Subject: Urgent Question MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Hi, Sorry if I'm asking a newbie question but the case is a bit urgent and I could not find the appropirate answer through the documentation. I'm currently installed Aol Server and give access the user homepages. Server is installed on a Solaris 2.5.1. What I would like to do, I want the webpage publishing enabled via HTTP, i.e. using PUT / directive. I set up the PUT permissions however it seems whether it gives access only for users added in AOLSERVER or everybody. What I want is that users to be authenticated via their password on the unix server (i.e. /etc/passwd). I'll be glad if somebody informs me on how to do this settings. Regards, Cagri Yucel Koc University Internet Administrator ========================================================================= Date: Fri, 6 Nov 1998 11:41:07 +0100 Reply-To: Web Development with AOLserver Sender: Web Development with AOLserver From: Sebastian Skracic Subject: Developing external database drivers: 2 questions MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 1. Can function Ns_PdDbBestRowId return list of two or more field names if we have table with composite primary key? On the other hand, this is possible in internal db driver API, since function tagged with 'DbFn_BestRowId' correctly returns list of primary key field names. N.B. If I try to pass primary key names as a string with field names separated by space, it is still recognized as *one-item-list*, and AOLServer thinks it is the name with space(s) in it etc. 2. Just for curiosity, how do (if it's not the secret) AOLServer and external db driver communicate when ext db driver is started as 'localdeamon'? I see it in the process list, but it's not using tcp/ip to communicate with AOLServer (or I'm missing something). However, when I tell AOLServer not to start it as 'localdaemon', I see them communicating over specified tcp port, as expected. TIA for any answer/comment/question. Seb. ========================================================================= Date: Tue, 3 Nov 1998 16:32:47 +0100 Reply-To: Web Development with AOLserver Sender: Web Development with AOLserver From: Stefaan Onderbeke Subject: Problem with AOLServer 2.3.2 Comments: To: markd@aol.net, feedback@aolserver.com MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="------------DDC6929A5E97793F73650048" --------------DDC6929A5E97793F73650048 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hi Mark, And all other AOLServer freaks. After upgrading from AOLServer 2.1 to 2.3.2 we have a problem accessing our min-webs with AOLpress. With a TPC/IP/HTTP protocol analyser I discovered the source of this problem, AOLSERVER ! Included is a trace (extract) : -----------------------------------TRACE REPORT (EXTRACT)------------------------- When I start AOLPress and OPEN a page (/users/o/onderbes/index.htm) on the AOLserver (this page has an existing MINI-WEB --> document.nvd), then: CLIENT SENDS : HTTP Section: 230 bytes Request Line: GET /users/o/onderbes/index.htm HTTP/1.0 Header: Host: aww.bec.bel.alcatel.be:80 Header: User-Agent: NaviPress/2.0 AOLpress/2.0 Header: Accept: text/x-server-parsed-html Header: Accept: */* Header: Accept: application/x-navidoc Header: Referer: AOLpress: Open Dialogue Looks OK to me ! SERVER REPLIES : HTTP Section: 356 bytes Status Line: HTTP/1.0 200 OK Header: X-Navidoc: /www/AOLserver/servers/server1/pages/users/o/onderbes/document.nvd/users/o/onderbes/document.nvd Header: MIME-Version: 1.0 Header: Date: Tue, 03 Nov 1998 14:24:54 GMT Header: Server: NaviServer/2.0 AOLserver/2.3.2 Header: Content-Type: text/html Header: Content-Length: 134 Header: Last-Modified: Mon, 26 Oct 1998 10:47:05 GMT Header: Version: Mon, 26 Oct 1998 10:47:05 GMT MISTAKE !!! /www/AOLserver/servers/server1/pages/users/o/onderbes/document.nvd/users/o/onderbes/document.nvd Should be : /users/o/onderbes/document.nvd Why is the complete path added ??? SERVER SENDS (MY PAGE) : HTTP Data 0000 3C 48 54 4D 4C 3E 0A 3C 48 45 41 44 3E 0A 20 20 .. 0010 3C 21 2D 2D 20 43 72 65 61 74 65 64 20 77 69 74 document.nvd), then:

CLIENT SENDS :

HTTP Section: 230 bytes
    Request Line: GET /users/o/onderbes/index.htm HTTP/1.0
    Header: Host: aww.bec.bel.alcatel.be:80
    Header: User-Agent: NaviPress/2.0 AOLpress/2.0
    Header: Accept: text/x-server-parsed-html
    Header: Accept: */*
    Header: Accept: application/x-navidoc
    Header: Referer: AOLpress: Open Dialogue

Looks OK to me !

SERVER REPLIES :

HTTP Section: 356 bytes
    Status Line: HTTP/1.0 200 OK
    Header: X-Navidoc: /www/AOLserver/servers/server1/pages/users/o/onderbes/document.nvd/users/o/onderbes/document.nvd
    Header: MIME-Version: 1.0
    Header: Date: Tue, 03 Nov 1998 14:24:54 GMT
    Header: Server: NaviServer/2.0 AOLserver/2.3.2
    Header: Content-Type: text/html
    Header: Content-Length: 134
    Header: Last-Modified: Mon, 26 Oct 1998 10:47:05 GMT
    Header: Version: Mon, 26 Oct 1998 10:47:05 GMT

MISTAKE !!!

/www/AOLserver/servers/server1/pages/users/o/onderbes/document.nvd/users/o/onderbes/document.nvd

Should be :

/users/o/onderbes/document.nvd

Why is the complete path added ???
 
SERVER SENDS (MY PAGE) :

HTTP Data
    0000  3C 48 54 4D 4C 3E 0A 3C  48 45 41 44 3E 0A 20 20    <HTML>.<HEAD>.
    0010  3C 21 2D 2D 20 43 72 65  61 74 65 64 20 77 69 74    <!-- Created wit
    0020  68 20 41 4F 4C 70 72 65  73 73 2F 32 2E 30 20 2D    h AOLpress/2.0 -
    0030  2D 3E 0A 20 20 3C 54 49  54 4C 45 3E 53 74 65 66    ->.  <TITLE>Stef
    0040  27 73 20 68 6F 6D 65 20  70 61 67 65 3C 2F 54 49    's home page</TI
    0050  54 4C 45 3E 0A 3C 2F 48  45 41 44 3E 0A 3C 42 4F    TLE>.</HEAD>.<BO
    0060  44 59 3E 0A 3C 50 3E 0A  54 45 53 54 20 44 4F 4F    DY>.<P>.TEST DOO
    0070  52 20 53 54 45 46 0A 3C  2F 42 4F 44 59 3E 3C 2F    R STEF.</BODY></
    0080  48 54 4D 4C 3E 0A                                   HTML>.
 
IS OK, AND SHOWN IN AOL PRESS.
 

Now, the client tries to fetch the mini-web:

HTTP Section: 332 bytes
    Request Line: GET /www/AOLserver/servers/server1/pages/users/o/onderbes/document.nvd/users/o/onderbes/document.nvd HTTP/1.0
    Header: Host: aww.bec.bel.alcatel.be:80
    Header: User-Agent: NaviPress/2.0 AOLpress/2.0
    Header: Accept: text/x-server-parsed-html
    Header: Accept: */*
    Header: Accept: application/x-navidoc
    Header: Referer: http://aww.bec.bel.alcatel.be/users/o/onderbes/index.htm
 
HTTP Section: 139 bytes
HTTP Data
    0000  4F 50 54 49 4F 4E 53 20  2A 20 48 54 54 50 2F 31    OPTIONS * HTTP/1
    0010  2E 30 0D 0A 48 6F 73 74  3A 20 61 77 77 2E 62 65    .0..Host: aww.be
    0020  63 2E 62 65 6C 2E 61 6C  63 61 74 65 6C 2E 62 65    c.bel.alcatel.be
    0030  3A 38 30 0D 0A 55 73 65  72 2D 41 67 65 6E 74 3A    :80..User-Agent:
    0040  20 4E 61 76 69 50 72 65  73 73 2F 32 2E 30 20 41     NaviPress/2.0 A
    0050  4F 4C 70 72 65 73 73 2F  32 2E 30 0D 0A 41 63 63    OLpress/2.0..Acc
    0060  65 70 74 3A 20 2A 2F 2A  0D 0A 41 63 63 65 70 74    ept: */*..Accept
    0070  3A 20 61 70 70 6C 69 63  61 74 69 6F 6E 2F 78 2D    : application/x-
    0080  6E 61 76 69 64 6F 63 0D  0A 0D 0A                   navidoc....
 
Which is (as expected) NOT FOUND by the client.
 

HTTP Section: 168 bytes
    Status Line: HTTP/1.0 404 Not Found
    Header: MIME-Version: 1.0
    Header: Date: Tue, 03 Nov 1998 14:24:55 GMT
    Header: Server: NaviServer/2.0 AOLserver/2.3.2
    Header: Content-Type: text/html
    Header: Content-Length: 222
 
-----------------------------------END TRACE REPORT------------------------------
 

How to solve this ?

Any help would be very much appreciated.

Kind regards,

Stefaan Onderbeke
 
  --------------DDC6929A5E97793F73650048-- ========================================================================= Date: Tue, 17 Nov 1998 07:14:36 +0100 Reply-To: Web Development with AOLserver Sender: Web Development with AOLserver From: Sasa Danicic Subject: ns_sockread function MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit I found in /AOLServer/modules/Tcl/http.tcl an undocumented function ns_sockread (under AOLServer 2.1 running on NT). Is it ns_sockread a precede of SOCKET fuction? Can somebody give me the full specification of mentioned function, as well as is there someone who has an expirience with socket function under AOLServer? Sas Danicic ========================================================================= Date: Tue, 17 Nov 1998 15:06:06 -0500 Reply-To: Web Development with AOLserver Sender: Web Development with AOLserver From: Jim Wilcoxson Subject: AOLserver for RedHat 5.0 Comments: cc: markd@aol.net In-Reply-To: <199809141844.OAA22695@circle.office.aol.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" We are running 2.30 on RedHat 5.0 and just realized we've been hitting the ns_urlencode bug where int'l chars cause it to crash the server. Our 2 production server machines are co-located in San Jose, so upgrading them to the latest RedHat release in order to upgrade our web server is kinda painful. Is there any way we can get a current AOLServer release for 5.0? And/or, will 2.3.2 run with 5.0 if we install the glibc2.07 libs? Has anyone tried this? Thanks, Jim ========================================================================= Date: Tue, 17 Nov 1998 09:46:29 -0600 Reply-To: Web Development with AOLserver Sender: Web Development with AOLserver From: Brian Elfert Subject: SSL module MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII I need to use the SSL module, but it supposedly doesn't come with AOLserver, and must be postal mailed to me. Who do I contact about this? Also, how do I generate a certificate signing request with AOLserver. Verisign's site doesn't mention how to do this with AOLserver. Brian ========================================================================= Date: Tue, 17 Nov 1998 15:12:55 -0500 Reply-To: Web Development with AOLserver Sender: Web Development with AOLserver From: Mark Dalrymple Subject: Re: AOLserver for RedHat 5.0 Comments: To: jim@meritnet.com In-Reply-To: <199811172006.MAA06533@oslo.rubylane.com> (message from Jim Wilcoxson on Tue, 17 Nov 1998 15:06:06 -0500) Hey Jim, We've put a libc version (built with Slackware) onto ftp/www.aolserver.com. Will that do what you need? ++md ========================================================================= Date: Thu, 19 Nov 1998 13:11:46 +0100 Reply-To: Web Development with AOLserver Sender: Web Development with AOLserver From: Bas Scheffers Subject: Record locking & sorting on hits Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Hello everyone, I went through (almost) all of SQL unleashed, Solid's manuals and various web sources on SQL, but can't find anything usefull on record locking. The only thing that becomes clear to me is the the database will lock the whole table for writing to it at the moment someone inserts/updates a record. What I want to do is lock a single record after a select until it's updated (or the lock timed out). So that not two people update one record at the same time. Is there any way to do this in SQL? Another thing: I want to search a database and return the results on the number of keywords found (like Hotbot, Altavista...) Can this be done within SQL or will I have to do it in my scripts? Thanks for any advice, Bas. ========================================================================= Date: Sun, 22 Nov 1998 22:36:40 -0800 Reply-To: Web Development with AOLserver Sender: Web Development with AOLserver From: Tom Kee Subject: Re: AOLserver 2.3.2 build for Slackware 3.5 Linux In-Reply-To: <187ec048.363ff737@aol.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Just a word of thanks to the AOL Server team for continuing to provide builds for libc5 and Slackware. I greatly appreciate the software and the fixes in this current release. Thanks again, Tom Kee At 01:41 AM 11/4/98 EST, you wrote: >The Slackware 3.5 libc5 version of AOLserver 2.3.2 for Linux is now available >for download at http://www.aolserver.com/server/docs/2.3.2/notes. Enjoy! >_______________________________________ > >Angela Howard, Senior Technical Writer >AOL Web Server Development >AMHoward@aol.com >_______________________________________ > > ========================================================================= Date: Tue, 24 Nov 1998 13:31:29 -0500 Reply-To: Web Development with AOLserver Sender: Web Development with AOLserver From: Kerry Barlow Subject: midi not working from IE3 on AOlserver Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" hello I use aolserver for NT and IE3 users who access midi cannot play midi sounds from my server. Netscape works fine. Going to remote outside websites IE3 web browser will play on my system so this tells me IE3 web browser is configured correctly. my html code is as follows Also I setup a MIME type for .mid in my virtual server of audio/x-midi and also tried audio/midi Neither of these two mime types helped, IE users still cannot play sound. I did restart server after each change of course. here is a test sound webpage if anyone has the time to try for thereselves http://mntnweb.com/xmas/xmas98/13/testmidi.htm any advice would be greatly appreciated! Sincerely Kerry Admin@MntnWeb.Com WWW server hosting Http://mntnweb.com Binghamton online Webcam Http://MntnWeb.Com/bing.htm CHRISTMAS Web Page Http://mntnweb.com/xmas.htm ========================================================================= Date: Tue, 24 Nov 1998 13:17:36 -0700 Reply-To: Web Development with AOLserver Sender: Web Development with AOLserver From: "Daniel P. Stasinski" Organization: Karemor International, Inc. Subject: Re: AOLSERVER Digest - 2 Oct 1998 to 13 Oct 1998 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit With the acquisition of Netscape by AOL, does this mean they will be dropping AOLserver in favor of Netscape's product line? Daniel -- /\/ Daniel P. Stasinski /\/ Karemor International, Inc. /\/ /\/ Software Engineer /\/ 2406 South 24th Street /\/ /\/ dannys@karemor.com /\/ Phoenix, AZ 85034 /\/ ========================================================================= Date: Sun, 22 Nov 1998 14:47:11 +0100 Reply-To: Branimir Dolicki Sender: Web Development with AOLserver From: Branimir Dolicki Subject: HEAD /foo.tcl HTTP/1.0 MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Hi everybody, I've been using *.tcl files for years because they are much easier to maintain than ns_register-ed procs. I never bothered how they are executed until I noticed that upon a HTTP HEAD request they behave exactly as if a GET or POST request has been issued. This is hardly surprising, because if we look at the modules/tcl/file.tcl file that comes with the distribution: # Copyright 1994-1996 America Online, Inc. set tcl_pages_enabled [ns_config -bool ns/server/[ns_info server] EnableTclPages ] if {$tcl_pages_enabled == "1"} { ns_register_proc GET /*.tcl ns_sourceproc ns_register_proc POST /*.tcl ns_sourceproc ns_register_proc HEAD /*.tcl ns_sourceproc ns_register_proc PUT /*.tcl ns_putscript } proc ns_sourceproc {conn ignored} { set script [ns_url2file [ns_conn url $conn]] if ![file exists $script] { ns_returnnotfound $conn } else { source $script } } proc ns_putscript {conn ignored} { ns_returnbadrequest $conn "Cannot PUT a script file" } This is in contradiction with the HTTP spec. which says: The HEAD method is identical to GET except that the server MUST NOT return a message-body in the response. The metainformation contained in the HTTP headers in response to a HEAD request SHOULD be identical to the information sent in response to a GET request. This method can be used for obtaining metainformation about the entity implied by the request without transferring the entity-body itself. This method is often used for testing hypertext links for validity, accessibility, and recent modification. Now, hacking file.tcl itself will not be easy. The problem is the nice Tcl's feature used in ns_sourceproc: source $script Does anyone have any idea how I could make ns_sourceproc return only headers without having to edit all my *.tcl scripts? ========================================================================= Date: Mon, 23 Nov 1998 21:40:31 -0800 Reply-To: Web Development with AOLserver Sender: Web Development with AOLserver From: Hal Heisler Subject: AOL & Netscape MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit What's in store for "the mighty AolServer"? Will the ns_ prefix have new meaning? -Hal