I'm trying to figure out how to redirect my php scripts from one host directory "www.host1.com/files" to another host "www.host2.com/".
I tried a .htaccess redirect:
Redirect permanent /files http://www.host2.com/
It partially worked, but it does parse my file strings.
Example:
http://www.host1.com/files/index.php?action=index&var=1 Redirects to http://www.host2.com/index.php instead of http://www.host2.com/index.php?action=index&var=1
Any ideas on how to do this?