Re: [AOLSERVER] authuser

2008-03-05 Thread Michael Roberts
Oh, that's an attractive notion.  Very.  I wish I'd thought of it years 
ago, would have simplified a lot of my logging.  Actually it still would.


Jeff Rogers wrote:
The authUser field of a conn is logged by nslog and can be read with 
ns_conn authuser but is only set in the driver from basic 
authentication.  Does anyone (other than me) think there would be 
value in allowing the conn username to be updated, i.e., by a new 
'ns_conn setauthuser' subommand?  The primary benefit would be to let 
you log usernames with requests in your access log when your 
authentication method is something other than http basic.  A possible 
secondary benefit would be to standardize how different parts of an 
application (esp. a pluggable authentication system) could pass around 
the logged-in username.


I have a simple patch to add this to stock 4.5; a better overall 
approach would be to adopt naviserver's more flexible auth handling.


-J


--
AOLserver - http://www.aolserver.com/

To Remove yourself from this list, simply send an email to 
[EMAIL PROTECTED] with the
body of SIGNOFF AOLSERVER in the email message. You can leave the 
Subject: field of your email blank.





--
AOLserver - http://www.aolserver.com/

To Remove yourself from this list, simply send an email to [EMAIL PROTECTED] 
with the
body of SIGNOFF AOLSERVER in the email message. You can leave the Subject: 
field of your email blank.


Re: [AOLSERVER] Problem starting aolserver

2007-02-12 Thread Michael Roberts

Thorpe Mayes wrote:

When trying to start a newly installed version of aolserver, I get this error:

Error: nssock: failed to listen on 64.58.34.71:80: Permission denied


What folder/file does not have the correct permissions?
  
To listen on ports below 255, Unix requires you to start the process as 
root.  If you *are* starting as root (I see you've got a -u flag on the 
command line) then it could be that something else is already bound to 
that port.  But I'll bet you're not starting as root.  God knows I've 
done that often enough.


Michael


--
AOLserver - http://www.aolserver.com/

To Remove yourself from this list, simply send an email to [EMAIL PROTECTED] 
with the
body of SIGNOFF AOLSERVER in the email message. You can leave the Subject: 
field of your email blank.


[AOLSERVER] Difficulties compiling AOLserver 4.5.0

2007-02-11 Thread Michael Roberts
Hi, all!  It's been years since I tried a new install, and here I have a 
new box, new AOLserver version, new everything.


The box is running Fedora Core 6 (2.6.19-1.2895.fc6), gcc is version 
4.1.1, Tcl is 8.4.14, and AOLserver is 4.5.0.  Tcl was compiled with 
thread support.  (Or so I intended.)


The configure step doesn't pick up my TCLSH on its own, so I had to add 
TCLSH=/usr/local/bin/tclsh8.4 to ns.mak.in.  Then the build process worked.


The big problem, though, is when Tcl_GetMemoryInfo is referenced.  I get:

nsthreadtest.o: In function `DumperThread':
nsthreadtest.c:(.text+0x1f1): undefined reference to `Tcl_GetMemoryInfo'

I see that Tcl_GetMemoryInfo is something of a bone of contention, so I 
tacked an  0 onto that #ifdef, only to run into the same problem later 
on in nsd -- so what am I missing?


Michael


--
AOLserver - http://www.aolserver.com/

To Remove yourself from this list, simply send an email to [EMAIL PROTECTED] 
with the
body of SIGNOFF AOLSERVER in the email message. You can leave the Subject: 
field of your email blank.


[AOLSERVER] Dumb SSL question

2003-03-14 Thread Michael Roberts
It's been a while since I bestirred myself to change anything in my SSL
configuration (yes, I'm *still* running AOLserver 2.1 on one server...)
but I've got reason to consider SSL on one of my newer servers and I
don't want to pay Verisign more than I have to (and it's a different
domain name). So what are the options in this brave new century for SSL
certificates that won't make typical browsers choke?
Michael



I. To remove yourself from this list:

Send a message to [EMAIL PROTECTED]  with the following text in
the BODY of your message:
signoff aolserver

II. For a complete list of listserv options please visit:

http://listserv.aol.com/

III. For more AOLserver information please visit:

http://www.aolserver.com/


