• Hi.
    I found the .htaccess have something similar. I would like to ask for understand. What is difference of mod_authz_core.c and !mod_authz_core.c?

    <File wp.confg.php>
    <IfModule mod_authz_core.c>
    Require all denied
    </IfModule>
    <IfModule !mod_authz_core.c>
    Order allow,deny
    Deny from all
    </IfModule>
    </File>

    I checked with another theme they only used simple like bellow. May i know why your code is more complicated?
    <File wp.confg.php>
    Order allow,deny
    Deny from all
    </File>

    Thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • @oanhtran1804

    The theme simple format only supports Apache 2.2 or older.

    mod_authz_core.c is a new module in Apache 2.3 or higher.

    So using <IfModule mod_authz_core.c> and <IfModule !mod_authz_core.c> helps in targeting the right Apache version.

    Thread Starter oanhtran1804

    (@oanhtran1804)

    Hi @pronl
    Thank for your respond. Just ask to be sure my issue is not related this code.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘mod_authz_core.c and !mod_authz_core.c’ is closed to new replies.