Apache server configuration

In the main configuration of Apache2 please set the option

AllowOverride All

to make the Apache2 work.