If you are using joomla you will need this in your httpd.ini file.
Code:
[ISAPI_Rewrite]
# Block external access to the httpd.ini and httpd.parse.errors files
RewriteRule /httpd(?:\.ini|\.parse\.errors) / [F,I,O]
# Block external access to the Helper ISAPI Extension
RewriteRule .*\.isrwhlp / [F,I,O]
#Fix MyBlog’s SEF URLs
RewriteRule ^/(.*)\.html /$1
#Keep Isapi_Rewrite from rewriting URLs that look like regular files
RewriteRule ^/(.*\.[a-zA-Z1-9]{2,4}) /$1 [L]
# Excluding the administrator section
RewriteRule ^/(administrator\/.*) /$1 [L]
#Get rid of the index.php
RewriteRule ^/(.*) /index.php\?/$1 [I,L]
If you are using wordpress you will need this in your httpd.ini file.
Code:
[ISAPI_Rewrite]
RewriteCond Host: your_domain\.com
RewriteRule (.*) http\://www.your_domain.com$1 [I,RP]
RewriteRule /(?!index\.php)([^/.]+)/ /index.php/$1 [I]
RewriteRule /(?!index\.php)([^/.]+) /index.php/$1 [I,L]