The Apache rewrite Url,rewrite module has been loaded under Linux, directory has been configured allowoverride all, and the Apache service has been restarted, but just can't, for Linux newbies like me, Encountered such a problem is really too headache, but Google a bit, finally found that the original is not started rewrite service, Khan ...
Log the Linux boot rewrite service command: sudo a2enmod rewrite
Supplements
The Mod_rewrite module is enabled after the sudo a2enmod rewrite directive.
Alternatively, you can open the Mod_rewrite module by connecting the/etc/apache2/mods-available/rewrite.load to the/etc/apache2/mods-enabled/rewrite.load. To operate with instructions is to:
sudo ln-s/etc/apache2/mods-available/rewrite.load/etc/apache2/mods-enabled/rewrite.load
If we're not enabled, we can try
sudo vim/etc/apache2/sites-enabled/000-default
To include:
AllowOverride None
Modified to:
AllowOverride All