May 15

The hosts file lets you point specific ip adresses to domains, on your filesystem, instead of letting this be resolved at the DNS level.

Mac OS X 10.2 or later
Edit the /private/etc/hosts file.

Windows 95/98/Me c:\windows\hosts
Windows NT/2000/XP Pro c:\winnt\system32\drivers\etc\hosts
Windows XP Home c:\windows\system32\drivers\etc\hosts
windows Vista C:\Windows\System32\drivers\etc

change "C" for your os drive

May 04

To redirect the browser clientside. You can use javascript. This can be done in different ways.

Like this:

 
 
<SCRIPT LANGUAGE="JavaScript">
<!-- Script courtesy of http://www.thetutorial.org
window.location="http://www.thetutorial.org";
// -->
</script>
 

or with a function like this:

 
<script language="JavaScript">
<!--Script courtesy of http://www.thetutorial.org 
 move() ;
function move() {
window.location = 'http://www.yourdomain.com'
}
//-->
</script>
 
May 01

This can be done in many different ways, for instance like this:

 
<a href="javascript:history.go(-1)"> Go Back</a>
 

or with a form like this

 
<form>
<input type="button" value="Click here to go back"
onClick="history.back()" />
</form>
 

the history parameter can be set, to for instance 1 or -1 one.. reflecting the movement forward or backward in the history of the browsed pages.

 
history.go(-1) or history.go(1)