Forum Moderators: phranque
AddHandler cgi-script .cgi
You may also need to add ExecCGI to your Options directive.
As to making SSI work (on .html files) :
AddOutputFilter INCLUDES .html
and add Includes to the Options directive.
Don't forget to restart Apache after you modify the config file.
<Directory "C:/home/mysite/www/cgi-bin/">
AllowOverride None
Options +All +ExecCGI
Order allow,deny
Allow from All
</Directory>
and near the end of the file is:
AddHandler cgi-script .cgi
As for SSI, I have the:
AddOutputFilter INCLUDES .html
But no Options directive.
For purpose of testing pages does:
AddOutputFilter INCLUDES .shtml .html .htm
work. Sorry to be such a non-nerd newbie, but this is a steep learning curve with Apache (still lots to learn)as I have most of it working.
Regards