http://www.perlmonks.org?node_id=877346


in reply to Re^2: cgi script is not running from browser but runs from command line
in thread cgi script is not running from browser but runs from command line

Are you able to su to the user that actually runs the script? (Usually "nobody") If so. Try running the script as that user and see what errors you get. Doing this has always been helpful to me.
  • Comment on Re^3: cgi script is not running from browser but runs from command line

Replies are listed 'Best First'.
Re^4: cgi script is not running from browser but runs from command line
by supi (Initiate) on Dec 20, 2010 at 16:55 UTC
    I have changed user by making changes in httpd.config and run program from command line using the same user. But problem still continues. I make use of getstore procedure in LWP module. I think it is not getting executed when run from browser.
Re^4: cgi script is not running from browser but runs from command line
by supi (Initiate) on Dec 20, 2010 at 18:04 UTC
    I think that, problem is that - my arrays are not getting reinitialized when i run program from browser.