tags:

views:

19

answers:

1

I need used use it

RewriteEngine On

RewriteCond %{SERVER_PORT} !^9090$

RewriteRule ^vendor/([0-9]+).html$ productcategory.iface?Operation=category&catid=$1 [L,R]

RewriteRule ^vendor/([0-9]+)([0-9]+).html$ productcategory.iface?Operation=product&prodid=$2

RewriteRule ^vendor/([0-9]+)([0-9]+)([0-9]+).html$ productcategory.iface?Operation=vendet&prodid=$2&venid=$3

But I Used this rule i found Error on 500 that is misconfiguration error

A: 

Line breaks inside the directives are not allowed. So try this:

RewriteEngine On
RewriteCond %{SERVER_PORT} !^9090$
RewriteRule ^vendor/([0-9]+)\.html$ productcategory.iface?Operation=category&catid=$1 [L,R]
RewriteRule ^vendor/([0-9]+)\([0-9]+)\.html$ productcategory.iface?Operation=product&prodid=$2
RewriteRule ^vendor/([0-9]+)\([0-9]+)\([0-9]+)\.html$ productcategory.iface?Operation=vendet&prodid=$2&venid=$3
Gumbo