WampServer URL rewriting problem

I have a hobby project that works great on MAMP, but does not run so good on WampServer. Turns out that the problem is that an Apache module that is enabled by default in MAMP, is disabled by default in WampServer.

My project uses URL rewriting, which by default is disabled in WampServer. To enable it, click on the WampServer icon in the system tray, navigate to Apache/Apache Modules and enable rewrite_module.

After this, URL rewriting should work.