1. mod_rewrite is built-in feature in Apache2.2.x. We don’t need to LoadModule directive to load it.
2. AllowOverride default is ‘All’, .htaccess needs ‘All’
3. An example in .htaccess in the html directory:
RewriteRule ^test.html$ index.html
RewriteRule ^(.*).html$ cms.php?catname=$1
RewriteRule ^/(.*).html$ /cms.php?catname=$1
I don’t know the reason.