- You may want to try not using a BEGIN block when specifying your PATH
variables.
- Better yet, you should set up your webserver to run as a specific user,
and give
that user the basic environment (including PATH variables) that you need.
It is
better to do this than to run the server as the default "nobody", for
both security
and better control.
Whoever got Netscape Enterprise webserver running for you can make these
modifications.
Hope this helps...
Laurie
Laurie Knox
AT&T
[EMAIL PROTECTED]
-----Original Message-----
From: Modi Ketan-G17361 [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, July 25, 2001 8:49 PM
To: '[EMAIL PROTECTED]'
Subject: Can't run Oracle from cgi script from Browser using DBI
Hi
This is the first time I am using the dbi users group.
Before reporting this problem I surf the web a lot and understand that so
many users has similar problems.
I tried to use the suggestions mentioned and still I am stuck.
My problem is I use BEGIN block in .cgi script to setup
ORACLE_HOME,LD_LIBRARY_PATH & PATH env. variables.
Now I am trying to use dbi module and it is not working from browser.
I also head .pl version of script which is working fine from Solaris 2.6
command prompt.
My web server is Netscape Enterprise.
I also learned about "nobody" webserver user when you start the webserver. I
also learnt that we can specify the LD_LIBRARY_PATH in the shell of
webserver. Frankly speaking I don't know how to do that and neither do I get
web expertise within my department.
I attached herewith the cgi script.
I appreciate your help.
Thanks
Ketan
<<hello_1.cgi>>