Re: [AOLSERVER] nsmysql-0.5 and initial build problem

2002-04-09 Thread Michael Roberts

For what it's worth, I've compiled nsmysql-0.5 on Solaris 8 against
AOLserver 3.2 with no problems.  (With GNU make.)

Michael

Dossy wrote:

On 2002.04.09, Kevin Lawver [EMAIL PROTECTED] wrote:

Hi all,
   I'm trying to build the MySQL driver for AOLserver and am running into
a problem I can't quite get around.  We're using Solaris 8, and 3.2 (I know,
I know) and using the AOLserver binary's included include directory.
Whenever we try to make the module we get something like, reader Error:
unexpected line ending in Makefile.global at line 64.  Line 64 is smack-dab
in the middle of the platform section.  So, we removed all the platform
sections except Solaris 8, and tried again and got basically the same error.
Has anyone encountered this?  If so, how did you get around it?


Are you using GNU make?

-- Dossy

--
Dossy Shiobara   mail: [EMAIL PROTECTED]
Panoptic Computer Network web: http://www.panoptic.com/
  He realized the fastest way to change is to laugh at your own
folly -- then you can let go and quickly move on. (p. 70)




[AOLSERVER] PHP?

2002-04-02 Thread Michael Roberts

Has anyone used PHP under AOLserver?  I'm not expecting anything like a
tight integration, just have some code written for PHP that I'd like to
expose on a site already running AOLserver.  Any comments or try
starting here would be welcome.

Michael



Re: [AOLSERVER] PHP?

2002-04-02 Thread Michael Roberts

I've built it before (a while back) so that part doesn't scare me.  But
somehow I'd forgotten that it is a scripting language, not a webserver,
and so I was pleasantly surprised to realize today that I can keep my
AOLserver platform and still use this code.

The conf info was *exactly* what I was looking for; thanks!

Michael

Simon Gibson wrote:

I have it running - It was pretty easy. Just follow the instructions in
the PHP install doc.




Re: [AOLSERVER] Solaris 2.5.1 -- My God.

2002-03-20 Thread Michael Roberts

Jeff Hobbs wrote:
[stuff]

Kriston Rehberg wrote:

[stuff]

I might add that you will have a hard time getting a compiler and/or
support for 2.5.1 from Sun nowadays.  They want this to disappear, and
all I can say is that they have good reason.  People should be on the
2.6+ for better stability, improved performance, ...

Yes, yes, thank you all, but in the past two months I have indeed moved
to another server entirely.  Which (in fact) I mentioned in passing last
month.

But I'm gonna miss that ol' Sparc.  It was a handy workhorse for a long
time.  I'm thinking it might be happy as a home file server.  (After
moving most of its functionality to a dual-Pentium Dell I have no desire
to use the Sparc as a server any more.)



[AOLSERVER] Dossy rocks!

2002-02-26 Thread Michael Roberts

I just wanted to note that http://www.techspex.com has been running
handily using Dossy's nsmysql for about a month now.  The upgrade from
AOL2.1 (yeah) to AOL3.x was far less painful than I had any right to
expect, I might also add.

Thanks, Dossy!
Michael



[AOLSERVER] Solaris 2.5.1

2002-02-05 Thread Michael Roberts

I've compiled AS3.4.2 on Solaris 2.5.1 successfully, but upon attempting
to start it, I'm getting a relocation error:

Warning: modload: failed to load '/usr/local/aolserver/bin/nssock.so': 'ld.so.1: 
bin/nsd76: fatal: relocation error: symbol not found: Ns_RegisterDriver: referenced in 
/usr/local/aolserver/bin/nssock.so'

