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, sinc

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 th

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/specials&filter=20 and expecting http://www.mysite.com/products/index.php?view=specials&filter=20 RewriteRule products/

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/specials&filter=20 > --> http://www.mysite.com/products/index.php?view=specials&filter=20= > > The problem is the trailing '=' > > I have

[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/specials&filter=20 --> http://www.mysite.com/products/index.php?view=specials&filter=20= The problem is the trailing '=' I have also t