I want to redirect all requests for folder1 to folder2.
for example, a request for
http://example.com/folder1/page.html
should get a 301 to
http://example.com/folder2/page.html
my rule:
RewriteRule ^folder1/(.*)$ /folder2/$1 [R=301,L]
but instead, it's sending my browser to the full server path:
http://example.com/var/www/public_html/folder2/page.html
what am I doing wrong?