Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses

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

Replies are listed 'Best First'.
Re: How to install CGI in ubuntu machine?
by hippo (Abbot) 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. 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?

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://1090270]
Approved by marto
[LanX]: ha ... a cpan module in German =)
[LanX]: hmm strange, when doesn a module appear on CPAN but is excluded on MetaCPAN?

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (3)
As of 2018-03-21 21:42 GMT
Find Nodes?
    Voting Booth?
    When I think of a mole I think of:

    Results (270 votes). Check out past polls.