I'm trying to write a rule that says if you can't find a file by the name of the URI then look it up in the rewrite map. but it's not working. Here's what I have so far:
RewriteMap products txt:/data/www/root/htaccess.txt
RewriteCond !/{REQUEST_URI} -f [NC]
RewriteRule /(.*)$ /products/detail.php?ProductID=${products:$1} [L]
Any ideas? the condition worked fine when I applied a moer simple rule to it like this:
RewriteCond !/{REQUEST_URI} -f [NC]
RewriteRule /(.*)$ /filenotnoud.html [L]
thanks
summer