# Access forbidden by rule - remove from error log

**URL:** <https://www.ruby-forum.com/t/access-forbidden-by-rule-remove-from-error-log/198109>\
**Category:** NGINX\
**Created:** [October 26, 2010, 3:44pm UTC](https://www.ruby-forum.com/t/access-forbidden-by-rule-remove-from-error-log/198109 "2010-10-26T15:44:39Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![okkezSS](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/o/85f322/32.png) [@okkezSS](https://www.ruby-forum.com/u/okkezSS)\
**Post date:** [October 26, 2010, 3:44pm UTC](https://www.ruby-forum.com/t/access-forbidden-by-rule-remove-from-error-log/198109/1 "2010-10-26T15:44:39Z")

</div>

We have a rule set up to deny access by ip addresses to a sub domain.  
The  
error log correctly shows “… access forbidden by rule …” whenever  
someone tries to access to sub domain. Is there a way to turn this  
particular error log message off?

Thanks
