Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New to the CF scene
    Join Date
    Jun 2017
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Unable to execute Perl cgi script in browser

    Hi All,

    I have a Perl script that connects to Oracle and displays contents of a table on the prompt. The same logic i tried implementing in a cgi script. It failed saying unable to load Oracle.so module. It is able to identify where the module is but says unable to load.

    Please could you give some pointer to identify the issue. Thank you in advance.

  2. #2
    New Coder
    Join Date
    May 2015
    Posts
    33
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Sounds like Apache is not configured to run *.cgi files:

    AddHandler cgi-script cgi pl
    <Directory /path/to/cgi/files>
    Options +ExecCGI
    </Directory>


 

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •