Title: htaccess Apache 2.4
Last modified: August 24, 2016

---

# htaccess Apache 2.4

 *  [Benjamin Pick](https://wordpress.org/support/users/benjaminpick/)
 * (@benjaminpick)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/htaccess-apache-24/)
 * This is how the htaccess file could look like so that it is compatible with both
   2.2 and 2.4 …
 *     ```
       # Apache < 2.3
        <IfModule !mod_authz_core.c>
       Order allow,deny
       Deny from all
       Satisfy All
       </IfModule>
   
       # Apache ≥ 2.3
       <IfModule mod_authz_core.c>
       Require all denied
       </IfModule>
       ```
   
 * [https://wordpress.org/plugins/admin-menu-editor/](https://wordpress.org/plugins/admin-menu-editor/)

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Author [Janis Elsts](https://wordpress.org/support/users/whiteshadow/)
 * (@whiteshadow)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/htaccess-apache-24/#post-6073374)
 * Did you mean to post that in a different thread? This plugin doesn’t use the `.
   htaccess` file.
 *  Thread Starter [Benjamin Pick](https://wordpress.org/support/users/benjaminpick/)
 * (@benjaminpick)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/htaccess-apache-24/#post-6073382)
 * Yes there is one in /includes/.
 *  Plugin Author [Janis Elsts](https://wordpress.org/support/users/whiteshadow/)
 * (@whiteshadow)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/htaccess-apache-24/#post-6073391)
 * Ah, you’re right. I’d forgotten about that one because, under normal circumstances,
   it never gets used. It’s just there for general security hardening.
 * I’ll add your suggested fix to the next release.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘htaccess Apache 2.4’ is closed to new replies.

 * ![](https://ps.w.org/admin-menu-editor/assets/icon-128x128.png?rev=1418604)
 * [Admin Menu Editor](https://wordpress.org/plugins/admin-menu-editor/)
 * [Support Threads](https://wordpress.org/support/plugin/admin-menu-editor/)
 * [Active Topics](https://wordpress.org/support/plugin/admin-menu-editor/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/admin-menu-editor/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/admin-menu-editor/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Janis Elsts](https://wordpress.org/support/users/whiteshadow/)
 * Last activity: [10 years, 11 months ago](https://wordpress.org/support/topic/htaccess-apache-24/#post-6073391)
 * Status: not resolved