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
Any suggestion?
Thanks
You might have to enable re-writes in you Apache conf? Or did I imagine that???
-- Regards, James ;)
Stephen Leacock - "I detest life-insurance agents: they always argue that I shall some day die, which is not so."
On Thu, Dec 10, 2009 at 5:13 PM, centos@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?
centos@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
Any suggestion?
I've always received amazingly accurate and kind help from the folks at http://www.modrewrite.com/
Great forums, very informative.
HTH, -Ray
Do you have "AlloOverride All" in httpd.conf? --------------------------------------------------------------- El vie, 11-12-2009 a las 08:25 -0500, Ray Leventhal escribió:
centos@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
Any suggestion?
I've always received amazingly accurate and kind help from the folks at http://www.modrewrite.com/
Great forums, very informative.
HTH, -Ray _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos