Re: [CentOS] apache rewrite

2010-08-17 Thread Les Mikesell
On 8/17/2010 12:14 PM, Craig White 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 > > obviousl

Re: [CentOS] apache rewrite

2010-08-17 Thread Paul Heinlein
On Tue, 17 Aug 2010, Craig White 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 RedirectM

Re: [CentOS] apache rewrite

2010-08-17 Thread Alan Hodgson
On Tuesday, August 17, 2010, Craig White 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 >

Re: [CentOS] apache rewrite

2010-08-17 Thread Craig White
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" wrote: > > Is there some easy way to rewrite just the base URL to another URL > but > > leave all other URL's unmol

Re: [CentOS] apache rewrite

2010-08-17 Thread James Hogarth
Look into either redirectmatch if no mod_rewrite or rewriterule with mod_redirect On 17 Aug 2010 18:14, "Craig White" 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 >

[CentOS] apache rewrite

2010-08-17 Thread Craig White
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 ev