Re: Apache and owa

From: <mds2_at_my-dejanews.com>
Date: Mon, 02 Nov 1998 17:54:11 GMT
Message-ID: <71krk3$5l0$1_at_nnrp1.dejanews.com>


In article <6vffva$hu8$1_at_nnrp1.dejanews.com>,   daniel_varela_at_my-dejanews.com wrote:
> In article <36057C53.1E1C59DC_at_datafront.spamnothanks.be>,
> Rudi Demeulenaere <rdm_at_datafront.spamnothanks.be> wrote:
> > L.S.
> >
> > Does anyone have experience with running the Oracle Web Agent "owa"
> > binary (version 1) with the apache Web server and if so, how did you
> > manage ? I read here once it was manageable (wonder if it was v1).
> >
>
> Which version are you runnning? I think that Apache is only supported
> as a listener by versions 4.0 and (not sure about this) 3.0.
>

nope - this can be done with 2.1, maybe farther back, but i'm not sure.

> > I only got Apache to run owa returning "Request Failed", no matter how
> > hard I tried to match
> > ScriptAlias /listenername/ /$ORACLE_HOME/ows/bin/
> > I don't know what else should be there, obviously the Oracle Web
> > Listener does pass that extra something, one way or another, to owa that
> > Apache does not.
> >
>
> You are trying to run the cartridge executable as a CGI, but I'm sure that's
> not the way. There must be a module, that, compiled with Apache, redirects
> TRANSPARENTLY all the URLS containing some path to another place (I suppose
> that the WRB).
>
> If you keep the original listener installed, you can use the
> redirect module of Apache this way:
>
> Redirect /agentfoo/plsql http://rosalia.jarl.es:8080/agentfoo/plsql
>
> having Apache responding on, for example, port 8000
>

accessing owa as a cgi is the way to go, since owa maintains the server connection between requests. that way, you save the redirect time, and you keep all the processing "within" apache. the only thing you have to do to get this to work is add a config section in the owa.cfg file for the url being accessed. (like cgi_owa) so that when apache recieves

http://host/cgi_owa/owa/plsql.function

owa picks up the request and processes it.

--Matt Sherer

-----------== Posted via Deja News, The Discussion Network ==---------- http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own Received on Mon Nov 02 1998 - 18:54:11 CET

Original text of this message