I would like that all uri such as http://mydomain/something be rewrited according to a map I use Rewriterule ^/(.+) ${ispacemap:$1} The problem is that when no match is found in the map; I want that the URI be not rewrited, and instead it rewrites it with nothing.