I just install Ubuntu 13.10 and I am trying to install Apache. But when I tried to run a perl file in cgi-bin, the browser showed only plain text.
My default.conf of Apa
I encountered this problem when trying to setup bugzilla in Ubuntu 14.04 @Andrew's answer was helful and so was @Kevin's links.. so other than enabling cgi, ensure that perl's module for apache2 is installed. You can do this by:
sudo apt-get install libapache2-mod-perl2
This will automatically enable the module as well as restart apache server. If not do that manually.
Don't have enough rep to upvote both of you, so thanks.