19 lines
668 B
ApacheConf
19 lines
668 B
ApacheConf
## Activate the mod_rewrite Engine
|
|
|
|
RewriteEngine On
|
|
|
|
RewriteCond %{QUERY_STRING} (.*)$
|
|
RewriteRule cat_([0-9]+)(\.[a-z]{3,4})?(.*)$ index.php?_a=viewCat&catId=$1&%1 [NC]
|
|
|
|
RewriteCond %{QUERY_STRING} (.*)$
|
|
RewriteRule prod_([0-9]+)(\.[a-z]{3,4})?$ index.php?_a=viewProd&productId=$1&%1 [NC]
|
|
|
|
RewriteCond %{QUERY_STRING} (.*)$
|
|
RewriteRule info_([0-9]+)(\.[a-z]{3,4})?$ index.php?_a=viewDoc&docId=$1&%1 [NC]
|
|
|
|
RewriteCond %{QUERY_STRING} (.*)$
|
|
RewriteRule tell_([0-9]+)(\.[a-z]{3,4})?$ index.php?_a=tellafriend&productId=$1&%1 [NC]
|
|
|
|
RewriteCond %{QUERY_STRING} (.*)$
|
|
RewriteRule _saleItems(\.[a-z]+)?(\?.*)?$ index.php?_a=viewCat&catId=$1&%1 [NC,L]
|