a2enmod rewrite, I wrote the file
RewriteEngine on RewriteRule ^/test(/.*)?$ http://anothersite.tld/test$1 [R] RewriteRule ^/test2(/.*)?$ http://anothersite2.tld/test [R]
a2enconf myspecific_rewrite and the correct symbolic link is created in
The problem is that this conf doesn't work : the rewrite is not active.
I want that rewrite to be active for all my virtual hosts. This file I wrote defines
RewriteRules outside of a
<VirtualHost>... is there a way to make it working?