Page is a not externally linkable
jdMorgan - 3:52 am on Aug 6, 2005 (gmt 0)
The code I posted is intended for use in .htaccess for the case where both domains resolve to the same DocumentRoot directory. If you were able to use the Redirect directive, which makes no provision for conditional execution based on domain (HTTP_HOST) name, then this implies that your domains resolve to different DocumentRoots. Otherwise, you would have created an 'infinite' redirection loop. So, since Redirect worked for you, your domains must resolve separately. jgilbert, Rather than waiting around for me (or someone) to answer, it might be faster to test the code, or analyze how it works by using the Apache documentation. It will do exactly what you describe, but of course, comes with no warranty. Jim
promis,