[CentOS] .htaccess and ?

Jim Perrin jperrin at gmail.com
Fri Dec 11 13:24:01 UTC 2009


On Thu, Dec 10, 2009 at 5:13 PM,  <centos at 911networks.com> wrote:
> Hi,
>
> I'm trying to write .htaccess Rewrite rules and it doesn't seem to
> work for me:
>
> Match the string between the domain and the question mark: ?
>
> http://www.abc.com/blog:long-name-of-page?action=diff and I want to
> redirect it to: http://www.abc.com/blog:long-name-of-page


There could be a few things going on here, so it would help if you
could be a bit more specific. Are you having trouble setting up the
rewrite rule to match properly, or are you having problems getting
rewrite/htaccess working at all?


-- 
During times of universal deceit, telling the truth becomes a revolutionary act.
George Orwell


More information about the CentOS mailing list