sidvanga has asked for the wisdom of the Perl Monks concerning the following question:
Hi I am Very New to Perl. Learning perl online from last 2 to 3 days.
My question is:
How to run perl script as CGI in Ubunut machines I have tried it but didn't got succeed . Please help me.
I have googled it but didn't find many supporting tutorials for it.
Gone through one of the tutorial i have done exactly the same, But didn't worked.
Thank you all for your reponsese.
Here I am going to update my question.
I have kept my file at /var/www/cgi-bin/ and i have made following changes in /etc/apache2/apche2.conf
I have restarted Apache. found following error on apache error logsAlias /cgi-bin /var/www/cgi-bin/ <Directory /var/www/cgi-bin> AllowOverride None AddHandler cgi-script pl cgi Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch Order allow,deny Allow from all </Directory>
###Start### #!/usr/bin/perl print "Hello world"; ###End###
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: To Run perl through CGI
by kcott (Archbishop) on Oct 29, 2015 at 06:50 UTC | |
|
Re: To Run perl through CGI
by AnomalousMonk (Archbishop) on Oct 29, 2015 at 10:32 UTC | |
|
Re: To Run perl through CGI
by Anonymous Monk on Oct 29, 2015 at 06:13 UTC | |
|
Re: To Run perl through CGI
by tonto (Friar) on Oct 29, 2015 at 19:34 UTC | |
by sidvanga (Initiate) on Nov 06, 2015 at 06:09 UTC | |
by davebaker (Pilgrim) on Nov 06, 2015 at 18:01 UTC | |
by tonto (Friar) on Nov 06, 2015 at 23:02 UTC | |
|
Re: To Run perl through CGI
by Anonymous Monk on Nov 06, 2015 at 07:12 UTC |