Invalid command 'require /Order', perhaps misspelled or defined by a module not included in the server configuration

Apache Error: invalid command 'require /Order', perhaps misspelled or defined by a module not included in the server configuration

After upgrading Apache from 2.2 to 2.4

Error Message:

AH00526: Syntax error on line xxx of /etc/httpd/conf/httpd.conf:
invalid command 'require', perhaps misspelled or defined by a module not included in the server configuration
Or
invalid command 'Order', perhaps misspelled or defined by a module not included in the server configuration

Solution:

Load the mod_access_compat module or update configuration to 2.4 authorization directives.

LoadModule access_compat_module modules/mod_access_compat.so



FOLLOW US :-    
   





1 comments :

  1. I get Cannot load modules/mod_access_compat.so into server.

    ReplyDelete