I have trouble executing files in the cgi directory. I installed apache2, accompanied with mailman and postfix, to control mailman using apache2. Though I put the following lines in /etc/apache2/apache2.conf ,
ScriptAlias /mailman/ "/usr/local/mailman/cgi-bin"
<Directory "/usr/local/mailman/cgi-bin/">
AllowOverride None
Require all granted
</Directory>
and restarted apache2, the files in the /usr/local/mailman/cgi-bin are still treated as regular files, when I visit this URL by a browser;
the browser just prints the file's contents on the browser's pain, but not executes them. As an information, I use apache-2.4.29, ubuntu-18.04, mailman-2.1.29. I'll appreciate your help.
- Yoshiki