Posted under » Ubuntu » Apache updated on on 05 April 2020
You have to install it like this.
$ sudo a2enmod rewrite $ sudo a2enmod headers
The above are necessary for CMS like CakePhp
You can enable mod proxy and mod ssl (probably already enabled) this way too.
$ sudo a2enmod proxyThis old method might work to
ln -s /etc/apache2/mods-available/proxy.load /etc/apache2/mods-enabled/proxy.load
But don't forget to restart Apache.