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

How to install CGI in ubuntu machine?

by Ankur_kuls (Sexton)
on Jun 18, 2014 at 08:08 UTC ( #1090270=perlquestion: print w/ replies, xml ) Need Help??
Ankur_kuls has asked for the wisdom of the Perl Monks concerning the following question:

Hi, I have just started learning CGI on my linux ubuntu machine. I googled many pages about installing apache2 and then CGI settings..but not able to execute any test script. Everytime it throws the error "Internal Server Error" without provide any specific details. Could you please help me on this or can provide some basic well explained tutorials who can guide me through this from the begining. Thanks

Comment on How to install CGI in ubuntu machine?
Re: How to install CGI in ubuntu machine?
by hippo (Curate) on Jun 18, 2014 at 08:13 UTC

    Look in the apache error log for the details. In ubuntu this is usually in /var/log/apache2/

      Hi, Thanks all for the help. test.sh is working now..problem was within my script. But now when I am trying to run a simple perl script (containg only html data) through my browser..Its downloading my .pl script instead of outputting the HTML data on the browser.

        The solution to this problem is detailed in the links I gave you here, and in the Apache documentation.

Re: How to install CGI in ubuntu machine?
by marto (Bishop) on Jun 18, 2014 at 08:13 UTC
Re: How to install CGI in ubuntu machine?
by Anonymous Monk on Jun 18, 2014 at 08:16 UTC

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://1090270]
Approved by marto
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (7)
As of 2014-12-21 15:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (106 votes), past polls