in reply to CGI Script connection to SQL Server.

If it's running switch off SELinux and test again from the browser.

  • Comment on Re: CGI Script connection to SQL Server.

Replies are listed 'Best First'.
Re^2: CGI Script connection to SQL Server.
by solegaonkar (Beadle) on Jun 05, 2015 at 06:26 UTC
    Finally found the solution to this. Not sure why, but it works. I had set all the environment variables at the begining of the cgi script. Moved it to apache conf file and it worked all well!
Re^2: CGI Script connection to SQL Server.
by solegaonkar (Beadle) on May 27, 2015 at 09:54 UTC
    No, it is not running SELinux.. % ps -eaf | grep -i SELinux octane 7341 6664 0 05:52 pts/0 00:00:00 grep -i selinux