Xymon Mailing List Archive search

Need help with upgrade from 4.3.17 to 4.3.20

list Mark Felder
Thu, 21 May 2015 07:31:40 -0500
Message-Id: <user-6319ffaad9a0@xymon.invalid>


On Wed, May 20, 2015, at 10:10, Asif Iqbal wrote:
ScriptAlias /xymon-cgi/ "/var/lib/xymon/cgi-bin/"
<Directory "/var/lib/xymon/cgi-bin">
    AllowOverride None
    Options ExecCGI FollowSymLinks Includes
    <IfModule mod_authz_core.c>
        # Apache 2.4+
        Require all granted
    </IfModule>
    <IfModule !mod_authz_core.c>
        Order deny,allow
        Allow from all
    </IfModule>
</Directory>
What if you add to your <Directory> for the two different cgi-bin
locations "SetHandler cgi-script" like this:

ScriptAlias /xymon-cgi/ "/var/lib/xymon/cgi-bin"
<Directory "/var/lib/xymon/cgi-bin">
    SetHandler cgi-script
    AllowOverride None
    Options ExecCGI FollowSymLinks Includes
    <IfModule mod_authz_core.c>
        # Apache 2.4+
        Require all granted
    </IfModule>
    <IfModule !mod_authz_core.c>
        Order deny,allow
        Allow from all
    </IfModule>
</Directory>