Thread
:
Apache Internal Redirect Help
View Single Post
Feb 17th, 2006, 1:56 PM
#
4
Infinite Recursion
Programming Guru
Join Date: Jul 2004
Location: United States
Posts: 3,467
Rep Power:
8
This works for me: In the httpd root directory, make a .htaccess file with the redirection in it...
(
Toggle Plain Text
)
Redirect /oldfile http://somewhere.com/some/dir/newfile
Redirect /oldfile http://somewhere.com/some/dir/newfile
BUT, it changes the URL in the browser. Not sure off hand how to keep it from changing that.
__________________
http://jasonpowers.net
"There are a thousand hacking at the branches of evil to one who is striking at the root."
Infinite Recursion
View Public Profile
Visit Infinite Recursion's homepage!
Find More Posts by Infinite Recursion