On Tue, 2010-08-17 at 18:28 +0100, James Hogarth wrote:
Look into either redirectmatch if no mod_rewrite or rewriterule with mod_redirect
On 17 Aug 2010 18:14, "Craig White" craigwhite@azapple.com wrote:
Is there some easy way to rewrite just the base URL to another URL
but
leave all other URL's unmolested?
i.e.
http://www.example.com = rewrite to another URL
http://www.example.com/files = deliver from the assigned
subdirectory
obviously this... Redirect / http://www.other_url.com redirects everything
and I don't want /files to be redirected
---- ahh - indeed, so many pages and looked at all of the examples but it was actually easy...
RedirectMatch ^/$ http://example.com
(the use of Match for regex and ^/$ was the key)
Thanks
Craig