Xref: alice comp.databases.oracle.misc:40694 comp.databases.oracle.server:65225 comp.databases.oracle.tools:31676
Path: alice!news-feed.fnsi.net!news.idt.net!howland.erols.net!newsfeed.fast.net!nntp.abs.net!newshub2.home.com!news.home.com!news1.rdc1.on.wave.home.com.POSTED!not-for-mail
From: evetsyam@yahoo.com (Evets Yam)
Newsgroups: comp.database.oracle,comp.databases.oracle.misc,comp.databases.oracle.server,comp.databases.oracle.tools
Subject: Re: OWAS 3.0 and apache
Reply-To: evetsyam@yahoo.com
Message-ID: <37d868ec.2949455@news>
References: <7l7fn2$gni$1@naxos.belnet.be> <7l7msm$ej7$1@nnrp1.deja.com> <7l7pkf$707$1@naxos.belnet.be>
X-Newsreader: Forte Free Agent 1.11/32.235
Lines: 107
Date: Fri, 10 Sep 1999 02:12:58 GMT
X-Complaints-To: abuse@home.net
X-Trace: news1.rdc1.on.wave.home.com 936929578 24.112.37.51 (Thu, 09 Sep 1999 19:12:58 PDT)
NNTP-Posting-Date: Thu, 09 Sep 1999 19:12:58 PDT
Organization: @Home Network Canada

Only OAS 4.0 supports Apache as a listner. Specifically OAS 4.08
supports Apache 1.3.6
Cheers


On Mon, 28 Jun 1999 14:29:08 +0100, "Wim Jans" <jans_wim@hotmail.com>
wrote:

>Hello,
>
>I want to use Apache as the listener for the incoming requests. This means
>that I no longer need spyglass.
>My problem is that I don't know what to configure and how it should be done.
>
>Do I need to change the apache parameter files to tell it to use the Oracle
>cartridges as well,
>or - what seems to be more logical (or easier?) - do I need to tell Oracle
>WS that I now use the apache listener.
>
>There is an example in the Oracle helpfiles for configuring Oracle WS to use
>IIS2 and Netscape fasttrack as an external listener, but not for apache.
>
>Thanks
>
>Wim
>
>
><bonanos@yahoo.com> wrote in message news:7l7msm$ej7$1@nnrp1.deja.com...
>> In article <7l7fn2$gni$1@naxos.belnet.be>,
>>   "Wim Jans" <jans_wim@hotmail.com> wrote:
>> > Hello,
>>
>>
>> > Does anyone know how to incorporate apache webserver with Oracle Web
>> > Application server 3.0.
>> > If you have links to websites or documentation on this subject, I
>> would be
>> > most thankfull if you could drop me a note.
>>
>> Hi,
>>
>> From your post it is not clear what level of integration you would like
>> to achieve. But here are a few ideas:
>>
>> [A] Using the the Apche Web Server as a listener, this means (subject to
>> correction but pretty sure) you use the Apache web server to service
>> incoming requests but can still use all the Oracle specific services
>> (cartridges) eg the PL/SQL carteidge etc.
>>
>> [B]
>> The other scenario(I use the two in the following way) is to have both
>> web servers running, and for example in your html to link to an html
>> file or script from the other. So for example if you wrote a script
>> using apache/php3 you could use it in two ways from the Oracle web
>> server ie. provide a link in html generated from Oracle or, use Oracle's
>> built in procedure(function) for calling urls from within a program
>>
>> In my case I have a few Apache/php3 scripts that do some file work for
>> me
>>
>> in PL/SQL I use the following code to call an apache script that makes a
>> directory on the file system for me, something that is difficult from
>> pl/sql
>>
>> PROCEDURE HDI_HEADER_HTML_dir (ccat in varchar2,hid in varchar2)IS
>>
>> h_count number;
>> x varchar2(2000); -- string to hold the results of an html call
>> BEGIN
>>
>> -- does the directory exist?
>> select count(header_code) into h_count from hdi_header_html_ini where
>> header_code=hid;
>>
>> if h_count = '0' then --the directory doesn't exist
>>    insert into hdi_header_html_ini -- insert the directory number
>>    values(hid);
>>    commit;
>>
>>    --call the apache/php3 [make_dir.php3] script from within the pl/sql
>> program
>>    x :=
>> utl_http.request('http://www.my_host.co.za:85/make_dir.php3?destdir='||c
>> cat||'\'||hid);
>> end if;
>>
>> END;
>> --This is the Apache php3 script-----------------------------------
>>
>>
>> <?
>> $destdir = "E:\\hdi\domain_Dir\\".$destdir;
>> @exec("mkdir $destdir");
>> ?>
>>
>>
>>
>> If this doesn't answer your question shout
>>
>>
>>
>>
>> Sent via Deja.com http://www.deja.com/
>> Share what you know. Learn what you don't.
>
>

