I have upgrade apache 2.34 to 2.37. Then I have the problem that all css and js files are only throwing a 500 error and are not loaded. I have got this error on error log: option followsymlinks not allowed here I tried several times to deploy and compile those files and even set up 777 permissions on those files folders but have no luck to get it working.
Be sure you have URL rewrites enabled in your Apache config. Here is a tutorial : https://www.digitalocean.com/community/tutorials/how-to-rewrite-urls-with-mod_rewrite-for-apache-on-ubuntu-16-04
This is needed when 'sign static files' is enabled. Also be sure that your allow/disallow settings in your apache site config are set to
<Directory path/to/magento_root> Order allow,deny Allow from all AllowOverride All </Directory>