[AOLSERVER] URL redirection (or is it aliasing)

2002-02-05 Thread Grant McKenzie

Hi,

I am installing an application that is bundled with aol server.
This application expects to be accessed as;

http://server_name/*

But for reasons out of my control we have to access it as;

http://server_name/some_token/*

Is there any straightforward way to map/alias/redirect requests in aol
server? I have found information on how to redirect on a particular HTP
response, virtual hosting to other domains and the c example for mapping
URLs to files but they all seem more complicated than I am trying to
achieve.

- Grant.



[AOLSERVER] ns_rand hangs server (again)

2002-02-05 Thread atf

Hello,

I seem to have run into a probelm previously reported back in August
2000.  Namely, the server hangs when ns_rand is used (the offending
function seems to be Ns_DRand in random.c).

Rob Mayoff had posted a patch that applied to version 3.0.  Would
anybody happen to know if this bug is still in the codebase?  The
function has changed since the first time this bug was posted, although
the behaviour appears to have remained.

thanks,
thomas park


__
Do You Yahoo!?
Send FREE Valentine eCards with Yahoo! Greetings!
http://greetings.yahoo.com



Re: [AOLSERVER] ns_rand hangs server (again)

2002-02-05 Thread Rob Mayoff

+-- On Feb 5, atf said:
> I seem to have run into a probelm previously reported back in August
> 2000.  Namely, the server hangs when ns_rand is used (the offending
> function seems to be Ns_DRand in random.c).
>
> Rob Mayoff had posted a patch that applied to version 3.0.  Would
> anybody happen to know if this bug is still in the codebase?  The
> function has changed since the first time this bug was posted, although
> the behaviour appears to have remained.

Jim Davidson checked in a similar, but slightly different, fix for this
on 2000/8/25, according to CVS:


revision 1.5
date: 2000/08/25 13:47:50;  author: jgdavidson;  state: Exp;  lines: +46 -56


Fixed deadlock between Ns_DRand/Ns_GenSeeds.


What version of AOLserver are you using?



Re: [AOLSERVER] ns_rand hangs server (again)

2002-02-05 Thread atf

--- Rob Mayoff <[EMAIL PROTECTED]> wrote:
> +-- On Feb 5, atf said:
> > I seem to have run into a probelm previously reported back in
> August
> > 2000.  Namely, the server hangs when ns_rand is used (the offending
> > function seems to be Ns_DRand in random.c).
> >
...
>
> Jim Davidson checked in a similar, but slightly different, fix for
> this
> on 2000/8/25, according to CVS:
>
> 
> revision 1.5
> date: 2000/08/25 13:47:50;  author: jgdavidson;  state: Exp;  lines:
> +46 -56
>
>
> Fixed deadlock between Ns_DRand/Ns_GenSeeds.
> 
>
> What version of AOLserver are you using?


It's AOLServer 3.4.2.  I'm tracing the binary to pinpoint the deadlock.

thomas



__
Do You Yahoo!?
Send FREE Valentine eCards with Yahoo! Greetings!
http://greetings.yahoo.com



Re: [AOLSERVER] ns_rand hangs server (again)

2002-02-05 Thread atf

--- Rob Mayoff <[EMAIL PROTECTED]> wrote:
>
> Jim Davidson checked in a similar, but slightly different, fix for
> this
> on 2000/8/25, according to CVS:
>
...
>
> What version of AOLserver are you using?


I revise my earlier statement.  Tracing the binary seems to point to a
compiler or library error rather than ns_rand.  I'm getting all sorts
of random segfaults in places where I really shouldn't.

I will check the tools on this machine (new sysadmin set it up) and
post again if the indications lead back to AOLServer.

thanks,
thomas


__
Do You Yahoo!?
Send FREE Valentine eCards with Yahoo! Greetings!
http://greetings.yahoo.com



[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] "quickpath" - lets you run ADP's without the .adp extension (or any extension)

2002-02-05 Thread Brady Wetherington

I don't remember who I mentioned it to in the AOLServer chat
(I'm 'StealthBrady'), but I have just modified my 'quickpath' module to
allow users to run ADP without using any extension such as '.adp'.

If you try to configure AOLServer to do this without my module, you may
break 'fastpath' - which caches static files and HTML. Furthermore, you may
lose the ability to perform 'directory listings' - making the
URL "http://www.abcd.com/foo/bar"; map to the file 'foo/bar/index', for
example. My module, very simply, handles all of that.

I could have just made a patch for AOLServer instead, I suppose, but I
figure a module is less intrusive. Anyways, I thought some of you folks
might be able to use this in projects you might be doing. E-Mail me and
I'll send you the tarball. I'd love to hand the thing off to someone else
to maintain (and host the file), if anyone's interested.