Options +FollowSymlinks
RewriteEngine on

RewriteRule ^(.*)\.htm$ /q2uri.php?search=$1 [L]

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
#RewriteCond %{REQUEST_URI}!.*\.htm
RewriteRule ^(.*)$ index.php/$1 [L]


