Mod_Rewrite help
My url pattern is like so:  

    example.com/A/B

  
I want my url condition to be if `A.html` does no exist in the cache folder do such and such, I have something like this so far:
  

    RewriteCond ^([^/]+)/?([^/]*) /cache/$1.html -f  

  
But I know its not the right way of doing it, any help would be appreciated!  
Thank You!
Mod_Rewrite help
===

My url pattern is like so:  

    example.com/A/B

  
I want my url condition to be if `A.html` does no exist in the cache folder do such and such, I have something like this so far:
  

    RewriteCond ^([^/]+)/?([^/]*) /cache/$1.html -f  

  
But I know its not the right way of doing it, any help would be appreciated!  
Thank You!