(Not just nsd76, either -- I figured it couldn't hurt to try both.)

What gives?  What could I possibly be doing wrong?

Michael



Re: [AOLSERVER] Solaris 2.5.1 -- My God.

2002-02-05 Thread Michael Roberts

Well, I figured this one out, actually -- after roughly eight hours of
reading the entire Internet, I discovered that -Wl,-E is required as a
ld flag in order to export all the symbols in the main program so that
nssock.so can use them.  ... Is this obsolete 2.5.1 behavior that
Solaris 2.6 has dropped?

BUT now that nssock and everybody loads fine, the server gets as far as
the first idle, upon which it dies ignominiously, which event my good
friend truss thoughtfully records:
24485:  Incurred fault #6, FLTBOUNDS  %pc = 0x00AA18A8
24485:siginfo: SIGSEGV SEGV_MAPERR addr=0x00AA18A8
24485:  Received signal #11, SIGSEGV [caught]
24485:siginfo: SIGSEGV SEGV_MAPERR addr=0x00AA18A8
24485:  sigprocmask(SIG_SETMASK, 0xEF6C36E4, 0x) = 0
24485:  sigaction(SIGSEGV, 0xE140, 0x)  = 0
24485:  setcontext(0xE280)
24485:  Incurred fault #6, FLTBOUNDS  %pc = 0x00AA18A8
24485:siginfo: SIGSEGV SEGV_MAPERR addr=0x00AA18A8
24485:  Received signal #11, SIGSEGV [default]
24485:siginfo: SIGSEGV SEGV_MAPERR addr=0x00AA18A8

Now -- what I can't figure out -- according to the project home, the AOL
team uses Solaris 2.6 as a test environment.  The burning question
uppermost in my mind (save one) is HOW DIFFERENT COULD IT BE?!?!?!?
 (The burning question *truly* uppermost in my mind is of course how
can I extract myself from this situation and I would greatly appreciate
any help at all.)

Michael

Michael Roberts wrote:

 I've compiled AS3.4.2 on Solaris 2.5.1 successfully, but upon attempting
 to start it, I'm getting a relocation error:

 Warning: modload: failed to load '/usr/local/aolserver/bin/nssock.so':
 'ld.so.1: bin/nsd76: fatal: relocation error: symbol not found:
 Ns_RegisterDriver: referenced in /usr/local/aolserver/bin/nssock.so'



[AOLSERVER] OS recommendation

2001-11-03 Thread Michael Roberts

So I have a Dell Intel machine, dual processor, with ... some RAM and some
hard drive (I don't know the specs yet, I don't actually have the machine
yet.)  I want to run AOLserver on it to back this poor ol' Sparc up and
maybe, just maybe, I'll upgrade past AOLserver 2.1 for this (yeah, well,
if it ain't broke, don't fix it)  (I'm actually still running Illustra,
even.)

So my question is: what OS should I put on it?  It's dual-processor, so I
seem to recall that there were some issues with Linux?  Should I spring
for Solaris Intel?  Go BSD?  What?

Michael



Re: [AOLSERVER] URGENT AOLSERVER + ACS + SOLARIS

2001-10-30 Thread Michael Roberts

I have *always* had a problem with scheduled procs, to the point where I now
simply use a cron job and curl to tell AOLserver to do something

Michael

Allan Regenbaum DP wrote:

 We are running a production AOLServer 3.3.1 + ad13 on solaris
 We have 2 machines, duplicates of each other.

 Machine A suddenly, without error messages stops running scheduled procs !!
 Machine B continues to perform flawlessly
 The machine is running acs classic 4.2 tcl, 90% webmail which has been
 running perfectly well under stress and load for months...

 Urgent help/suggestions are appreciated ..

 Allan Regenbaum
 Digital People



Re: [AOLSERVER] nsmysql-0.6pre

2001-10-19 Thread Michael Roberts

Dossy wrote:

 I've checked in nsmysql-0.6pre into SourceForge CVS.  I've also
 put up a source tarball at:

   ftp://ftp.panoptic.com/nsmysql/nsmysql-0.6pre.tar.gz


I had better luck with
  ftp://ftp.panoptic.com/pub/nsmysql/nsmysql-0.6pre.tar.gz

Michael



Re: [AOLSERVER] nsmysql-0.6pre

2001-10-19 Thread Michael Roberts

I meant that you had a typo in your URL, actually.

Dossy wrote:

 On 2001.10.19, Michael Roberts [EMAIL PROTECTED] wrote:
  I had better luck with
ftp://ftp.panoptic.com/pub/nsmysql/nsmysql-0.6pre.tar.gz

 Here's how to grab it out of SourceForge CVS:

 $ cvs -d :pserver:[EMAIL PROTECTED]:/cvsroot/aolserver \
 co -r nsmysql_0_6_pre nsmysql

 -- Dossy

 --
 Dossy Shiobara   mail: [EMAIL PROTECTED]
 Panoptic Computer Network web: http://www.panoptic.com/
   He realized the fastest way to change is to laugh at your own
 folly -- then you can let go and quickly move on. (p. 70)



