title: Execute perl from SHTML just includes the script, not eexecuted
body: <p>I'm on a hosted linux web server running Apache 2.2.25. The following shtml just shows the contents of the perl script rather than executing the script. I understand that the script runs from ssh (I don't have access to ssh). I'm sure I'm missing something in the .htaccess file. Any help would be gratefully received.</p>
  
  <p>shtml</p>
  
  <pre><code>&lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt;
  &lt;html xmlns="http://www.w3.org/1999/xhtml"&gt;
  &lt;head&gt;
  &lt;meta http-equiv="Content-Type" content="text/html; charset=utf-8" /&gt;
  &lt;title&gt;Perl&lt;/title&gt;
  &lt;/head&gt;
  &lt;body&gt;
  
  &lt;!--#exec cgi="cgi-bin/test.pl"--&gt;
  
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>perl (test.pl)</p>
  
  <pre><code>#!/usr/bin/perl
  print "HELLO FROM PERL";
  </code></pre>
  
  <p>.htaccess</p>
  
  <pre><code>AddHandler cgi-bin .pl .cgi
  AddType text/html .shtml .php
  AddOutputFilter INCLUDES .shtml .php
  
  Options +Includes
  </code></pre>