http://qs321.pair.com?node_id=559550


in reply to Re: Why is the Browser Not printing CGI -Output
in thread Why is the Browser Not printing CGI -Output

Actually when i am commenting all the lines which belong to the module i get the output that is jus the wite screen with Heading The

List of Installed modules

And coming to the server which actually iam the root user and i have changed the user and run the program i get the output in Terminal but not in Browser.

  • Comment on Re^2: Why is the Browser Not printing CGI -Output

Replies are listed 'Best First'.
Re^3: Why is the Browser Not printing CGI -Output
by Gilimanjaro (Hermit) on Jul 06, 2006 at 12:29 UTC

    In that case, you'll want to make sure that the account that is used by the webserver to run the script has the proper permissions. To have your script tell you what account that is, insert into your script:

    printf "user/group:%s/%s</br>\n",scalar getpwuid( $< ), scalar getgrgi +d( $( );

    This user needs to have access to the directories your system uses to store it's perl-modules.