また Apache で CGI が動かない問題.
とりあえず,userdir.conf
はこんなかんじで動いてます (apache-2.4.7),
a2enmod 設定
(suexec とか)
もわずれずに.
apache2 再起動も.
<IfModule mod_userdir.c>
UserDir public_html
UserDir disabled root
<Directory /home/*/public_html>
#AllowOverride FileInfo AuthConfig Limit Indexes
AllowOverride All
AddHandler cgi-script .cgi .pl
Options ExecCGI MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec
<Limit GET POST OPTIONS>
Require all granted
</Limit>
<LimitExcept GET POST OPTIONS>
Require all denied
</LimitExcept>
</Directory>
</IfModule>