ErrorDocument 403 /404.html
ErrorDocument 404 /404.html

DirectoryIndex page12463572.html

RewriteEngine On

RewriteCond %{HTTP:X-Forwarded-Proto} =http
RewriteRule ^(.*)$ https://ngo-research\.ru/$1 [R=301,L]

RewriteCond %{HTTP:X-Forwarded-Proto} =https
RewriteCond %{HTTP_HOST} ^www\.ngo-research.ru [NC]
RewriteRule ^(.*)$ https://ngo-research\.ru/$1 [R=301,L]

RewriteCond %{REQUEST_FILENAME} /robots.txt
RewriteCond "%{DOCUMENT_ROOT}/robots_%{HTTP_HOST}.txt" -f
RewriteRule ^(.*)$ robots_%{HTTP_HOST}.txt [NC,L]
RewriteRule ^contest$ page16147920.html [NC]
RewriteRule ^contest/$ page16147920.html [NC]


