On Tue, Nov 24, 2009 at 12:38 AM, Boyle Owen wrote:
>> -Original Message-
>> From: bearsfoot [mailto:adam.p.reyno...@gmail.com]
>> Sent: Tuesday, November 24, 2009 3:24 AM
>> To: users@httpd.apache.org
>> Subject: [us...@httpd] More RewriteRule issues ..
> -Original Message-
> From: bearsfoot [mailto:adam.p.reyno...@gmail.com]
> Sent: Tuesday, November 24, 2009 3:24 AM
> To: users@httpd.apache.org
> Subject: [us...@httpd] More RewriteRule issues ..
>
>
> Hi,
>
> I have the following rules in my .htacc
Hi,
I have the following rules in my .htaccess.
RewriteRule products/(.*)/ /index.php?view=products&brand=$1 [L]
RewriteRule products/(.*)/(.*)/ /index.php?view=productdetail&brand=$1&id=$2
[L]
These are the urls the users see:
http://www.mysite.com/products/product-name/
http://www.mysite.com