Hi!
I'm trying to redirect from AOLServer to another web server (in this case is
IIS), both box are in the same network.

The nsvhr's documents only give two examples, it's really easy but not work
to me.
The examples are:

ns_param   "www.tcpsocket.com"    "http://127.0.0.0:2000"; ;# HTTP proxy
ns_param   "www.domainsocket.com" "unix://somehost"       ;# Domain socket

I understand that whether in the browser someone write www.tcpsocket.com
then the connection is redirect to http://127.0.0.0:2000
Now in my case I want to redirect either "luke:11000/yoda" to "http://yoda";
or "/yoda" (in the server luke) to http://yoda. Neither of that
configuration are working.
I'm using AOLserver/3.2+ad12.

In the log file I can see a line "GET /yoda HTTP/1.1" and the next line is
"GET /eurl HTTP/1.1" (eurl is "ns_param   errorurl" )

Thanks!

Ariel.








----- Original Message -----
From: "Dossy" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, January 04, 2002 6:01 PM
Subject: Re: [AOLSERVER] About of nsvhr....


> Describe what you're trying to accomplish, perhaps we can
> provide some suggestions.  It's not clear to me what you're
> trying to do based on your email.
>
> -- Dossy
>
>
> On 2002.01.04, Ariel E. Carn? <[EMAIL PROTECTED]> wrote:
> > Hi guys!
> > I'm trying to configure the nsvhr module to connect with other web
server
> > (on a Windows machine with IIS) and always I'm getting an error (I'm
don't
> > know what error!). In my log file I can see that my aolserver is
redirecting
> > a connection to "/eurl".
> > Here is my configuration parameters for nsvhr.
> > The machine where is running AOLServer is "luke" and the machine with
IIS is
> > "yoda"
> >
> > I add this line to probe but I get the same error.
> >
> > ns_param   "luke:11000/epes"    "http://luke";
> >
> > Somebody could help me?
> >
> > Thank you guys!
> >
> > Ariel.
> >
> > =============================================================
> > #
> > # Virtual Hosting redirector -- nsvhr
> > #
> > ns_section "ns/server/${servername}/module/nsvhr"
> > ns_param   busyurl         "burl"     ;# Redirect here if back-end times
out
> > ns_param   errorurl        "eurl"     ;# Redirect here on proxy errors
> > ns_param   method          "GET"     ;# Methods allowed to proxy
> > ns_param   method          "POST"    ;# Methods allowed to proxy (can
have
> > >1)
> > ns_param   timeout         30        ;# Timeout waiting for back-end
> >
> > # Register hosts to proxy
> > ns_section "ns/server/${servername}/module/nsvhr/maps"
> > ns_param   "luke:11000/epes"    "http://luke"; ;# HTTP proxy
> > ns_param   "luke:11000/yoda"    "http://yoda"; ;# HTTP proxy
> >
> > =============================================================
> >
> >
> > _______________________________
> > Ariel E. Carn?
> > Buenos Aires - ARGENTINA
> > e-mail: [EMAIL PROTECTED]
>
> --
> 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)
>

Reply via email to