Re: [AOLSERVER] AOLserver Chat recommen

2001-09-05 Thread Michael Roberts

Of course, an IRC server is simple enough to set up on any machine -- I can
gladly host it on my box.  It's not like IRC is a high-bandwidth service...

My two bits.
Michael

Kriston Rehberg wrote:

 Unfortunately, most of these IRC servers immediately reject people coming in
 from .aol.com domains.  The openprojects.net server seems to do this as
 well.  I guess IRC is not an option, then, since many of our developers are
 in .aol.com.

 Kris

 --
 Kriston Rehberg
 mailto:[EMAIL PROTECTED]
 AOL Technology Development



[AOLSERVER] Question about extending AOLserver in C

2001-08-29 Thread Michael Roberts

So I'm studying set.c and tclset.c, because the ns_set is probably the extension
I use the most and I figure it's Done Right -- but I can't for the life of me
see how the connection-local interpreter knows to call Ns_TclFreeSet.  Where is
the proper cleanup function assigned to the interpreter?  I'm so confused

Michael



Re: [AOLSERVER] 'moved pages' redirects?

2001-08-22 Thread Michael Roberts

That's the way I do it.

Michael

Jim Tittsler wrote:

 What is the correct way of sending a permanent redirect when
 visitors (or spiders) visit old URLs of pages that have moved
 to different spots in the tree?  Is registering a procedure for
 the old pages, and having it write out the redirect the best way?



Re: [AOLSERVER] AOLserver Chat recommendations

2001-08-17 Thread Michael Roberts

I'm for it.  I've never had any real luck with AIM.

Kriston Rehberg wrote:

 Hello,

 The AIM chat rooms are a fiasco.  We end up in different rooms all the
 time.  What do you think about using IRC instead?  We could register a
 permanent channel on something like irc.openprojects.net.

 Kris



Re: [AOLSERVER] .ida code red worm crashes AOLserver 2.1 on Win 2k

2001-07-20 Thread Michael Roberts

 ..and yes, i realize no one here runs as 2.1.

I do.  Unfortunately for you, I guess, only on Solaris.

However, I'd think you could capture such an HTTP request by putting up a
wrapper of some sort on a machine otherwise not running an HTTPD daemon.
Eventually the worm will hit it, or at least I suppose it will.  Then you can
see what it looks like.

