Any specific reason why it doesn't work in /etc/map? If you implement it in /etc/map then you should not activate it to publish server to make it effective on author only otherwise implement at author-apache level
Could you share your /etc/map config?