========================================================================= Date: Sat, 1 Nov 1997 00:22:30 -0500 Reply-To: philg@mit.edu Sender: Web Development with AOLserver From: Philip Greenspun Subject: FTP servers fighting In-Reply-To: <199711010510.AAA12779@services.web.aol.com> (message from Automatic digest processor on Sat, 1 Nov 1997 00:09:37 -0500) With the newest nsftp module (v.1.08), you need to specify the FtpAddress along with the FtpHostname in the nsd.ini to get the behavior that you're looking for. The *:21 means that nsftp is trying to bind to INADDR_ANY or to *all* interfaces (i.e., IPs). In the above case, the system ftpd has already bound to all interfaces and is listening on port 21. If you specify the following in your nsd.ini: FtpHostname = mybox.whatever.net.com FtpAddress = 111.111.111.111 then nsftp will listen on its own interface while leaving the rest to inetd and ftpd. Hmm... not exactly. In fact, I find that on my multi-homed HP-UX 10.10 box, the virtual server with nsftp can't start at all. INETD apparently has port 21 locked up tighter than a Samoyed on rawhide (it could be that there was an FTP in progress when AOLserver was trying to start, though it would have been on a different IP address). So the real tough question is how to get HP-UX inetd to selectively ignore virtual interfaces. Philip ========================================================================= Date: Sat, 1 Nov 1997 08:36:08 -0500 Reply-To: Web Development with AOLserver Sender: Web Development with AOLserver From: Peter Jansson Subject: Re: FTP servers fighting Comments: To: philg@mit.edu In-Reply-To: <199711010522.AA112291751@martigny.ai.mit.edu> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII You can't. Your best bet is to move the standard ftp service to a non-standard port in /etc/services and restart inetd. All inetd implementations (the ones I've seen, anyway) bind the sockets to INADDR_ANY, and have no facility for specifying multiple sockets on which to listen. In general, through the BSD socket APIs, you specify one address through a socket will listen. You can specify INADDR_ANY, in which case it listens throuch all, but if you only want a few addresses (more than one, fewer than all), you have to create and listen to one socket per address you listen for. All inetd implementations spin up one socket per line in the inet.conf file. Pete. On Sat, 1 Nov 1997, Philip Greenspun wrote: > So the real tough question is how to get HP-UX inetd to selectively > ignore virtual interfaces. ========================================================================= Date: Mon, 3 Nov 1997 09:55:21 +0000 Reply-To: Web Development with AOLserver Sender: Web Development with AOLserver From: Eden Torres Torres Subject: Ftp problems Comments: To: Eric O'Laughlen In-Reply-To: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII I made the change in nsd.ini line FtpHostname FtpAddress For my 2 server and all is fine. Ftp working fine. My machine is a SparcStation 5 with Solaris 2.5.1 Special thanks to Eric O'Laughlen. This tip is very important for multi hosting. _\\|//_ (' O^O ') ====================================|=ooO=<_>=Ooo===================== | Eden Torres Torres | Asesor Tecnico | Tel: 505-2782257 Red de Desarrollo Sostenible (SDN) | Fax: 505-2770845 Managua, Nicaragua | http://www.sdnnic.org.ni ---------------------------------------------------------------------- ========================================================================= Date: Sun, 2 Nov 1997 00:12:45 -0500 Reply-To: Web Development with AOLserver Sender: Web Development with AOLserver From: Malte Sussdorff Subject: TCL Variables Hello, i'm searching for a method to call a procedur with some variable names, and use the variables wich names i gave to the procedure inside it. Problem is, that the called procedure doesn't know about waht variables it is to get. Here is the code, i thought of. Maybe you have also another solution ;) proc create_form {items} { set form "" set counter 0 set length [llength $items] foreach i $items { incr counter append form "$i=$$i" ; # won't work, $$i returns $time if i is set to time if {$counter!=$length} { append form "&" } } return $form } Any help is appreciated Thanx in advance Malte ========================================================================= Date: Mon, 3 Nov 1997 21:19:23 -0500 Reply-To: Web Development with AOLserver Sender: Web Development with AOLserver From: "Larry W. Virden, x2487" Subject: Re: TCL Variables In-Reply-To: <971102001245_-1828781559@mrin46.mail.aol.com> of Sun, 2 Nov 1997 00:12:45 -0500 > i'm searching for a method to call a procedur with some variable names, and > use the variables wich names i gave to the procedure inside it. Problem is, > that the called procedure doesn't know about waht variables it is to get. I seem to recall that this is covered in the Tcl usage FAQ. Check out the Tcl FAQs - you can find pointers to them at . -- Larry W. Virden INET: lvirden@cas.org <*> O- "We are all Kosh." Unless explicitly stated to the contrary, nothing in this posting should be construed as representing my employer's opinions. ========================================================================= Date: Mon, 3 Nov 1997 21:30:35 -0500 Reply-To: Web Development with AOLserver Sender: Web Development with AOLserver From: Peter Jansson Subject: Re: TCL Variables In-Reply-To: <971102001245_-1828781559@mrin46.mail.aol.com> MIME-Version: 1.0 Content-Type: TEXT/plain; CHARSET=US-ASCII You want upvar, but there are two variants. To recode your specific problem, change this: append form "$i=$$i" to this: upvar i_value $i append form "$i=$i_value" TO make things easier to pass around and construct, I usually use Tcl arrays for this kind of thing, so the proc would go: proc pj_array2query {items_arrayname} { upvar $items_arrayname items foreach thing [array names items] { lappend form_parameters "$thing=[ns_urlencode $items($thing)]" } return [join $form_parameters "?"] } I got a little carried away there, but that's how I'd do it. And if Tcl had a "map" command like Perl does, I could do it more tersely. Pete. On 2 Nov, Malte Sussdorff wrote: > Hello, > > i'm searching for a method to call a procedur with some variable names, and > use the variables wich names i gave to the procedure inside it. Problem is, > that the called procedure doesn't know about waht variables it is to get. > Here is the code, i thought of. Maybe you have also another solution ;) > > proc create_form {items} { > > set form "" > set counter 0 > set length [llength $items] > foreach i $items { > incr counter > append form "$i=$$i" ; # won't work, $$i returns $time if i is set to > time > if {$counter!=$length} { > append form "&" > } > } > return $form > } > > Any help is appreciated > Thanx in advance > Malte ========================================================================= Date: Tue, 4 Nov 1997 11:51:54 -0500 Reply-To: Web Development with AOLserver Sender: Web Development with AOLserver From: "Kriston J. Rehberg" Organization: AOLserver Development at America Online, Inc. Subject: Re: TCL Variables In-Reply-To: <199711040504.AAA09882@services.web.aol.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit >i'm searching for a method to call a procedur with some variable names, and >use the variables wich names i gave to the procedure inside it. Problem is, >that the called procedure doesn't know about waht variables it is to get. [...] Hi, here's a play-by-play demonstration of what I think you want to do. I typed these into tclsh but you get the idea: %set foo 234 234 % set foobar [set foo] 234 % set threebar "foobar" foobar % set wiggle [set $threebar] 234 Note that wiggle gets the value held by "foobar" because the "set wiggle [set $threebar]" command returns the value held by the variable named "foobar", whose name is actually gotten from eval'ing "$threebar". Hope this gives some insight into the brashness in Tcl... a similar thing can be done with "eval" that avoids dummy variables gumming up your stack, but this way is more fun and is helpful in winning obfuscated code contests. This kind of trick is helpful when dealing with HTTP form data: as long as you name your form keys the same as your Tcl variables, you get simpler formdata parsing in your AOLserver code. Certainly Pete's suggestion is more correct, though not as much fun. Kris -- Kriston J. Rehberg AOLserver Development http://members.aol.com/kriston/ America Online, Inc. Vienna, Virginia USA endeavor to persevere ========================================================================= Date: Wed, 5 Nov 1997 10:34:47 -0500 Reply-To: jsc@w3health.com Sender: Web Development with AOLserver From: Jin Choi Subject: securing the setup server Mime-Version: 1.0 (generated by tm-edit 7.108) Content-Type: text/plain; charset=US-ASCII We would like to make our AOLserver installation as secure as possible. To this end, we've made our /NS/Admin pages available over https to prevent password sniffing. That leaves one huge hole, the setup server. Unfortunately, the setup server is not really configurable, so we can't pull the same trick. Has anyone considered this problem, and if so, what did you do about it? Thanks for any information, -Jin ========================================================================= Date: Fri, 7 Nov 1997 01:45:41 -0500 Reply-To: philg@mit.edu Sender: Web Development with AOLserver From: Philip Greenspun Subject: setup server Comments: cc: jsc@arsdigita.com In-Reply-To: <199711070503.AAA18276@services.web.aol.com> (message from Automatic digest processor on Fri, 7 Nov 1997 00:01:33 -0500) Date: Wed, 5 Nov 1997 10:34:47 -0500 From: Jin Choi Subject: securing the setup server We would like to make our AOLserver installation as secure as possible. To this end, we've made our /NS/Admin pages available over https to prevent password sniffing. That leaves one huge hole, the setup server. Unfortunately, the setup server is not really configurable, so we can't pull the same trick. Has anyone considered this problem, and if so, what did you do about it? Yes, Jin! Other people close to home have... The answer is that you have to stop running the setup server. Just pull it out of nsd.ini. The setup server is, well, for pussies. If you can cd /home/nsadmin cp -r old-server new-server you don't really even need to use the setup server to configure new virtual servers. At places like Hearst, the answer is simply to run the setup server on a port that isn't open to the firewall. Philip ========================================================================= Date: Fri, 7 Nov 1997 21:48:21 -0500 Reply-To: "say@andrew.cmu.edu" Sender: Web Development with AOLserver From: Sam Yates Organization: Carnegie Mellon University Subject: Re: Banner Ad Code MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Hi, I've have been playing with ADP's to use for banner ads on a web site, where I have something along the lines of ...html stuff.... <%=get_next_ad sports%> ...more html stuff... The procedure basically just returns an inside of an that is a which when clicked runs another procedure to redirect the user. Pretty basic stuff. Anyway, the problem is that using IE (both 3 and 4 have exhibited this behavior), the page does not get updated. My test page is really simple with basically just the above tag in it, so every time I see it get the .htm file, but then it always loads the same .gif. With Netscape though, it works just as intended. I can't see any crucial difference in the headers being sent by the respective browsers, so I don't know what the problem is. The interesting thing is that if I call the same procedure in a .shtml with the nstcl tag, it works fine? Any ideas on where to start looking? Sam Yates ========================================================================= Date: Sun, 9 Nov 1997 04:29:47 -0800 Reply-To: Web Development with AOLserver Sender: Web Development with AOLserver From: Joe Andrieu Subject: Postgress server name? (for AOLServer Setup) In-Reply-To: <199711090502.AAA16523@services.web.aol.com> from "Automatic digest processor" at Nov 9, 97 00:01:27 am MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Hello, So, how does one specify the postgres server in the AOLServer setup? I remember having problems with this in Illustra. Any help would be appreciated. Thanks, -j -- Joe Andrieu Association of Internet Professionals Founder, Secretary http://www.association.org andrieu@association.org ========================================================================= Date: Mon, 10 Nov 1997 09:20:05 +0100 Reply-To: sasad@EUnet.yu Sender: Web Development with AOLserver From: Sasa Danicic Subject: Re: AOLSERVER Digest - 8 Nov 1997 to 9 Nov 1997 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hi everybody, is it possible things like this and where is the problem: with standard procedure from command prompt on my NT 4 machine (with AOL server): nsql -U miadmin I've made succesful connection to my Illustra database. But when invoking the same process by simple Java program (developed by Erwin Kalvelagen) which try to use JDBC bridge for Illustra to connect to (also developed by Erwin), I've received a couple of exceptions about mismatching of password parameter. And of course, connection failed. Can somebody help me or better is there anybody who make some work wirh Java and Illustra on AOLServer? If this information is uncomplete for some serious answer I will send more details. The final target is that team which I've belong want to deploy a lot of TCL code to Java Platform :-)) Regards, Sasa Danicic Automatic digest processor wrote: > > There is one message totalling 23 lines in this issue. > > Topics of the day: > > 1. Postgress server name? (for AOLServer Setup) > > ---------------------------------------------------------------------- > > Date: Sun, 9 Nov 1997 04:29:47 -0800 > From: Joe Andrieu > Subject: Postgress server name? (for AOLServer Setup) > > Hello, > > So, how does one specify the postgres server in the AOLServer setup? > > I remember having problems with this in Illustra. > > Any help would be appreciated. > > Thanks, > > -j > > -- > Joe Andrieu Association of Internet Professionals > Founder, Secretary http://www.association.org > andrieu@association.org > > ------------------------------ > > End of AOLSERVER Digest - 8 Nov 1997 to 9 Nov 1997 > ************************************************** ========================================================================= Date: Mon, 10 Nov 1997 10:23:49 -0500 Reply-To: Web Development with AOLserver Sender: Web Development with AOLserver From: Bowl6and2@aol.com Subject: aolpress importing tables How do I import db files into my webpage? i.e. If I want to keep a updated list of my bowling league, I would like to just import the latest scores directly from my datafiles (I'm using Visual dBase) thank you ========================================================================= Date: Mon, 10 Nov 1997 11:37:17 -0500 Reply-To: Web Development with AOLserver Sender: Web Development with AOLserver From: Jeff Rawlings Subject: Re: Banner Ad Code Comments: To: "say@andrew.cmu.edu" Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" At 09:48 PM 11/7/97 -0500, you wrote: >Anyway, the problem is that using IE (both 3 and 4 have exhibited this >behavior), the page does not get updated. IE is most likely caching your page, and just showing you the cached version. Try adding an expires header or META tag. (The header is better, BTW -- it will work with caching proxy servers, like AOL's, in addition to browsers.) Here is some reference material from the HTTP 1.1 spec: > The format is an absolute date and time as defined by HTTP-date in > section 3.3; it MUST be in RFC1123-date format: > > Expires = "Expires" ":" HTTP-date > > An example of its use is > > Expires: Thu, 01 Dec 1994 16:00:00 GMT For more info, see http://www.internic.net/rfc/rfc2068.txt . Cheers, --Jeff Rawlings ========================================================================= Date: Mon, 10 Nov 1997 12:16:47 -0500 Reply-To: Web Development with AOLserver Sender: Web Development with AOLserver From: Doug McKee Subject: Re: Banner Ad Code In-Reply-To: <3.0.32.19971110113653.00cf1930@mail.primehost.com> (message from Jeff Rawlings on Mon, 10 Nov 1997 11:37:17 -0500) >>>>> "Jeff" == Jeff Rawlings writes: Jeff> At 09:48 PM 11/7/97 -0500, you wrote: >> Anyway, the problem is that using IE (both 3 and 4 have >> exhibited this behavior), the page does not get updated. Jeff> IE is most likely caching your page, and just showing you Jeff> the cached version. Try adding an expires header or META Jeff> tag. (The header is better, BTW -- it will work with caching Jeff> proxy servers, like AOL's, in addition to browsers.) Jeff> Here is some reference material from the HTTP 1.1 spec: >> The format is an absolute date and time as defined by HTTP-date >> in section 3.3; it MUST be in RFC1123-date format: >> >> Expires = "Expires" ":" HTTP-date >> >> An example of its use is >> >> Expires: Thu, 01 Dec 1994 16:00:00 GMT Jeff> For more info, see http://www.internic.net/rfc/rfc2068.txt . You can set the expires header in your ADP with the ns_setexpires command: http://www.aolserver.com/server/docs/2.2/html/tapi-c95.htm#147921 doug ========================================================================= Date: Tue, 11 Nov 1997 09:18:17 +1200 Reply-To: Web Development with AOLserver Sender: Web Development with AOLserver From: Terry Morris Subject: Borland Intrabuilder Hi folks Is anyone using w95/NT AOLServer with Borland's Intrabuilder. Intrabuilder uses WinCGI {:( Is it worth the hassle? I've configured the system according to Borland's info and the Intrabuilder agent/CGI broker is found OK but nothing happens after that - the pathways are correct. Looks like an incompatibility with WinCGI. Why couldn't Borland use the standard interface?!!! Advice most welcome - I work a lot with schools and would like to use AOLServer wherever possible because its flexibility and remote admin still make it head and shoulders over the rest! Best wishes ---> Terry ========================================================================= Date: Mon, 10 Nov 1997 16:17:39 -0500 Reply-To: Web Development with AOLserver Sender: Web Development with AOLserver From: Doug McKee Subject: Re: Postgress server name? (for AOLServer Setup) Comments: cc: amhoward@aol.com In-Reply-To: <199711091229.EAA27047@off.ugcs.caltech.edu> (message from Joe Andrieu on Sun, 9 Nov 1997 04:29:47 -0800) >>>>> "Joe" == Joe Andrieu writes: Joe> Hello, So, how does one specify the postgres server in the Joe> AOLServer setup? Joe> I remember having problems with this in Illustra. Joe> Any help would be appreciated. The datasource name is "host:port:database". We've added better documentation to the Setup Server for this in the upcoming 2.3 release. doug ------------------------------------------------------------------- Doug McKee, Manager, Web Server Development Email: doug@aol.net America Online, Inc. 8619 Westwood Center Drive Vienna, VA 22182 ------------------------------------------------------------------- ========================================================================= Date: Wed, 12 Nov 1997 00:44:45 -0800 Reply-To: Web Development with AOLserver Sender: Web Development with AOLserver From: Igor Baikalov Subject: Sybase SQL Server on NT Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Are there any success stories for AOLserver + Sybase SQL Server on NT? I've tried ODBC and external driver. ODBC works ok, but I can't figure a way to store large objects like image/text data. External driver with local proxy daemon does large objects with READTEXT/WRITETEXT, but only in chunks < 4096 bytes. In addition, simple one-table queries with external driver take up to a second to complete - no messages, no indication of any problem, just terribly SLOOOW. The same query in ISQL runs under 16 ms. 1) Any idea on what could be wrong with the external driver setup? 2) Is there a way to use AOLserver + Sybase SQL Server to store images/docs (not filenames)? TIA, Igor Baikalov UCLA-DOE Lab of Structural Biology http://www.doe-mbi.ucla.edu/ and Molecular Medicine ========================================================================= Date: Thu, 13 Nov 1997 14:45:32 -0500 Reply-To: "Peter J. Lim" Sender: Web Development with AOLserver From: "Peter J. Lim" Subject: Problems with Non-html files & Another Question In-Reply-To: <199711130503.AAA10196@services.web.aol.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Main Problem: I've having problems in adding links to non-HTML files, such as sound or video clips or .exe files for people to download. When I try to access these links, instead of the file downloading or playing like I expect, I get the "NotFoundResponse" file that I created. (I have set up a custom "NotFoundResponse" file to handle the "File Not Found" errors.) For background, I am running Aolserver 2.1 on RedHat Linux 4.2 on a 486dx2/66 with 12 Megs RAM. The installed shared libraries are: ld.so -- 1.7.14 libc -- 5.3.12 Second Question: I am unsure as to what use the "Assets" parameter is. The description in the documentation says "Directory where graphics files to be included in pages are stored. . ." Currently, I have my graphics stored in subdirectories within the page root. Would putting my graphics in an "Assets" directory mean that I wouldn't need whole pathnames for the graphics? Or what is "Assets" for? Any help that you can give me on these questions would be appreciated. Thanks, Peter Lim ********************************************************* Peter J. Lim * It's hard to be cool, FDC E-Ticket * when your Dad is Goofy! fi781@freenet.cwru.edu * -- A Goofy Movie (trailer) ========================================================================= Date: Fri, 14 Nov 1997 14:13:52 +0000 Reply-To: Web Development with AOLserver Sender: Web Development with AOLserver From: kerry Barlow Subject: embedded sound files Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" hello all I suspect an AOL problem so am posting here. I have been attempting to embed a Midi file in my html codeing, and am haveing problems. the sound files will not autostart. I know the embed code is good and also that I have good soundsoftware on my test systems. I can go to an outside web site and sounds will autoload and start. When I use the exact same code on my AOL served html pages it will not work for people accessing the exact same code. NT server by the way. frosty.mid is in the correct directory. If I set the Hidden=false then they get the sound player window and can start the sound manually. Is there some setting in AOL that needs to be changed? is it possible AOL is serving up the embedded file corrupted in some way? I cant understand why people can access embedded sounds easily on other web servers yet cannot access them on mine? I tried various combinations of the embed code and went to the html specs to be certain I was codeing correctly.I even tried stealing the source from working web pages on other servers and still no go. What can possibly be wrong? thank you all very much for your help. Kerry WWW server hosting Http://mntnweb.com Binghamton online Http://MntnWeb.Com/bing.htm ========================================================================= Date: Sat, 15 Nov 1997 03:49:34 -0500 Reply-To: philg@mit.edu Sender: Web Development with AOLserver From: Philip Greenspun Subject: embedded sound files Comments: cc: barlow@servtech.com In-Reply-To: <199711150506.AAA07617@services.web.aol.com> (message from Automatic digest processor on Sat, 15 Nov 1997 00:05:13 -0500) Date: Fri, 14 Nov 1997 14:13:52 +0000 From: kerry Barlow Subject: embedded sound files hello all I suspect an AOL problem so am posting here. I have been attempting to embed a Midi file in my html codeing, and am haveing problems. the sound files will not autostart. I know the embed code is good and also that I have good soundsoftware on my test systems. I can go to an outside web site and sounds will autoload and start. When I use the exact same code on my AOL served html pages it will not work for people accessing the exact same code. NT server by the way. frosty.mid is in the correct directory. If I set the Hidden=false then they get the sound player window and can start the sound manually. Is there some setting in AOL that needs to be changed? is it possible AOL is serving up the embedded file corrupted in some way? AOLserver (or any other Web server for that matter) is not going to mess with your HTML, including the EMBED tag. However, it is quite possible that AOLserver does not have a MIME type mapping for ".mid". So you may have to add some MIME type maps if you want the plug-in to recognize "frosty" as a MIDI file. (Adding MIME types is a royal pain with IIS, btw; you have to edit the Registry!) Philip ========================================================================= Date: Sat, 15 Nov 1997 14:04:25 -0400 Reply-To: webmanager@soundaccess.com Sender: Web Development with AOLserver From: "Gary A. Darr" Organization: Sound Access Subject: Re: AOLSERVER Digest - 13 Nov 1997 to 14 Nov 1997 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; x-mac-type="54455854"; x-mac-creator="4D4F5353" Content-Transfer-Encoding: 7bit ************************************************* In response to the following message : Date: Fri, 14 Nov 1997 14:13:52 +0000 From: kerry Barlow Subject: embedded sound files hello all I suspect an AOL problem so am posting here. I have been attempting to embed a Midi file in my html coding, and am having problems. the sound files will not autostart. I know the embed code is good and also that I have good sound software on my test systems. I can go to an outside web site and sounds will autoload and start. When I use the exact same code on my AOL served html pages it will not work for people accessing the exact same code. NT server by the way. frosty.mid is in the correct directory. If I set the Hidden=false then they get the sound player window and can start the sound manually. Is there some setting in AOL that needs to be changed? is it possible AOL is serving up the embedded file corrupted in some way? I cant understand why people can access embedded sounds easily on other web servers yet cannot access them on mine? I tried various combinations of the embed code and went to the html specs to be certain I was coding correctly. I even tried stealing the source from working web pages on other servers and still no go. What can possibly be wrong? thank you all very much for your help. Kerry WWW server hosting Http://mntnweb.com Binghamton online Http://MntnWeb.Com/bing.htm -------------------------------------------------------------------- Hey Kerry! As far as the current route you're going is concerned you may want to verify MIME settings. Consult your AOL documentation for more info. Suggestion: Try using a Quicktime Movie to play your sounds with instead. If you need more info about this method visit Apple's Quicktime site. This works with Windows and Macintosh! Some users may have to download the Quicktime Plug-in to use it depending on their web browser. Simply convert your sound to Quicktime movie format, upload it to your site and add the following HTML. This should give you the effect you're looking for. Gary A. Darr webmanager@soundaccess.com http://www.soundaccess.com/ If you want to see this method in action visit our site at http://www.soundaccess.com/ *********************************************** ========================================================================= Date: Mon, 17 Nov 1997 13:30:09 +1100 Reply-To: Web Development with AOLserver Sender: Web Development with AOLserver From: Michael Lohmann Subject: Re: AOLSERVER Digest - 13 Nov 1997 to 14 Nov 1997 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Please delete me from list. Automatic digest processor wrote: > There is one message totalling 30 lines in this issue. > > Topics of the day: > > 1. embedded sound files > > ---------------------------------------------------------------------- > > Date: Fri, 14 Nov 1997 14:13:52 +0000 > From: kerry Barlow > Subject: embedded sound files > > hello all I suspect an AOL problem so am posting here. I have been > attempting to embed a Midi file in my html codeing, and am haveing problems. > the sound files will not autostart. I know the embed code is good and also > that I have good soundsoftware on my test systems. I can go to an outside > web site and sounds will autoload and start. When I use the exact same code > on my AOL served html pages it will not work for people accessing the exact > same code. NT server by the way. > > frosty.mid is in the correct directory. > If I set the Hidden=false then they get the sound player window and can > start the sound manually. Is there some setting in AOL that needs to be > changed? is it possible AOL is serving up the embedded file corrupted in > some way? > I cant understand why people can access embedded sounds easily on other web > servers yet cannot access them on mine? I tried various combinations of the > embed code and went to the html specs to be certain I was codeing > correctly.I even tried stealing the source from working web pages on other > servers and still no go. What can possibly be wrong? > thank you all very much for your help. > Kerry > WWW server hosting > Http://mntnweb.com > Binghamton online Http://MntnWeb.Com/bing.htm > > ------------------------------ > > End of AOLSERVER Digest - 13 Nov 1997 to 14 Nov 1997 > **************************************************** ========================================================================= Date: Mon, 17 Nov 1997 12:26:41 -0500 Reply-To: Web Development with AOLserver Sender: Web Development with AOLserver From: Brad Chick Subject: Re: AOLSERVER Digest - 6 Nov 1997 to 7 Nov 1997 In-Reply-To: <199711080501.AAA18302@services.web.aol.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" I accidentally deleted a bunch of records from a table that I desparately need (big whoops). The db has not been dumped or vacuumed in quite some time. Is there any way to retrieve these records? Probably not, so I wrote a little awk script to get them, for anytime this data was inserted, the corresponding SQL statement was written to the server.log. It's this: awk '$7 ~ /ResultsAccess/ && $13 ~ /Chicago97/ { print $13, $14, $15, $16 > "ChicagoEmails"}' server.log But I'm getting the error that some line has too many fields. Any ideas or help would be greatly appreciated. We're on a IRIX 5.3 box. ------------------------------------------------------------------------ --o / Brad Chick `\<, / "DoMan" 0/ 0 / \e/ Do It Sports, Inc. __o __o / I 150 S. Fifth Ave. `\<, `\<, / `\\, Suite C O/ O --o O/ O/ O/ O Ann Arbor, MI 48014 `\<, / 0/ 0 / Voice: (313) 998-0007 __o / Fax: (313) 998-0056 `\-\ / 0/ 0 http://www.doitsports.com / e-mail: doman@doitsports.com ------------------------------------------------------------------------- "Doesn't matter where you finish, so long as you're sweating!" ========================================================================= Date: Tue, 18 Nov 1997 09:28:41 -0500 Reply-To: Web Development with AOLserver Sender: Web Development with AOLserver From: Jeff Rawlings Subject: Re: Retrieving deleted records from Illustra Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" At 12:26 PM 11/17/97 -0500, Brad Chick wrote: >I accidentally deleted a bunch of records from a table that I desparately >need (big whoops). >The db has not been dumped or vacuumed in quite some time. Is there any way >to retrieve these records? If you're using Illustra, you're in luck. Just use an Illustra "time travel" query: select * from table_name @[datetime, datetime]; (for a date range) select * from table_name @[datetime]; (snapshot at point in time) For example, choose a time when your table still had all it's data, before your deletion, and do: select * from table_name @['1997-11-17 12:00:00']; or select * from table_name @[date '1997-11-17']; In the past, I've even combined this with an isert statement to stick the rows right back into the table. Cheers, --Jeff Rawlings ========================================================================= Date: Tue, 18 Nov 1997 10:34:12 -0800 Reply-To: Web Development with AOLserver Sender: Web Development with AOLserver From: Michael Amster Subject: Background tasks Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Hi: I have a long running processing task which I wish to start from a perl CGI script under AOLServer. I do not wish to have the user wait for the completion of the task. Instead I wish the user to start the task, have it run in the background and then email upon completion. Right now in PERL I do something like this: $| = 1; # turn off output buffering ... output screen exec("my_long_running_task &"); exit(0); Currently, this pauses until the processing is complete (which causes a timeout for the user). Does anyone know the correct way of spawning a process which is not attached to the web server CGI process (therefore runs independently until completion). -MA ~-~-~-~-~-~-~-~-~-~-~-~-~-~-WEBEASY-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ Michael Amster mamster@webeasy.com 4676 Admiralty Way, Suite 300 Tel: 310.576.0770 Marina Del Rey, CA 90292 Fax: 310.576.2011 ========================================================================= Date: Tue, 18 Nov 1997 14:52:02 -0500 Reply-To: Web Development with AOLserver Sender: Web Development with AOLserver From: Peter Jansson Subject: Re: Background tasks In-Reply-To: <3.0.1.32.19971118103412.00a50b60@mailhost.webeasy.com> MIME-Version: 1.0 Content-Type: TEXT/plain; CHARSET=US-ASCII On 18 Nov, Michael Amster wrote: > $| = 1; # turn off output buffering > ... output screen > exec("my_long_running_task &"); > exit(0); I suspect the Perl man page would point out that exec overlays the current process with the specified executable and transfers control to it. What you need to do is to fork() the CGI script, disconnect the child from the parent, and then exec the new process in the child. You won't need the "&" either (surprised it doesn't produce an error, for that matter). Then the parent process can return an result immediately. Be careful with this, though -- you can easily end up having multiple connections forking off simultaneous processes, which get hard to manage. You might want to establish some directory as a queue, and the CGI script would drop off a new request file in the queue, which is polled periodically by a cron job. Pete. ========================================================================= Date: Tue, 18 Nov 1997 15:11:26 -0500 Reply-To: Web Development with AOLserver Sender: Web Development with AOLserver From: Jeff Rawlings Subject: Re: Background tasks Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" At 10:34 AM 11/18/97 -0800, you wrote: >Currently, this pauses until the processing is complete (which causes a >timeout for the user). Does anyone know the correct way of spawning a >process which is not attached to the web server CGI process (therefore runs >independently until completion). Hi, I haven't done it much, but you should be able to use the Tcl API's ns_thread command to do this. Might look something like this (totally untested): ns_register_proc GET /longtask longtask proc longtask {conn ignore} { ns_thread begindetached do_longtask ns_returnnotice $conn 200 "Task Started" "We'll email results." } proc do_longtask {} { exec "your_stuff_here" } Or something like that... hope it helps. Cheers, --Jeff Rawlings Senior Interactive Media Developer, America Online http://www.primehost.com/ ========================================================================= Date: Wed, 19 Nov 1997 20:50:37 -0500 Reply-To: Web Development with AOLserver Sender: Web Development with AOLserver From: Brad Chick Subject: Redirecting SQL output In-Reply-To: <199711110503.AAA23801@services.web.aol.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" I needed some data from a db and ran the following command: nsql doitsports < sql > chi_emails where the file 'sql' contained the following sql statement: select * from ResultsAccess @[,] where event='Chicago97'; Unfortunately, the output in 'chi_emails' is nicely formatted, with each column having 13 chars, etc. It looks like this: |Chicago97 |O'Brien |Daniel |DO905@prodig*| |Chicago97 |Kilgore |Michael |tcsmtk@aol.c*| |Chicago97 |Kilgore |Michael |tcsmtk@aol.c*| But what I need is for the output to come back as a delimited file. Or at least not to cut off the values of fields at 13 chars. There must be an easy way to do this, but I'm not much of a SQL guy. If anyone knows how to do this quickly, or knows of a good online guide to SQL, that would be great. +-------------------------------------------------------------+ | | | o _ _ _ | | _o /\_ _ \\o (_)\__/o (_) | | _< \_ _>(_) (_)/<_ \_| \ _|/' \/ | | (_)>(_) (_) (_) (_) (_)' _\o_ | | --------^ ---^--- ---^--- ------- ----------- | | | +-------------------------------------------------------------+ "Doesn't matter where you finish, as long as nothing's broken!" -DoMan Brad Chick doman@doitsports.com Do It Sports, Inc. Tel: (313) 998-0007 x27 150 S. Fifth Ave. Fax: (313) 998-0056 Suite C, Ann Arbor, MI 48014 http://www.doitsports.com ========================================================================= Date: Thu, 20 Nov 1997 11:36:01 -0500 Reply-To: Web Development with AOLserver Sender: Web Development with AOLserver From: Doug McKee Subject: Solaris x86 build of AOLserver Hey all, I'm happy to announce that we're adding Solaris x86 to our list of supported AOLserver platforms. We're releasing our first beta of AOLserver 2.3 in the next couple weeks, and you'll see a Solaris x86 build then. We still have no plans for a FreeBSD port, but if we change our minds, you'll be the first to know! doug ------------------------------------------------------------------- Doug McKee, Manager, Web Server Development Email: doug@aol.net America Online, Inc. 8619 Westwood Center Drive Vienna, VA 22182 ------------------------------------------------------------------- ========================================================================= Date: Thu, 20 Nov 1997 10:01:54 -0500 Reply-To: Web Development with AOLserver Sender: Web Development with AOLserver From: Scott Munro Subject: Re: AOLSERVER Digest - 18 Nov 1997 to 19 Nov 1997 Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Brad, Assuming you're using Illustra, check out the micopy command in the documentation. micopy MyTable to 'outputfile.txt'; should write an tab-delimited file with the contents of MyTable. Specification of other delimiters is possible. Only problem is that you get the entire table... I don't believe you can use the "where" clause. If you must use a select statement, consider using the [-w colwidth] flag when you start up nsql to extend the width of the columns on output to solve your truncation problem. Regards, Scott Munro Aardvark Interactive Brad Chick wrote: >I needed some data from a db and ran the following command: > > nsql doitsports < sql > chi_emails > >where the file 'sql' contained the following sql statement: > > select * from ResultsAccess @[,] where event='Chicago97'; > >Unfortunately, the output in 'chi_emails' is nicely formatted, with each >column having 13 chars, etc. It looks like this: > > |Chicago97 |O'Brien |Daniel |DO905@prodig*| > |Chicago97 |Kilgore |Michael |tcsmtk@aol.c*| > |Chicago97 |Kilgore |Michael |tcsmtk@aol.c*| > >But what I need is for the output to come back as a delimited file. Or at >least not to cut off the values of fields at 13 chars. There must be an >easy way to do this, but I'm not much of a SQL guy. If anyone knows how to >do this quickly, or knows of a good online guide to SQL, that would be great. ========================================================================= Date: Thu, 20 Nov 1997 09:53:19 -0500 Reply-To: Web Development with AOLserver Sender: Web Development with AOLserver From: JGDavidson@aol.com Subject: Re: Redirecting SQL output In a message dated 97-11-20 07:41:20 EST, you write: > I needed some data from a db and ran the following command: > > nsql doitsports < sql > chi_emails > > where the file 'sql' contained the following sql statement: > > select * from ResultsAccess @[,] where event='Chicago97'; > > Unfortunately, the output in 'chi_emails' is nicely formatted, with each > column having 13 chars, etc. It looks like this: > > |Chicago97 |O'Brien |Daniel |DO905@prodig*| > |Chicago97 |Kilgore |Michael |tcsmtk@aol.c*| > |Chicago97 |Kilgore |Michael |tcsmtk@aol.c*| > > But what I need is for the output to come back as a delimited file. Or at > least not to cut off the values of fields at 13 chars. There must be an > easy way to do this, but I'm not much of a SQL guy. If anyone knows how to > do this quickly, or knows of a good online guide to SQL, that would be great. > > Use the \W 0 nsql command. -Jim ========================================================================= Date: Thu, 20 Nov 1997 10:32:32 -0500 Reply-To: James Smallacombe Sender: Web Development with AOLserver From: James Smallacombe Subject: More Threads hanging MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII I had this problem back in 2.0, but it pretty much went away in 2.1, only surfacing occasionally and for one or two virtual servers. After using 2.2 for a month or two with no real problems, it has come back worse than ever and it's *really* bad now. For the third day in a row I've come in to find messages from irate virtual hosting customers; something like 35 out of 53 virtual servers are completely hung. I turned on debugging for the server.log and this seems to be where the problem is: *** Exception caught in thread 6 - invoking exception callbacks *** [20/Nov/1997:02:24:53 -0500][7954.6][-Sockets-] Debug: Running callback #215 Status of virtual server 'keystone': Threads: min 0, max 50, current 0, idle 0, busy 0, stopping 0 Active Connections: [20/Nov/1997:02:24:53 -0500][7954.6][-Sockets-] Debug: Running callback #211 Status of virtual server 'interacoustic': Threads: min 0, max 50, current 0, idle 0, busy 0, stopping 0 Active Connections: [20/Nov/1997:02:24:53 -0500][7954.6][-Sockets-] Debug: Running callback #207 It goes on for dozens of virtual servers...the OS is Solaris 2.5 (pretty well patched). I'm thinking upgrading to 2.2.1 except I don't see any bug fixes on the list that relate to this. Please, *any* cluefull suggestions would be greatly appreciated. TIA! James Smallacombe Internet Access for Bucks County james@pil.net And Philadelphia, PA. PlantageNet Internet Ltd. http://www.pil.net "I'll plant Plantagenet, root him up who dares." 3Henry Vi, I,i ========================================================================= Date: Thu, 20 Nov 1997 12:50:54 -0500 Reply-To: James Smallacombe Sender: Web Development with AOLserver From: James Smallacombe Subject: Upgraded to 2.2.1 problems MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII In a quest to rid myself of the dreaded hanging-thread problem, I upgraded from 2.2 to 2.2.1 and this is what I got when I tried to update the golabal parameters (in this case, turning off debugging in the server.log): Tcl script failed could not roll file. while executing "ns_rollfile $configfile $maxbackup" (procedure "cf_writeconfig" line 9) invoked from within "cf_writeconfig" (procedure "cf_update" line 15) invoked from within "cf_update $conn [ns_conn form $conn] "AOLserver Parameters Updated" {}" invoked from within "return [cf_update $conn [ns_conn form $conn] "AOLserver Parameters Updated" {}]..." (procedure "cf_parametersupdate" line 2) invoked from within "cf_parametersupdate nsc9 {}" For further assistance, contact the server administrator. Now, I don't know tcl, so I haven't a clue why I got this. I upgraded by untarring the new version in the /usr/local/AOLserver directory and restarting the server. Once again, clues appreciated. Thanks! James Smallacombe Internet Access for Bucks County james@pil.net And Philadelphia, PA. PlantageNet Internet Ltd. http://www.pil.net "I'll plant Plantagenet, root him up who dares." 3Henry Vi, I,i ========================================================================= Date: Thu, 20 Nov 1997 18:06:44 -0800 Reply-To: Web Development with AOLserver Sender: Web Development with AOLserver From: ACS Subject: Uploading files via a form I haven't been monitoring the group for a while so... Has anyone written a tcl script to allow the upload of a file via the multipart/form-data POST method? This would be on Solaris if it makes any difference. I could allow it via ftp but I'm trying to do it via a form from a browser. Hugo ========================================================================= Date: Fri, 21 Nov 1997 09:34:49 -0500 Reply-To: Web Development with AOLserver Sender: Web Development with AOLserver From: Doug McKee Subject: Re: Uploading files via a form In-Reply-To: <199711210206.SAA02919@apcom.com> (message from ACS on Thu, 20 Nov 1997 18:06:44 -0800) >>>>> "Hugo" == ACS writes: Hugo> I haven't been monitoring the group for a while so... Has Hugo> anyone written a tcl script to allow the upload of a file Hugo> via the multipart/form-data POST method? This would be on Hugo> Solaris if it makes any difference. I could allow it via Hugo> ftp but I'm trying to do it via a form from a browser. AOLserver 2.2 added ns_get_multipart_formdata for exactly this, and we are replacing this interface with an even better one for 2.3. doug ========================================================================= Date: Sat, 22 Nov 1997 02:10:28 -0500 Reply-To: Web Development with AOLserver Sender: Web Development with AOLserver From: Malte Sussdorff Subject: Development Tool Hi, i was wondering, if there exists a development tool for the AOLServer, or TCL. (Visual TCL *grin*). So long Malte ========================================================================= Date: Mon, 24 Nov 1997 13:26:10 +0000 Reply-To: Web Development with AOLserver Sender: Web Development with AOLserver From: Jordie Subject: SQL w/ Row.ID Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" I've been attempting to pretty up the html interfaces for some real basic dbs that I've set up to be under the password protected control of the client .. but try as I might I can't seem to get the sql to do what would look something like; "set sql "select * from test_table where Row.ID is like "2020.2002";" this is what happens when you run b4 you walk. Jordie Fike jordie@outer-banks.nc.us ========================================================================= Date: Tue, 25 Nov 1997 09:14:48 -0500 Reply-To: Web Development with AOLserver Sender: Web Development with AOLserver From: Jeff Rawlings Subject: Re: Redirecting SQL output Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" At 08:50 PM 11/19/97 -0500, you wrote: >Unfortunately, the output in 'chi_emails' is nicely formatted, with each >column having 13 chars, etc. It looks like this: > > |Chicago97 |O'Brien |Daniel |DO905@prodig*| Might try a couple of flags for nsql: -T (terse: column names and boxes not returned) -w 0 (specify width of column output. 0 indicates no alignment no truncation of data.) Cheers, --Jeff Rawlings ========================================================================= Date: Tue, 25 Nov 1997 09:14:58 -0500 Reply-To: Web Development with AOLserver Sender: Web Development with AOLserver From: Jeff Rawlings Subject: Re: SQL w/ Row.ID Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" At 01:26 PM 11/24/97 +0000, you wrote: >"set sql "select * from test_table where Row.ID is like "2020.2002";" What database are you using? With Illustra, this query would look more like: set sql "select * from test_table where oid = '2020.2002';" If you're using some other database and the syntax you have is correct, you'll at least want to comment the double-quotes so your Tcl "set" command isn't terminated prematurely: set sql "select * from test_table where Row.ID is like \"2020.2002\";" Cheers, --Jeff Rawlings