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
Steps to install Apache on Ubuntu 13.10:
sudo apt-get install apache2
sudo service apache2 start
Steps to test Apache on Ubuntu 13.10:
Steps to use CGI programs under Apache on Ubuntu 13.10:
Steps to test CGI programs under Apache on Ubuntu 13.10:
/usr/lib/cgi-bin/
(e.g. /usr/lib/cgi-bin/test
)sudo chmod +x /usr/lib/cgi-bin/test
Note: "your-host-here.com" might well be "localhost", but SO won't let me use that in a URL :-/