To fix a security problem I need to add some rewrite rules to all our virtual host configurations.
Are there any options adding rewrite rules to all virtual host declarations besides updating to every single one?
Update:
The reference docs states: Note that rewrite configurations are not inherited by virtual hosts. This means that you need to have a RewriteEngine on directive for each virtual host in which you wish to use rewrite rules.
I'm not sure wheter this means the general rewrite rules are not taken into account for virtual hosts.