[us...@httpd] RewriteRule help please

2009-11-23 Thread bearsfoot
Hi All, I have the following rewrite rule .. RewriteRule products/specials(.*)(.*) /products/index.php?view=specials$1=$2 [L] http://www.mysite.com/products/specialsfilter=20 -- http://www.mysite.com/products/index.php?view=specialsfilter=20= The problem is the trailing '=' I have also

Re: [us...@httpd] RewriteRule help please

2009-11-23 Thread Philip Wigg
I have the following rewrite rule .. RewriteRule products/specials(.*)(.*) /products/index.php?view=specials$1=$2 [L] http://www.mysite.com/products/specialsfilter=20 -- http://www.mysite.com/products/index.php?view=specialsfilter=20= The problem is the trailing '=' I have also tried

Re: [us...@httpd] RewriteRule help please

2009-11-23 Thread bearsfoot
Hi Phil, Thanks for the reply. I changed the rule to use a single (.*) but the result was the same. Here is an example of the url entered .. http://www.mysite.com/products/specialsfilter=20 and expecting http://www.mysite.com/products/index.php?view=specialsfilter=20 RewriteRule

Re: [us...@httpd] RewriteRule help please

2009-11-23 Thread Philip Wigg
RewriteRule products/specials(.*) /products/index.php?view=specials$1=$2 [L] The rewritten url is close but still has the trailing '='. What you've put there is different to what I suggested, since you've kept the =$2 at the end. I still have a feeling this won't be totally what you need

Re: [us...@httpd] RewriteRule help please

2009-11-23 Thread bearsfoot
Thanks Phil. You just fixed my issue. Much appreciated. Philip Wigg wrote: RewriteRule products/specials(.*) /products/index.php?view=specials$1=$2 [L] The rewritten url is close but still has the trailing '='. What you've put there is different to what I suggested, since you've