1
I want to redirect specific page to another page. This means that requests for any other page on foo.com will function like normal, but if bar.html is requested =, it redirects to bar.com/foo.html.
This is pretty much the same problem as here Redirect specific url requests to local site except it seemed no one had a solution for what I'm asking here.
I'm also looking for an OS-wide solution.
1After writing my answer I've noticed that you might want to perform client side redirection. Is that true? – amotzg – 2012-04-30T12:41:42.060
CNAME Record, .htaccess file, 302 redirect, HTTP redirect, javascript and more: http://en.wikipedia.org/wiki/URL_redirection. If you want it on a local machine, take a look at the hosts file.
– MaQleod – 2012-04-30T21:32:08.337