I have a site that currently has the structure:
/examole.com/page1.htm#anchor1
/examole.com/page1.htm#anchor2
and I want it to have the structure:
/examole.com/page1.htm
/examole.com/anchor1.htm
/examole.com/anchor2.htm

My problem is how to get ahold of the fragments anchor1 and anchor2 in order to redirect
/examole.com/page1.htm#anchor1 to /examole.com/anchor1.htm and
/examole.com/page1.htm#anchor2 to /examole.com/anchor2.htm

My best shot at this which doesn't work is:
Options +FollowSymlinks
RewriteEngine On
RewriteCond %{THE_REQUEST} GET\ (.*)#(.*)\ HTTP/.*
RewriteRule ^(.*)/(.*)$ /$1/%2.htm [R,L]

Any help on the problem will be greatly appreciated.