in reply to perl and apache2 on ubuntu 17.04
When i want to run perl files out of /cgi-bin i add these
This may give you a clue as to what to add<Directory /var/www/html/cgi-bin/> Options Indexes FollowSymLinks AllowOverride None Order allow,deny Allow from all AllowOverride None Satisfy Any Options +ExecCGI AddHandler cgi-script .cgi .pl </Directory>
Then from the command line i also run
sudo a2enmod cgi sudo apache2ctl restart
|
|---|