Apache mod_rewrite module help


I am trying to setup eshop, but there is an error with the apache mod_rewrite module.
I modified the /etc/apache2/apache2.conf, changing AllowOverride None to AllowOverride All. I have also enabled the rewrite module with the command “sudo a2enmod rewrite” and restarted the apache2 service, but the error is still there.
Could you please give me a hint on what I’ve missed?

Thank you!

I have changed <Directory /srv/> instead of <Directory /var/www/>
My bad. It’s allright now.