If you look in the global-web-application.xml, you will see that there is a
cgi servlet. If you want to use your own php engine, you will need to do
something like this:


 <servlet>
         <servlet-name>php</servlet-name>
        <servlet-class>com.evermind.server.http.CGIServlet</servlet-class>
         <init-param>
                     <param-name>interpreter</param-name>
                     <param-value>/usr/local/bin/php</param-value>
         </init-param>
    </servlet>



There are some issues, though, on how you would compile the php engine. Here
is something that is proported to work:


./configure --with-mysql=/usr --disable-force-cgi-redirect
--enable-force-cgi-redirect=/etc/openldap --without-gd --enable-calendar --e
nable-discard-path --enable-trans-sid --with-openssl
--with-imap --enable-inline-optimization

This is from Andraas Mag.

Regards,

the elephantwalker
www.elephantwalker.com


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of orionDummy
Sent: Monday, January 28, 2002 7:36 PM
To: Orion-Interest
Subject: cgi question [EXPIRED TRIAL LICENCE]


Does anyone know if orion can server cgi and what needs to be done if so.

Thanks


Reply via email to