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

Chris Gebhardt - VIRTBIZ Internet cobaltfacts at virtbiz.com
Fri Mar 18 19:36:54 -05 2016


Hi Micheal,

On 3/18/2016 7:08 PM, Michael Stauber wrote:
> 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.

BIZARRE!

> 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

Hmmmm, don't roll that out just yet.   Now I get this:
[Fri Mar 18 18:28:00.366257 2016] [:error] [pid 32374] Options ExecCGI 
is off in this directory/home/.sites/28/site1/web/index.html
[Fri Mar 18 18:28:00.366885 2016] [:error] [pid 32374] Options ExecCGI 
is off in this directory/home/.sites/28/site1/web/error/403-forbidden.html

<sigh>

I stripped out pretty much all of the .htaccess file except for:
Options +Includes
order allow,deny
AddType text/html .shtml
AddHandler server-parsed .shtml
Options Indexes FollowSymLinks Includes
AddHandler server-parsed .html
AddHandler cgi-script .pl

I'll have some dinner then come back at it.
-- 
Chris Gebhardt
VIRTBIZ Internet Services
Access, Web Hosting, Colocation, Dedicated
www.virtbiz.com | toll-free (866) 4 VIRTBIZ



More information about the Blueonyx mailing list