copy .htaccess to the document root of Apache.To redirect from a differnt folder(temp):

1. Create a new directory in Apache Document root location and name it as temp 2. Copy the .htaccess file to the /temp folder 3. Open the file .htaccess in //temp using notepad and change the code in the file to the following code and save it.