Ситуация такая.
Прописал вот это:
Код:
RewriteEngine on
RewriteCond %{HTTP_REFERER} ^$ [OR]
RewriteCond %{HTTP_REFERER} !^.*site\.region\.ua.*$ [NC, OR]
RewriteCond %{HTTP_HOST} !^.*site\.region\.ua.*$ [NC]
RewriteRule .*\.(gif|jpg)$ - [F]
При запросе моего урла выкидывает ошибку 500
Цитата:
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, [no address given] and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
|
Кто знает, что в коде не так?