[CentOS] apache rewrite
Alan Hodgson
ahodgson at simkin.caTue Aug 17 17:41:57 UTC 2010
- Previous message: [CentOS] apache rewrite
- Next message: [CentOS] apache rewrite
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Tuesday, August 17, 2010, Craig White <craigwhite at 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 > > Craig I think matching on ^/$ with mod_rewrite will do what you want. -- "No animals were harmed in the recording of this episode. We tried but that damn monkey was just too fast."
- Previous message: [CentOS] apache rewrite
- Next message: [CentOS] apache rewrite
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the CentOS mailing list