Код:RewriteEngine On
RewriteCond %{HTTP_HOST} ^www.neiromed.info$ [NC]
RewriteRule ^(.*)$ http://neiromed.info/$1 [R=301,L]
DirectoryIndex index.php
AddDefaultCharset windows-1251
# Если NetCat стоит в подпапке, например mysite, то
# ErrorDocument 404 /mysite/netcat/require/e404.php
# в противном случае
ErrorDocument 404 /netcat/require/e404.php
Options -Indexes
Options FollowSymLinks
<IfModule mod_php4.c>
php_flag magic_quotes_gpc on
php_value error_reporting 0
php_value arg_separator.output "&"
</IfModule>
<IfModule mod_php5.c>
php_flag magic_quotes_gpc on
php_value error_reporting 0
php_value arg_separator.output "&"
</IfModule>
php_flag display_errors off
<ifModule mod_rewrite.c>
RewriteEngine On
#RewriteCond %{ENV:REDIRECT_STATUS} ^$
#RewriteRule !(^$|.*\.(css|jpg|gif)) / [R=301,L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-l
# Если NetCat стоит в подпапке, например mysite, то
# RewriteRule ^(.+)$ /mysite/netcat/require/e404.php?REQUEST_URI=$1 [L,QSA]
# в противном случае
RewriteRule ^(.+)$ /netcat/require/e404.php?REQUEST_URI=$1 [L,QSA]
RewriteRule .* - [E=HTTP_IF_MODIFIED_SINCE:%{HTTP:If-Modified-Since}]
RewriteRule .* - [E=HTTP_IF_NONE_MATCH:%{HTTP:If-None-Match}]
</ifModule>