RewriteEngine on
#RewriteBase /
RewriteRule ^captcha$
ajax.php?do=captcha [L]
RewriteRule ^ajax/(.*)$ ajax.php?$1
[L]
RewriteRule ^index(.html|.htm)$ index.php [L]
RewriteRule
^sitemap.xml$ files/sitemap.xml [L]
RewriteCond %{SCRIPT_FILENAME}
!-f
RewriteCond %{SCRIPT_FILENAME} !-d
RewriteCond %{REQUEST_URI}
!\.(css|js|jpe?g|gif|png|bmp|ico)$
RewriteRule ^(.*)$ index.php?url=$1 [L]