[root@wdOS ~]# service httpd restart
停止 httpd: [失敗]
啟動(dòng) httpd:Syntax error on line 203 of /www/wdlinux/httpd-2.2.22/conf/httpd.con f:
LogFormat takes 1-2 arguments, a log format string (see docs) and an optional fo rmat name
[失敗]
[root@wdOS ~]# service httpd restart
停止 httpd: [失敗]
啟動(dòng) httpd:Syntax error on line 203 of /www/wdlinux/httpd-2.2.22/conf/httpd.con f:
LogFormat takes 1-2 arguments, a log format string (see docs) and an optional fo rmat name
[失敗]
[root@wdOS ~]#
如果還不行,則在/www/wdlinux/apache/conf/vhost
目錄下的每個(gè)配置文件的</Virturlhost>前面增加
RewriteEngine On
RewriteCond %{REQUEST_METHOD} ^TRACE
RewriteRule .* - [F]
重起
service httpd restart
[root@wdOS ~]# service httpd restart
停止 httpd: [失敗]
啟動(dòng) httpd:Syntax error on line 203 of /www/wdlinux/httpd-2.2.22/conf/httpd.conf:
LogFormat takes 1-2 arguments, a log format string (see docs) and an optional format name
[失敗]