<VirtualHost *:80> ServerName bonmot.ca ServerAdmin webmaster@localhost DocumentRoot /local/bonmot CustomLog /var/log/httpd_access combined ErrorLog /var/log/httpd_error LogLevel warn ExtFilterDefine cook-to-html mode=output \ intype=text/cooklang outtype=text/html \ cmd="/local/lib/cook.pl" <Directory "/local/bonmot/"> AddHandler cgi-script .cgi AllowOverride All Options +ExecCGI +FollowSymLinks <IfModule mod_negotiation.c> Options -MultiViews </IfModule> Require all granted SetOutputFilter cook-to-html AddType text/cooklang .cook </Directory>