301 redirecting anchor links to unique pages

Is is possible to 301 redirect different anchor links from the same page to different destination pages?

Example:

www.oldsite.com/page.html#anchor1 –> www.newsite.com/blue.html

and

www.oldsite.com/page.html#anchor2 –>
www.newsite.com/red.html

I’ve done 301 redirects before, but never anchor-specific. Thanks.

I’m fairly sure you can’t (though I’m open to be proven wrong). Far far as I’m aware, the anchor links are completely ignored by anything server-side (eg apache or php). I’ve tried similar things in PHP and failed.

I just requested a page on my dev machine, with an hash tag in the url. Looked in the apache log and it did not register the hash.