AddDefaultCharset utf-8
Options -Indexes
php_flag magic_quotes_gpc Off
DirectoryIndex index.php
php_flag display_errors on
php_flag display_startup_errors on
RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule .* - [E=SSL:s]
RewriteCond %{HTTP_HOST} !^www\.(.*) [NC]
RewriteCond %{REQUEST_URI} !^(.*)/robots\.txt$
RewriteRule ^(.*)$ http%{ENV:SSL}://www.site.ru/$1 [R=301,L]