phpwiki problems with VirtualHost

I tried installing the package phpwiki and the installation went (like almost always with Debian) smooth. But I use severel VirtualHost’s and when i tried to access phpwiki I was met with an error 404 :(

After googling around I found that RewriteRules isn’t inheritet from the default apache settings into a VirtualHost neither is the RewriteEngine setting.

Put this in each VirtualHost which should have phpwiki enabled:

RewriteEngine on
RewriteOptions inherit

Note if you have more global RewriteRules than phpwiki these will also be enabled.