mod_rewrite

Hi People



i am struggling a little with SEF Url’s



I have put the following into my .htaccess


RewriteEngine on
RewriteBase /
RewriteRule ^([a-z]+)\.html$ /index.php?$1 [R,L]




Everytime I enable SEO it produces the correct url’s in the address bar but just 404’s most of the pages.



Is the above code correct or do I need to do something else



Thanks in advance

Is your files in the root or a sub directory?