FastCGI with Oracle

"A. M. ArunKumar" <arun-66HqTtf422AmlAP/[email protected]>
Newsgroups gmane.comp.web.fastcgi.devel
Message-ID <[email protected]>
Hi,

 

I am new to this FastCGI.  I have an issue in connecting to Oracle database
through fast CGI using my C++ program.  I get the error as "Cannot Create
OCI Environment"  The same program works fine without fast CGI.  The issue
happens to be only in FastCGI.  

 

I defined the following SetEnvs to work in cgi-bin

 

<Location "/cgi-bin/">

  SetEnv ORACLE_BASE "/app/oracle"

  SetEnv ORACLE_HOME "/app/oracle/product/10.2.0/db_1"

  SetEnv ORACLE_SID "DEVPORC1"

  SetEnv OCILIB_INC "/usr/local/include"

  SetEnv OCILIB_LIB "/usr/local/lib"

  SetEnv LD_LIBRARY_PATH "/app/oracle/product/10.2.0/db_1"

</Location>

 

 

If I do the same thing for fcgi-bin its not working.

 

Thanks

Arun

_______________________________________________
FastCGI-developers mailing list
FastCGI-developers-xGejAJT2w6xVgU18Zptdi0EOCMrvLtNR@public.gmane.org
http://mailman.pins.net/mailman/listinfo.cgi/fastcgi-developers
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.