[CentOS] apache rewrite

Tue Aug 17 17:28:46 UTC 2010
James Hogarth <james.hogarth at gmail.com>

Look into either redirectmatch if no mod_rewrite or rewriterule with
mod_redirect

On 17 Aug 2010 18:14, "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
>
>
> --
> This message has been scanned for viruses and
> dangerous content by MailScanner, and is
> believed to be clean.
>
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> http://lists.centos.org/mailman/listinfo/centos
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.centos.org/pipermail/centos/attachments/20100817/95cd4b36/attachment-0005.html>