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

后端 未结 1 697
情深已故
情深已故 2020-12-17 08:44

I\'ve just installed the latest version of WAMP on my dev machine, and I can\'t get it to work. Getting this weird error.

C:\\wamp\\bin\\apache\\Apache2.4.4\         


        
相关标签:
1条回答
  • 2020-12-17 09:31

    The Require directive is supplied by mod_authz_core. If the module has not been compiled into your Apache binary, you will need to add an entry to your configuration file to load it manually. You can check which modules are compiled in with httpd.exe -l.

    If the module is not compiled in, load it with a configuration line similar to the following:

    LoadModule authz_core_module    "<apache install dir>/modules/standard/mod_authz_core.so"
    

    You will need to adjust the path for your system of course, and on a Windows box the library may well be a dll rather than an so file.

    0 讨论(0)
提交回复
热议问题