yes indeed. It doesn't work. It gives the 404 page. I have other RewriteRules also for that page below this code but I added the [L] at the end and still doesn't do it.
#cat.php page
RewriteRule ^cat/c/([^/]*)/km/([^/]*)/$ cat.php?c=$1&km=$2 [L]
RewriteRule ^cat/c/([^/]*)/km/([^/]*)$ cat.php?c=$1&km=$2 [L]
#below that there is an old rule that i need it to saty there as well
# 1 key=value pairs, eg.
# cat.php/km/123/ --> cat.php?product=123
RewriteRule ^(cat|reviews_seller|search|carsales|carsales_extras|carsales_dealers|car_sale_news)\.htm/([^/]+)/([^/]*)/?$ $1.php?$2=$3 [L]
# 2 key=value pairs, eg.
RewriteRule ^(cat|products_list|rating|products_details|search|carsales|carsales_dealers)\.htm/([^/]+)/([^/]*)/([^/]+)/([^/]*)/?$ $1.php?$2=$3&$4=$5 [L]
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.
I'm not sure dude. Maybe look at the mod_rewrite manual for Apache 1.3 to see if it should be done differently than in Apache 2, which is what mine is.
I've given up with .htaccess based clean url's. I've started to send anything and everything (save certain things) to index.php and just deal with the parameters in php myself...
#Options -Indexes -MultiViews #this may or may not be needed...
RewriteEngine on
RewriteCond $1 !^(index\.php|img|robots\.txt|css) # match on anything except whats in the brackets
RewriteRule ^(.*)$ index.php/$1 [L] #and send it all to index.php