I have a VPS with Ubuntu 16.04 but I am not able to make the mod_rewrite
work. When I get the command sudo a2enmod rewrite
, I get the following response:
"Module rewrite already enabled"
But when I run phpinfo()
, the "Configuration - > apache2handler - > Loaded modules" session does not appear.
My 000-default.conf
looks like this:
<Directory "/var/www/">
Options Indexes FollowSymLinks
AllowOverride All
Require all granted
</Directory>
In Windows the "Configuration -> apache2handler -> Loaded modules" section appears normally.