Title: .htaccess mod_authz_host error
Last modified: April 16, 2019

---

# .htaccess mod_authz_host error

 *  Resolved [Jan Reilink](https://wordpress.org/support/users/janr/)
 * (@janr)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/htaccess-mod_authz_host-error/)
 * Just noticed this .htaccess error in my logs (because we log this) :
 * `[Tue Apr 16 09:22:02.243219 2019] [core:alert] [pid 1040:tid 140433856091904][
   client 78.231.40.241:50053] /data/www/example.org/www/wp-content/uploads/sites/
   3/wpdiscuz/captcha/.htaccess: Invalid command 'Order', perhaps misspelled or 
   defined by a module not included in the server configuration, referer: https://
   www.itfaq.nl/settlers-5-heritage-of-kings-op-windows-10-spelen/`
 * Please read [https://www.saotn.org/wordpress-htaccess-security-best-practices-apache-24/](https://www.saotn.org/wordpress-htaccess-security-best-practices-apache-24/)
   and [https://wordpress.org/support/article/brute-force-attacks/#limit-access-to-wp-login-php-by-ip](https://wordpress.org/support/article/brute-force-attacks/#limit-access-to-wp-login-php-by-ip)
   on why you must fix this.
 * I’ve fixed it by editing all .htaccess files (wp-content/uploads/wpdiscuz/captcha/.
   htaccess, wp-content/uploads/sites/3/wpdiscuz/captcha/.htaccess) :
 *     ```
       <IfModule !mod_authz_core.c>
               Order deny,allow
               Deny from all
       </IfModule>
       <IfModule mod_authz_core.c>
               Require all denied
       </IfModule>
   
       <Files ~ "^[0-9A-Za-z_\-]+\.(png)$">
               <IfModule !mod_authz_core.c>
                       Allow from all
               </IfModule>
               <IfModule mod_authz_core.c>
                       Require all granted
               </IfModule>
       </Files>
       ```
   

Viewing 1 replies (of 1 total)

 *  Plugin Support [gVectors Support](https://wordpress.org/support/users/gvectorssupport/)
 * (@gvectorssupport)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/htaccess-mod_authz_host-error/#post-11434204)
 * Thank you [@janr](https://wordpress.org/support/users/janr/),
 * This will be fixed in the upcoming version.

Viewing 1 replies (of 1 total)

The topic ‘.htaccess mod_authz_host error’ is closed to new replies.

 * ![](https://ps.w.org/wpdiscuz/assets/icon-256x256.png?rev=1076265)
 * [Comments - wpDiscuz](https://wordpress.org/plugins/wpdiscuz/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wpdiscuz/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wpdiscuz/)
 * [Active Topics](https://wordpress.org/support/plugin/wpdiscuz/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wpdiscuz/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wpdiscuz/reviews/)

## Tags

 * [htaccess](https://wordpress.org/support/topic-tag/htaccess/)

 * 1 reply
 * 2 participants
 * Last reply from: [gVectors Support](https://wordpress.org/support/users/gvectorssupport/)
 * Last activity: [7 years, 1 month ago](https://wordpress.org/support/topic/htaccess-mod_authz_host-error/#post-11434204)
 * Status: resolved