[root@wdOS ~]# service httpd restart
停止 httpd: [失败]
启动 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: [失败]
启动 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
目录下的每个配置文件的</Virturlhost>前面增加
RewriteEngine On
RewriteCond %{REQUEST_METHOD} ^TRACE
RewriteRule .* - [F]
重起
service httpd restart
[root@wdOS ~]# service httpd restart
停止 httpd: [失败]
启动 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
[失败]