Re: mod_rewrite question
On May 31, 10:04 am, Jim Hayter <see.reply...@nowhere.invalid> wrote:
> yawnmothwrote:
> <snip>
>
> Without an anchor, the first rule matches anything that has "a/"
> anywhere in the URL. Try this:
>
> RewriteRule (a|b|c)/(|index\.html)$ index2.html?type=$1
>
> The $ specifies the end of the URL, so a/image.ext will not match the rule.
>
> HTH,
> Jim
Thanks!
|