Configure Apache to serve PERL pages ( Ubuntu )
Written on May 30, 2008 – 5:59 pm | by Rene
I just reinstalled my ubuntu distribution, and have to configure apache to serve perl pages outside of the cgi-bin directory, after a little bit of googling i found the solution.
You have to edit the /etc/apache2/apache2.conf and add to it the following lines.
- AddHandler cgi-script .cgi .pl
- <Files ~ "\.pl$">
- Options +ExecCGI
- </Files>
- <Files ~ "\.cgi$">
- Options +ExecCGI
- </Files>
One Response to “Configure Apache to serve PERL pages ( Ubuntu )”
By James Craig on Jun 28, 2008 | Reply
Thank you, this came up in a Google search and was exactly what I was looking for.