J'ai installé un module ffmpeg sur un serveur Web (centos)
après que httpd a éclaté.
Comment puis-je le réparer?
quand j'ai tapé:
/etc/init.d/httpd start
J'ai eu cette erreur:
Starting httpd: Syntax error on line 5 of /etc/httpd/conf/extra/httpd-directories.conf: Invalid command 'Order', perhaps misspelled or defined by a module not included in the server configuration [FAILED]
Et le contenu de httpd-Directories.conf est:
<Directory />
Options SymLinksIfOwnerMatch
AllowOverride None
Order Deny,Allow
Deny from All
</Directory>
<Directory /home>
AllowOverride AuthConfig FileInfo Indexes Limit Options=Includes,IncludesNOEXEC,Indexes,ExecCGI,MultiViews,SymLinksIfOwnerMatch,None
Options IncludesNoExec Includes SymLinksIfOwnerMatch ExecCGI
<Limit GET POST OPTIONS PROPFIND>
Order allow,deny
Allow from all
</Limit>
<LimitExcept GET POST OPTIONS PROPFIND>
Order deny,allow
Deny from all
</LimitExcept>
</Directory>
<Directory /var/www/html>
Options SymLinksIfOwnerMatch
AllowOverride AuthConfig FileInfo Indexes Limit Options=Includes,IncludesNOEXEC,Indexes,ExecCGI,MultiViews,SymLinksIfOwnerMatch,None
Order allow,deny
Allow from all
<IfModule mod_suphp.c>
suPHP_Engine On
suPHP_UserGroup webapps webapps
SetEnv PHP_INI_SCAN_DIR
</IfModule>
</Directory>
<Directory /var/www/cgi-bin>
AllowOverride None
Options None
Order allow,deny
Allow from all
</Directory>
Remplacez ces lignes:
Order Deny,Allow
Deny from All
Avec:
Require all denied
Assurez-vous également que ces deux modules sont chargés:
LoadModule authz_core_module modules/mod_authz_core.so
LoadModule authz_Host_module modules/mod_authz_Host.so
Source: http://systembash.com/content/Apache-2-4-upgrade-and-the-invalid-command-order-error/