Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

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

by msk_0984 (Friar)
on Jul 06, 2006 at 12:17 UTC ( [id://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.

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?Last hourOther CB clients
Other Users?
Others rifling through the Monastery: (9)
As of 2024-03-28 18:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found