To fix your situation, though, without switching off W2K, because I sure
understand wanting to go with advanced software technology like that (ow, I bit
my tongue, that's what I get for leaving it in my cheek), I think you'll have
to use some kind of proxying setup; this could presumably reside all on the
same machine and use something like winet.

Just a thought.  Hope it helps.

Michael



Re: [AOLSERVER] .ida code red worm crashes AOLserver 2.1 on Win2k

2001-07-20 Thread Michael Roberts

Mine (as2.1 on Solaris) also returned 404.

Barry Books wrote:

 502

 -Original Message-
 From: Michael E. Duffy [mailto:[EMAIL PROTECTED]]
 Sent: Friday, July 20, 2001 3:58 PM
 To: [EMAIL PROTECTED]
 Subject: Re: [AOLSERVER] .ida code red worm crashes AOLserver 2.1 on
 Win 2k

 More important, what response did AOLserver return for the request?  I show
 404 for AOLserver (2.3 and 3.2), and 400 for Apache.  I presume IIS
 returned a 200 or a 5xx - anyone know for sure?

 Mike
 http://www.mikeduffy.com



Re: [AOLSERVER] nsssl - openssl ?

2001-05-14 Thread Michael Roberts

Rob Mayoff wrote:

 I believe that if you use Apache/mod_ssl with an encrypted key, the
 server will pause at startup time and prompt you to enter the passphrase
 on the command line.

 The problems with this approach should be obvious...

Particularly when it's a remote server.  That command-line prompt on the
(nonexistent) console is not 100% useful.  I discovered this security
feature the hard way once.



Re: [AOLSERVER] TDS database driver for AOLserver

2001-05-13 Thread Michael Roberts

 Hopefully in a short amount of time the driver will be complete
 enough to release as a v0.1 release, and we can get some serious
 testing going on.

I need to see that code.  There's got to be some clue as to why it's not
connecting.

Michael



Re: [AOLSERVER] TDS database driver for AOLserver

2001-05-04 Thread Michael Roberts

But if you look at the FreeTDS site, their 4.2 version talks to SQL Server
7, and their 7.0 version talks to uppity SQL Server 7 and SQL Server 2000.

I've been working on this off and on all week.  I'll race ya.

Dossy wrote:

 On 2001.05.04, Ian Harding [EMAIL PROTECTED] wrote:
  There was talk of a nstdsdb module from [EMAIL PROTECTED]  Would
  this allow direct access to an MS SQL Server box from my NetBSD box?

 Upon closer inspection of the Sybase Open Client FAQ, it seems that
 SQL Server 7 and newer use a new client-server protocol and that TDS
 is now a legacy protocol:

   http://www.isug.com/Sybase_FAQ/ASE/section7.html#7.4

 However, it seems that it is still possible to connect to SQL Server 7
 using TDS if you apply Service Pack 2 of SQL Server 7, according to
 the FAQ.

 I'm grabbing a copy of FreeTDS this weekend and seeing if I can get
 at least a bare-bones driver working, perhaps shamelessly stealing
 from the nssybpd external DB driver.  Perhaps, I'll even be so lazy
 as to just try and get nssybpd working using FreeTDS instead of
 the Sybase Open Client libraries.

 Of course, as I've said before, I don't have a SQL Server set up
 here, but others have offered to volunteer theirs -- if they're
 accessible over the Internet (not firewalled, etc.) and an account
 can be set up, please email me.

 I'd like to test against a SQL Server 6, 7, and 2000 ... if
 possible.

 I'll be able to test against SQL Server 2000 and I believe SQL
 Server 7 at work next week, but I don't know if SQL Server 6 is
 installed anywhere any more.

 - Dossy

 --
 Dossy Shiobara   mail: [EMAIL PROTECTED]
 Panoptic Computer Network web: http://www.panoptic.com/



Re: [AOLSERVER] aolserver documentation

2001-04-30 Thread Michael Roberts

 I've had many people tell me, I believe you that
 aolserver is faster and more efficient than xxx
 webserver, but with php there is a vast repository of
 scripts and documents that allow me to not have to
 reinvent the wheel to do a simple thing.  Of course,
 the end result of that logic is a sucky site, but it
 is an example of most people I've gotten to start
 using aolserver who say the availability of technical
 documentation for aolserver is just not up to snuff in
 comparison to other weaker webservers, and that can
 have an effect on final decisions (unfortunately).

This is mildly off-topic, but sometimes my curmudgeonly nature gets the better of me.  
My wife worked for a while consulting
on mechanical engineering with GM.  General Motors, not genetically modified...  The 
car people.  For every model of car, GM
*does* reinvent the wheel.  And the headlight.  And the fender.  And everything else 
in the car.  The same general principles
apply to each design, but the design is always different.  That's why the car looks 
and functions as a coherent unit.  The
moral of the story is that wheels often need reinventing, even though you need some 
design guidelines from previous efforts.

This is what I tell people when they use the phrase reinventing the wheel.  And it's 
not even close to germane to the
current topic.  So carry on.

By the way, I agree.  The AOLserver documentation sucks.  That's because we're all 
geniuses who don't really need
documentation.  Periodically one or more of us gets a bee in a bonnet to redo or at 
least improve the documentation, and
eventually I'm sure something will come of it.

Michael



Re: [AOLSERVER] the sybase driver and sql server 7

2001-04-27 Thread Michael Roberts

All in all, it looks as though an nstdsdb module will be rather
straightforward.  Film at 11.

Jerry Asher wrote:

 *ponders*  I have Sybase 11.x installed here, but no SQL 7 or 2000
 box to test with.  Hmm.
 
 - Dossy

 I have SQL Server 7 here and I will be happy to give you access to it.

 Jerry
 =
 Jerry Asher   [EMAIL PROTECTED]
 1678 Shattuck Avenue Suite 161Tel: (510) 549-2980
 Berkeley, CA 94709Fax: (877) 311-8688