per your testing on 4.0.18, it looks like set
CacheRoot /lscache/
in httpd.conf is not same as setting CacheRoot at admin console.
and as I tested, without "CacheRoot /lscache/" in httpd.conf, but set it in admin console, rewriterule + cache will work. so it looks that
"CacheRoot /lscache/"...