Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

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

by msk_0984 (Friar)
on Jul 06, 2006 at 12:17 UTC ( #559550=note: print w/replies, xml ) Need Help??


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.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (3)
As of 2022-09-27 00:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I prefer my indexes to start at:




    Results (118 votes). Check out past polls.

    Notices?