Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: Help required for CGI Script

by muba (Priest)
on Dec 27, 2012 at 09:38 UTC ( #1010475=note: print w/replies, xml ) Need Help??


in reply to Help required for CGI Script
in thread CGI Script Working fine from my command prompt but Shows Internal server error when called through browser

my $stat = `autostatus -J aa-test-bx-dly`;

Perhaps autostatus doesn't live in $PATH for whichever user the CGI process runs as.

Replies are listed 'Best First'.
Re^2: Help required for CGI Script
by Anonymous Monk on Dec 27, 2012 at 10:08 UTC
    So what should i do

      Specify the full path to the program. /usr/bin/autostatus or whichever.

        I have given the full path still doesnot work

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1010475]
help
Chatterbox?
[ambrus]: And if you need a syntax highlighter to color parenthesis green and numbers black and letters blue, then you're using the wrong font.
[ambrus]: I have to tolerate syntax highlighters when other people use them, but I don't use them myself. And sorry for the rant.
[GotToBTru]: I appreciate the ability to highlight matching brackets/ parentheses/ braces, both for my own code and the inconsistently indented code of others
[Corion]: I like editors that automatically highlight the matching parenthesis (like % in vi), but that's roughly the extent to which I like editor support ;)
[GotToBTru]: same here Corion.
[Corion]: I tried for a short time (well, 8 hours now) to get Perl::Tidy set up but then found that it doesn't support (new-style) signatures and then stopped again ;))

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (12)
As of 2017-02-27 12:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Before electricity was invented, what was the Electric Eel called?






    Results (385 votes). Check out past polls.