Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: Issues with DBD::Oracle and an apache environment

by JediWizard (Deacon)
on Jun 17, 2005 at 15:55 UTC ( [id://467782]=note: print w/replies, xml ) Need Help??


in reply to Issues with DBD::Oracle and an apache environment

JupiterCrash makes a point (++). However I feel the need to explain why this may be an issue:

What sort of web server are you using?

Assuming you use Apache, the environment varialbes available to your script are limitted for security reasons. This would explain why a script runs from the shell, but fails as a CGI. Again, assuming you use apache, look at the "SetEnv" and "PassEnv" config parameters. If this is the problem, a simple modification of your httpd.conf file, and a bounce of apache will solve all your wows.

If you are not using apache, investigate the configuration of your webserver.

Update Apparently your problem is solved by a previous response, but it is still good to understand the difference between the ENV varialbe avaiable from the shell, versus those passed to a CGI from your web server.


They say that time changes things, but you actually have to change them yourself.

—Andy Warhol

Replies are listed 'Best First'.
Re^2: Issues with DBD::Oracle and an apache environment
by gsiems (Deacon) on Dec 08, 2006 at 21:27 UTC

    Thank you. ++

    Super search plus your post was just what I needed to get DBD::Oracle/Apache working.

    me go back to work now...

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://467782]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others cooling their heels in the Monastery: (None)
    As of 2024-04-25 01:55 GMT
    Sections?
    Information?
    Find Nodes?
    Leftovers?
      Voting Booth?

      No recent polls found