========================================================================= Date: Sat, 2 May 1998 19:35:24 -0700 Reply-To: Web Development with AOLserver Sender: Web Development with AOLserver From: Jack Hong Subject: Outputting IMAGE/GIF via CGI Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Hi, I'm trying to display dynamic ad images directly to the web using AOLServer and TCL. Has anyone gotten this to work? I get a broken image. ns_return $conn 200 image/gif $data Thanks, Jack ========================================================================= Date: Mon, 4 May 1998 08:55:52 EDT Reply-To: Web Development with AOLserver Sender: Web Development with AOLserver From: John Jola Subject: E-mail Mime-Version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7bit Looking for a good e-mail front to use with aolserver. Anyone help John ========================================================================= Date: Mon, 4 May 1998 12:36:50 -0400 Reply-To: Web Development with AOLserver Sender: Web Development with AOLserver From: Jeff Rawlings Subject: Re: Outputting IMAGE/GIF via CGI Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" At 07:35 PM 5/2/98 -0700, Jack wrote: >I'm trying to display dynamic ad images directly to the web using AOLServer >and TCL. Has anyone gotten this to work? I get a broken image. > > ns_return $conn 200 image/gif $data Jack, Tcl doesn't like binary data -- embedded nulls cause problems. Try using ns_returnfile instead; something like: ns_returnfile $conn 200 image/gif "[ns_info pageroot]/$path/$filename" That way, you can switch around the images via their filenames, without loading the actual image into a Tcl variable. Cheers, --Jeff Rawlings Board of Directors, Association of Internet Professionals jrawlings@association.org -- http://www.association.org Senior Interactive Media Developer, America Online rawlings@aol.net -- http://www.primehost.com ========================================================================= Date: Tue, 5 May 1998 07:44:24 -0400 Reply-To: Web Development with AOLserver Sender: Web Development with AOLserver From: "Larry W. Virden, x2487" Subject: Re: Outputting IMAGE/GIF via CGI In-Reply-To: <3.0.32.19980504123627.006e484c@mailbox.primehost.com> of Mon, 4 May 1998 12:36:50 -0400 Actually, for the last 8 months or so Tcl 8 has been available, and it likes binary data just fine. Any prognosis on when Tcl 8 will be integrated. -- 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: Fri, 8 May 1998 12:57:33 -0400 Reply-To: Web Development with AOLserver Sender: Web Development with AOLserver From: Doug McKee Subject: Re: Outputting IMAGE/GIF via CGI MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit >Actually, for the last 8 months or so Tcl 8 has been available, and it >likes binary data just fine. > >Any prognosis on when Tcl 8 will be integrated. We're looking at this summer to do the integration, and will keep you posted as the development progresses! doug ========================================================================= Date: Sat, 9 May 1998 15:19:07 -0700 Reply-To: Web Development with AOLserver Sender: Web Development with AOLserver From: Tom Kee Subject: Re: Customize Fancy Directory Listings? In-Reply-To: <3551FD90.CFE8CBAE@f5.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" At the risk of answering my own question, I wrote one and answered my own question. DOH! Demo http://www.magnets.com/software/ Source http://www.magnets.com/software/dir.adp.txt Does any one have a time_t to ctime function for TCL to use for the file times? Cheers, -Tom At 11:29 AM 5/7/98 -0700, Tom Kee wrote: >Hey, > >Is there a way to customize a directory fancy directory listing i.e. >custom headers and footers or a set of TCL functions to allow me to do >this as an ADP script. > >Thanks much, > >Tom Kee > > > ========================================================================= Date: Fri, 8 May 1998 11:34:52 -0500 Reply-To: Web Development with AOLserver Sender: Web Development with AOLserver From: David Frees Subject: Text Boxes and Single/Double Qoutes MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit I asked this question back in early March, but never did see it show up on the list. If it did and I missed it, I apologize. The following simplified code illustrates a problem I'm having getting text containing quotes to display in a text field on a form. In this example, the first ns_puts correctly displays the entire $textString directly to the web page, the second ns_puts correctly displays the entire $textString to the TEXTAREA field, but the third ns_puts only displays the string in the TEXT field up to the point of the first double quote in $textString. I'm hoping someone can give me advice on how to get the entire string to display in a TEXT field without choking on either single or double quotes. I'm running AOLServer 2.2 on Redhat Linux 4.2. Thanks, David ------------------------------------------------ <% set textString {He said "What's up" to me} ns_puts "
$textString" ns_puts "
" ns_puts "
" %> ========================================================================= Date: Thu, 7 May 1998 11:29:36 -0700 Reply-To: Web Development with AOLserver Sender: Web Development with AOLserver From: Tom Kee Organization: F5 Labs, Inc. Subject: Customize Fancy Directory Listings? Comments: To: doug@aol.net MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hey, Is there a way to customize a directory fancy directory listing i.e. custom headers and footers or a set of TCL functions to allow me to do this as an ADP script. Thanks much, Tom Kee ========================================================================= Date: Sun, 10 May 1998 23:12:52 -0400 Reply-To: Web Development with AOLserver Sender: Web Development with AOLserver From: Jim Wilcoxson Subject: RedHat 5.0 glibc Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Does anyone have AOLServer running with the upgraded 2.0.7 glibc from RedHat? I updated mine, actually AutoRPM did it for me :-(, and AOLServer crashed immediately on startup. Seems to work fine with the libraries installed with vanilla RedHat 5.0 Jim ========================================================================= Date: Mon, 11 May 1998 11:17:36 -0500 Reply-To: Web Development with AOLserver Sender: Web Development with AOLserver From: David Frees Subject: Access Control Configuration MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit I've set up a virtual server that's working fine. Except I cannot for the life of me get to the Access Control pages to add users. So right now the only authorized user is 'nsadmin'.I've tried every possible link that seemed reasonable (and a few that didn't), but can't find it. From the "Setup Virtual Servers" page I click on "Connect to Virtual Server Administration Page" for that particular server. This takes me to a page called "AOLServer Administration". But the only two options on this page are to show the server log or connect to the Setup server. I'm running AOLServer 2.2 on a Linux 5.0 system. Would sure appreciate any pointers to get there. David ========================================================================= Date: Mon, 11 May 1998 09:55:26 -0700 Reply-To: Web Development with AOLserver Sender: Web Development with AOLserver From: Igor Baikalov Subject: Re: Text Boxes and Single/Double Qoutes In-Reply-To: <3553342B.2988DCE1@email.uah.edu> Mime-Version: 1.0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable David,

It's more of HTML problem than AOLserver - to be safe, try to avoid using double quotes at all in HTML output and use a "quot" HTML entity instead; f.ex, before ns_putting your text string do the following substitution:

regsub -all {"} $textString {\&quot;} newString

and then

ns_puts "<BR><INPUT TYPE=3DTEXT NAME=3DText1 VALUE=3D\"$newString\">"

Hope this helps,

Igor

At 11:34 AM 5/8/98 -0500, you wrote:
>I asked this question back in early March, but never did see it show up
>on the list. If it did and I missed it, I apologize.
>
>The following simplified code illustrates a problem I'm having getting
>text
>containing quotes to display in a text field on a form.=A0 In=20 this
>example, the first ns_puts correctly displays the entire $textString
>directly
>to the web page, the second ns_puts correctly displays the entire
>$textString
>to the TEXTAREA field, but the third ns_puts only displays the string in
>the
>TEXT field up to the point of the first double quote in $textString. I'm
>hoping
>someone can give me advice on how to get the entire string to display in
>a TEXT
>field without choking on either single or double quotes.
>
>I'm running AOLServer 2.2 on Redhat Linux 4.2.
>
>Thanks,
>
>David
>------------------------------------------------
><%
>=A0 set textString {He said "What's up" to me}
>=A0 ns_puts "<BR>$textString"
>=A0 ns_puts "<BR><TEXTAREA NAME=3DTextArea1>$textString</TEXTAREA>"
>=A0 ns_puts "<BR><INPUT TYPE=3DTEXT NAME=3DText1 VALUE=3D\"$textString\">"
>%>
>

Igor Baikalov
UCLA-DOE Lab of Structural Biology        http://www.doe-mbi.ucla.edu/
        and Molecular=20 Medicine ========================================================================= Date: Mon, 11 May 1998 15:31:08 -0400 Reply-To: Web Development with AOLserver Sender: Web Development with AOLserver From: Jim Wilcoxson Subject: Re: Text Boxes and Single/Double Qoutes In-Reply-To: <3553342B.2988DCE1@email.uah.edu> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" You are doing this inside an ADP thingy, right? The syntax you are using would work fine in a .tcl script. I suspect that inside an ADP, the backslash before the quote is not getting handled correctly. You could check this by adding another set of backslashes, i.e.: ns_puts "blah blah \\\"quoted\\\" blah blah" might work. Maybe it's documented that code inside an ADP has a level of backslashes removed. I dunno, I haven't used 'em. Jim At 11:34 AM 5/8/98 -0500, you wrote: >I asked this question back in early March, but never did see it show up >on the list. If it did and I missed it, I apologize. > >The following simplified code illustrates a problem I'm having getting >text >containing quotes to display in a text field on a form. In this >example, the first ns_puts correctly displays the entire $textString >directly >to the web page, the second ns_puts correctly displays the entire >$textString >to the TEXTAREA field, but the third ns_puts only displays the string in >the >TEXT field up to the point of the first double quote in $textString. I'm >hoping >someone can give me advice on how to get the entire string to display in >a TEXT >field without choking on either single or double quotes. > >I'm running AOLServer 2.2 on Redhat Linux 4.2. > >Thanks, > >David >------------------------------------------------ ><% > set textString {He said "What's up" to me} > ns_puts "
$textString" > ns_puts "
" > ns_puts "
" >%> > ========================================================================= Date: Mon, 11 May 1998 15:01:25 -0700 Reply-To: Web Development with AOLserver Sender: Web Development with AOLserver From: Joe Andrieu Subject: AOLServer on RedHat 5.0 (working mostly) In-Reply-To: <199804070409.AAA17947@services.web.aol.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Howdy, I don't know if this was ever answered, but I also had problems with the latest glibc from Redhat. I had to downgrade to the glibc libraries listed on the AOLServer site, but they were available in an rpm from Redhat and it worked. However, I can't get nsftp to work. That just hangs whenever I try to load the module. I've tried a few different parameters, no luck. And I'm having some problems with user permissions not quite working right. NSadmin can save, but I can't seem to create a new user which works with permissions on PUT or GET. I get the user and the permission record is there, but it fails authentication no matter what password I try. Has anyone else had these problems with Redhat 5? (I did get PostgreSQL working btw.) -j At 04:04 AM 4/7/98 +0000, you wrote: > 1. I couldn't get to work either, AOLServer on RedHat 5.0 with the new > libraries > 2. Virtualizing FTP on IRIX 6.2 (2) > 3. AOLSERVER Digest - 2 Apr 1998 to 3 Apr 1998 > 4. aolserver on solaris > >---------------------------------------------------------------------- > >Date: Sat, 4 Apr 1998 14:07:08 -0500 >From: Mark Nielsen >Subject: I couldn't get to work either, > AOLServer on RedHat 5.0 with the new libraries > >I couldn't get AOLServer to work with the new libraries from Redhat >either. Just wanted to second the opinion! > >It core dumps on me as well. > >Mark -- Joe Andrieu Association of Internet Professionals Co-Founder, Secretary http://www.association.org mailto:andrieu@andrieu.net ========================================================================= Date: Fri, 15 May 1998 11:39:44 -0400 Reply-To: Web Development with AOLserver Sender: Web Development with AOLserver From: Stanislav Krasilovskiy Subject: Server Error Handling MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Hi, We are currently in the debugging/testing phase of our site, and I was wondering if there was a way to intercept server errors so that every time a server error occurs the server would e-mail me with the cause of the error (the Tcl error info). Can this be done? Thanks. ======================================= Stanislav "The Progressor" Krasilovskiy -= prgrssor@bu.edu =- ======================================= Web Master/Web Programmer/DB Programmer Boston University Department of Engineering ======================================= ========================================================================= Date: Fri, 15 May 1998 13:40:54 -0400 Reply-To: Web Development with AOLserver Sender: Web Development with AOLserver From: Jim Wilcoxson Subject: Re: Server Error Handling In-Reply-To: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" To intercept errors in your TCL source, copy nsadmin/modules/tcl/file.tcl to your virtual server's tcl directory, then modify it to put a catch around the "source" statement. Here's ours: proc ns_sourceproc {conn ignored} { global errorInfo set errorInfo "" set script [ns_url2file [ns_conn url $conn]] if ![file exists $script] { ### ns_returnnotfound $conn rlerror "" $conn "" "$script: Not found" } else { if [catch { source $script }] { rlerror "" $conn "" "$script: from ns_sourceproc" } } } We wrote a TCL function "rlerror" that does a bunch of error handling, spews out a customized page that says "our site is broken" in a nice way, logs stuff to the server log, and displays the TCL error info for internal users. The key is to display/email the global variable "errorInfo". This has the TCL traceback infomation you see in the server logs. You could do that right in the file.tcl function if that's all you wanted. In case of errors that you catch, don't forget to do some kind of ns_return to display a page back to the user explaining that an error occurred, or redirect them. Getting email for errors with .html, .gif, .jpeg, etc. files (like to catch broken links at your site) is a little tougher. You need to register a TCL function for the "/*.html" URL. Or maybe you can use the new "filter" procedures to validate that the pages are there and accessible. Jim At 11:39 AM 5/15/98 -0400, you wrote: >Hi, > >We are currently in the debugging/testing phase of our site, and I was >wondering if there was a way to intercept server errors so that every time >a server error occurs the server would e-mail me with the cause of the >error (the Tcl error info). > >Can this be done? > >Thanks. > >======================================= >Stanislav "The Progressor" Krasilovskiy > -= prgrssor@bu.edu =- >======================================= >Web Master/Web Programmer/DB Programmer > Boston University > Department of Engineering >======================================= > ========================================================================= Date: Tue, 19 May 1998 08:52:00 -0600 Reply-To: Web Development with AOLserver Sender: Web Development with AOLserver From: Ron Patterson Organization: MCI Communications Subject: Re: AOLSERVER Digest - 8 May 1998 to 11 May 1998 Comments: To: David Frees A fairly simple regsub should take care of the double quotes. You don't have to worry about the single quotes unless you'll be using the textString in an Illustra SQL statement. Then just replace the single quotes with two single quotes. <% set textString {He said "What's up" to me} ns_puts "
$textString" ns_puts "
" regsub -all {"} $textString {"} textString ns_puts "
" %> Ron =============================================================== Ron Patterson | MCI Communications (warehouseMCI) Ron.Patterson@mci.com | 5775 Mark Dabling Blvd. 601-2386@mcimail.com | Dept. 1927/786 719-535-5727 | Colorado Springs, CO 80919 Fax: 719-535-6164 | >Date: Fri, 8 May 1998 11:34:52 -0500 >From: David Frees >Subject: Text Boxes and Single/Double Qoutes > >I asked this question back in early March, but never did see it show up >on the list. If it did and I missed it, I apologize. > >The following simplified code illustrates a problem I'm having getting >text >containing quotes to display in a text field on a form. In this >example, the first ns_puts correctly displays the entire $textString >directly >to the web page, the second ns_puts correctly displays the entire >$textString >to the TEXTAREA field, but the third ns_puts only displays the string in >the >TEXT field up to the point of the first double quote in $textString. I'm >hoping >someone can give me advice on how to get the entire string to display in >a TEXT >field without choking on either single or double quotes. > >I'm running AOLServer 2.2 on Redhat Linux 4.2. > >Thanks, > >David >------------------------------------------------ ><% > set textString {He said "What's up" to me} > ns_puts "
$textString" > ns_puts "
" > ns_puts "
" >%> > >------------------------------ >End of AOLSERVER Digest - 8 May 1998 to 11 May 1998 >*************************************************** ========================================================================= Date: Tue, 19 May 1998 19:38:53 +0200 Reply-To: Web Development with AOLserver Sender: Web Development with AOLserver From: Branimir Dolicki Subject: Distributing a patched driver for Solid MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII I would like to give away patched versions of solid.c driver for AolServer on Linux. Am I allowed to do so? The first line of the driver says: Copyright 1994-1996 America Online, Inc. Should I ask for the permission? Whom? Is there an E-mail address such as "ask-for-permission @ a o l.com"? What if I just give the result of diffing the two files ? I have no experience with this. Could somebody help me? I think the enhancements and bug fixes made by my friend Sebastian would be useful to everyone who uses AolServer on Linux. Thanks, -- Branimir Dolicki -- Lavsa d.o.o. ========================================================================= Date: Tue, 19 May 1998 10:22:22 -0400 Reply-To: Web Development with AOLserver Sender: Web Development with AOLserver From: kerry Barlow Subject: Generating hits for a site Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Hello Everyone: I sincerely apologize for this being off topic. Before I give up I thought I would ask here. I have been using AOlserver for 2 years now for my company. I am at my wits end now, because after 2 years I generate a pathetic amount of hits/people coming to my site.I am at a loss as to how to generate traffic/business for my site and am about ready to call it quits entirely. I have been operating at a loss all this time. I have posted my site manually to the major search engines. I bought an automated search engine program,and used that (useless I swear). I added meta tags, I have numerous differant free programs for people (the free pages DO generate hits) however people only go to the free pages and not any further. I put adds for my main business page on the free pages as well. I also tried link exchange,I swear all that did is help other companies,not my own. I change my main page about every 2 months to make it fresh looking. I simply cannot afford to pay for advertising on search engines or in magazines at this time,the price is way beyond my budget. Every ad I seem to find is in the thousands of dollars range. I search the internet for business info and all the help pages tell me to do what I already have done (search engines,meta tags,free stuff etc) I realize I am asking help from many of you who are doing the same thing,and you may not want to help a so-called competitor I presume you all can tell I have no business knowledge whatever. If anyone has any helpful ideas before I throw in the towel I would be greatly indebted to them. Thankyou Sincerely Kerry Admin@MntnWeb.Com WWW server hosting Http://mntnweb.com Binghamton online Http://MntnWeb.Com/bing.htm CHRISTMAS Web Page Http://mntnweb.com/xmas.htm ========================================================================= Date: Tue, 19 May 1998 17:40:50 +0200 Reply-To: Web Development with AOLserver Sender: Web Development with AOLserver From: Paolo Buonocore Subject: Information MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit I'm a student of the University Udine Italy I'm looking for some information about postgress and ingres and DB under Linux Maybe you can help me Tanks! ========================================================================= Date: Tue, 19 May 1998 15:57:28 -0400 Reply-To: Web Development with AOLserver Sender: Web Development with AOLserver From: Doug McKee Subject: AOLserver 2.3 Official Release! MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit We are happy to announce the official AOLserver 2.3 release! It contains several important bugfixes detailed in the release notes at http://www.aolserver.com/server/docs/2.3/notes/index.html. So go ahead and download it and let us know what you think! doug ------- Doug McKee Manager, Web Server Development America Online doug@aol.net ========================================================================= Date: Tue, 19 May 1998 11:19:47 -0700 Reply-To: Web Development with AOLserver Sender: Web Development with AOLserver From: Jeff Huber Subject: Re: Generating hits for a site MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Kerry, Read Philp Greenspun's book at http://photo.net/wtr/dead-trees/. kerry Barlow wrote: > > Hello Everyone: I sincerely apologize for this being off topic. Before I > give up I thought I would ask here. I have been using AOlserver for 2 years > now for my company. I am at my wits end now, because after 2 years I > generate a pathetic amount of hits/people coming to my site.I am at a loss > as to how to generate traffic/business for my site and am about ready to > call it quits entirely. I have been operating at a loss all this time. I > have posted my site manually to the major search engines. I bought an > automated search engine program,and used that (useless I swear). I added > meta tags, I have numerous differant free programs for people (the free > pages DO generate hits) however people only go to the free pages and not any > further. I put adds for my main business page on the free pages as well. I > also tried link exchange,I swear all that did is help other companies,not my > own. I change my main page about every 2 months to make it fresh looking. I > simply cannot afford to pay for advertising on search engines or in > magazines at this time,the price is way beyond my budget. Every ad I seem to > find is in the thousands of dollars range. > I search the internet for business info and all the help pages tell me to > do what I already have done (search engines,meta tags,free stuff etc) > I realize I am asking help from many of you who are doing the same > thing,and you may not want to help a so-called competitor I presume you > all can tell I have no business knowledge whatever. > If anyone has any helpful ideas before I throw in the towel I would be > greatly indebted to them. -- -------------------------------------------------------- | Jeff Huber | mailto:jeff@alienbob.com | | AM.net Programmer | AOLserver Mailing List Moderator | | http://am.net/ | http://www.aolserver.com/ | -------------------------------------------------------- -=- Visit Me on the Web: http://alienbob.com/ -=- ========================================================================= Date: Tue, 26 May 1998 12:46:28 -0400 Reply-To: Ivan Auger Sender: Web Development with AOLserver From: Ivan Auger Subject: virtual hosting - "short names ?" MIME-Version: 1.0 Content-Type: TEXT/plain; charset=us-ascii Hello, I have just upgraded to v2.3 and started to use the new virtual hosting module. It works great as long as I use a FQDN. Is it possible to setup both a "shortname" and a "FQDN" ? For example http://xenopus.wadsworth.org and htpp://xenopus should return the same web page (the former returns the right info, where as the latter returns the info on the "master" host). Thanks in advance... Ivan E. Auger ivan.auger@wadsworth.org Director, Computational Molecular Biology & Statistics Core Consultant, Computer Systems Wadsworth Center - New York State Health Dept. ========================================================================= Date: Tue, 19 May 1998 20:26:20 -0400 Reply-To: Web Development with AOLserver Sender: Web Development with AOLserver From: John Baldwin Subject: Re: Generating hits for a site Comments: cc: kerry Barlow Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Kerry, Your next to last paragraph was your own answer. Is the problem a lack of hits, or a lack of profit? It sounds like you have a business problem, more than a traffic problem. Put together a business plan. Some good folks who can help are your local score chapter. As a side note, to help generate traffic, we donate free site design and hosting to a few organizations, our local SCORE chapter being one: http://w-w-w.com/score - From there you can get info on a chapter in your area. Having lots of technical knowledge is a start, but you have to have a great product, and good business sense to make a go of it. Good luck, John Baldwin Eastview Media Group Westchester's Web Weavers 350 Main Street Suite 202 White Plains, NY 10601-3607 USA Phone 1-914-684-2468 Fax 1-914-684-2469 http://w-w-w.com PS. the Greenspun book is well worth it. A great read and great advice on making your product somthing that people really want. At 10:22 AM 5/19/98 -0400, you wrote: >Hello Everyone: I sincerely apologize for this being off topic. Before I >give up I thought I would ask here. I have been using AOlserver for 2 years >now for my company. I am at my wits end now, because after 2 years I >generate a pathetic amount of hits/people coming to my site.I am at a loss >as to how to generate traffic/business for my site and am about ready to >call it quits entirely. I have been operating at a loss all this time. I >have posted my site manually to the major search engines. I bought an >automated search engine program,and used that (useless I swear). I added >meta tags, I have numerous differant free programs for people (the free >pages DO generate hits) however people only go to the free pages and not any >further. I put adds for my main business page on the free pages as well. I >also tried link exchange,I swear all that did is help other companies,not my >own. I change my main page about every 2 months to make it fresh looking. I >simply cannot afford to pay for advertising on search engines or in >magazines at this time,the price is way beyond my budget. Every ad I seem to >find is in the thousands of dollars range. > I search the internet for business info and all the help pages tell me to >do what I already have done (search engines,meta tags,free stuff etc) > I realize I am asking help from many of you who are doing the same >thing,and you may not want to help a so-called competitor I presume you >all can tell I have no business knowledge whatever. > If anyone has any helpful ideas before I throw in the towel I would be >greatly indebted to them. >Thankyou > >Sincerely >Kerry >Admin@MntnWeb.Com >WWW server hosting >Http://mntnweb.com >Binghamton online Http://MntnWeb.Com/bing.htm >CHRISTMAS Web Page Http://mntnweb.com/xmas.htm > ========================================================================= Date: Wed, 20 May 1998 13:44:00 -0400 Reply-To: Web Development with AOLserver Sender: Web Development with AOLserver From: Stanislav Krasilovskiy Subject: Re: AOLSERVER Digest - 15 May 1998 to 19 May 1998 In-Reply-To: <199805200403.AAA13798@services.web.aol.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Dear Jim, --------------------------------------- > Date: Fri, 15 May 1998 13:40:54 -0400 > From: Jim Wilcoxson > Subject: Re: Server Error Handling > > To intercept errors in your TCL source, copy nsadmin/modules/tcl/file.tcl > to your virtual server's tcl directory, then modify it to put a catch > around the "source" statement. Here's ours: > > proc ns_sourceproc {conn ignored} { > global errorInfo > set errorInfo "" > set script [ns_url2file [ns_conn url $conn]] > if ![file exists $script] { > ### ns_returnnotfound $conn > rlerror "" $conn "" "$script: Not found" > } else { > if [catch { > source $script > }] { > rlerror "" $conn "" "$script: from ns_sourceproc" > } > } > } -------------------------------------- The above code actually does work, but only for Tcl scripts that have the URL of the form "..../scriptname.tcl" as the server invokes ns_sourceproc when it encounters a file with extension .tcl. What if I have script procedures registered through ns_register_proc and I want to do the same type of error intercept? ======================================= Stanislav "The Progressor" Krasilovskiy -= prgrssor@bu.edu =- ======================================= Web Master/Web Programmer/DB Programmer Boston University Department of Engineering ======================================= ========================================================================= Date: Wed, 20 May 1998 01:03:08 -0400 Reply-To: philg@mit.edu Sender: Web Development with AOLserver From: Philip Greenspun Subject: losing money on every hit but making it up on the volume... Comments: cc: jeff@alienbob.com In-Reply-To: <199805200404.AAA13892@services.web.aol.com> (message from Automatic digest processor on Wed, 20 May 1998 00:03:26 -0400) Date: Tue, 19 May 1998 11:19:47 -0700 From: Jeff Huber Subject: Re: Generating hits for a site Kerry, Read Philp Greenspun's book at http://photo.net/wtr/dead-trees/. kerry Barlow wrote ... *** that he was losing money as a Web publisher *** Oh no! Jeff hasn't read Chapter 2 of http://photo.net/wtr/thebook/ (the draft revision of the above). In it I reveal that my personal site, if accounted for properly, loses about $1 million/year :-( I think the Internet falsely lured a lot of folks into thinking "here is the ultimate environment for undercapitalized companies" (since you don't have to pay rent on a physical space to be in business on the Web). The truth seems to be that some porn guys made money without much capital, the amazon guys continue to lose money despite having access to huge amounts of capital, some big companies with lots of existing nerd customers are managing to cut support costs a bit. Philip p.s. For anyone who wants to lose some money with e-commerce, we're (http://arsdigita.com) developing an AOLserver Tcl interface to the Cybercash credit card system. We'll be sticking a .tar file on our site soon but if you want an early version, holler. Cybercash support doesn't answer questions very fast and that the whole system is expensive and complex. Still, it seems to be the only viable option right now for most people. ========================================================================= Date: Tue, 26 May 1998 09:54:41 -0700 Reply-To: Web Development with AOLserver Sender: Web Development with AOLserver From: Jim Wilcoxson Subject: Exiting nested TCL procedures Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Does anybody know if there is a way to exit nested TCL procedures? "exit" doesn't work, since it causes a server restart. We thought about using "return" with extended codes, but I think that will be problematic if there are catches active. Any suggestions? Thanks, Jim ========================================================================= Date: Thu, 28 May 1998 12:39:16 -0400 Reply-To: Web Development with AOLserver Sender: Web Development with AOLserver From: "Kriston J. Rehberg" Subject: Re: Exiting nested TCL procedures In-Reply-To: <199805261654.JAA11376@mail.netwiz.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Jim Wilcoxson writes: >Does anybody know if there is a way to exit nested TCL procedures? "exit" >doesn't work, since it causes a server restart. We thought about using >"return" with extended codes, but I think that will be problematic if there >are catches active. I typically use "return" or "error" and keep myself aware of any catches that may be around me. Kris -- Kriston J. Rehberg Systems Development http://kriston.net/ America Online, Inc. Vienna, Virginia USA endeavor to persevere ========================================================================= Date: Wed, 27 May 1998 19:03:04 -0700 Reply-To: Web Development with AOLserver Sender: Web Development with AOLserver From: Jim Wilcoxson Subject: Re: Server Error Handling In-Reply-To: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Hmmm... You could try redefining the TCL "source" function, but I doubt if that would work. When we code our TCL stuff, we know what may fail and put catches around that and invoke rlerror if the catch returns true. The catch in ns_sourcefile is really just a backup in case an unexpected Bad Thing happens. You could register a wrapper, like: ns_register_proc GET /blah/blah {if [catch {source "realproc.tcl"} err] rlerror ...} Jim At 01:44 PM 5/20/98 -0400, you wrote: >Dear Jim, > >The above code actually does work, but only for Tcl scripts that have the >URL of the form "..../scriptname.tcl" as the server invokes ns_sourceproc >when it encounters a file with extension .tcl. What if I have script >procedures registered through ns_register_proc and I want to do the same >type of error intercept? > > >======================================= >Stanislav "The Progressor" Krasilovskiy > -= prgrssor@bu.edu =- >======================================= >Web Master/Web Programmer/DB Programmer > Boston University > Department of Engineering >======================================= > ========================================================================= Date: Thu, 28 May 1998 15:55:07 -0400 Reply-To: Web Development with AOLserver Sender: Web Development with AOLserver From: Doug McKee Subject: Re: Server Error Handling Comments: cc: feedback@aolserver.com, jgdavidson@aol.com MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit We are actually planning to add this functionality in an incremental post-2.3 release of AOLserver. What platform do you run on; we may be able to get a version before we post it to the web site. doug >Hi, > >We are currently in the debugging/testing phase of our site, and I was >wondering if there was a way to intercept server errors so that every time >a server error occurs the server would e-mail me with the cause of the >error (the Tcl error info). > >Can this be done? > >Thanks. > >======================================= >Stanislav "The Progressor" Krasilovskiy > -= prgrssor@bu.edu =- >======================================= >Web Master/Web Programmer/DB Programmer > Boston University > Department of Engineering >======================================= > ========================================================================= Date: Thu, 28 May 1998 16:54:36 -0700 Reply-To: Web Development with AOLserver Sender: Web Development with AOLserver From: Jim Wilcoxson Subject: TCL extensions in C Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Hi all - has anyone written TCL extensions in C for AOL Server? We wrote one, and it works, but now want to write another. We want to load both into the same .so but got multiple defines for NS_ModuleInit and NS_ModuleVersion. Anybody been down this road? Thanks, Jim