[BlueOnyx:19362] Re: Help with SSI & CGI on 5209R

Michael Stauber mstauber at blueonyx.it
Fri Mar 18 19:08:29 -05 2016


Hi Chris,

> Indicating that the directive is off.  However, in the vhost config,
> it's plain as day on:
> <Directory /home/.sites/28/site1/web>
>     AddHandler cgi-script .cgi .pl
>     Options +ExecCGI
> </Directory>
> 
> Any ideas?

I just checked. The above works for *.cgi but not for *.pl. Which is
totally ridiculous. Because that's actually the recommended line from
the Apache 2.4 docs.

Replace that block with this one:

<Directory /home/.sites/28/site1/web>
    SetHandler perl-script
    PerlResponseHandler ModPerl::Registry
    PerlOptions +ParseHeaders
    Options +ExecCGI
</Directory>

Save the changes and restart Apache:

systemctl restart httpd

That should do the trick. I'll roll out an update for 5209R which will
handle this.

-- 
With best regards

Michael Stauber



More information about the Blueonyx mailing list