I'm sure I'm missing something obvious.. but I've been trying to solve this for hours with no effect.

I'm installing Empresa on Debian/Stretch with Apache2 version 2.4 for the first time (previously was on Wheezy with an older version of Apache) and my test.mvc file is giving a 404 message. I think it is a permission issue but I'm not sure what permission.

Here's the exact text of the error:
Code:
Not Found
The requested URL /miva-bin/mivavm/test.mvc was not found on this server.
And here's the contents of the apache conf file that's behind this site:

Code:
        DocumentRoot /var/www/html

        DirectoryIndex index.mvc index.html
        ScriptAlias /miva-bin/ /usr/local/miva/cgi-bin/

        <Directory /var/www/data/>
                AllowOverride None
                Options FollowSymLinks MultiViews
                Require all granted
        </Directory>

        <Directory /usr/local/miva/cgi-bin/>
                Require all granted
        </Directory>
        ScriptAlias /miva-bin/ /usr/local/miva/cgi-bin/


        SetEnv MvCONFIG_LIBRARY /usr/local/miva/lib/config/env.so
        SetEnv MvCONFIG_DIR_MIVA /var/www/html/
        SetEnv MvCONFIG_DIR_DATA /var/www/data/
        SetEnv MvCONFIG_DIR_BUILTIN /usr/local/miva/lib/builtins

        AddType application/x-miva-compiled .mvc
        Action application/x-miva-compiled /miva-bin/mivavm
The file permissions on the
Code:
mivavm
file are currently 777 just for troubleshooting, so that I know it's not a file permission error.

Any help is appreciated! Thanks