安装Apache2问题
安装Apache2
编辑c:\apache2\conf\httpd.conf
找到 #NameVirtualHost *
修改为# NameVirtualHost 127.0.0.1#注意这个IP为你自己主机设的IP
找到#<VirtualHost 127.0.0.1>
# ServerAdmin xx@163.com
# DocumentRoot c:/Apache2/htdocs
# ServerName Apache2
# ErrorLog c:/Apache2/logs/error_log
# CustomLog c:/Apache2/logs/access_log common
#</VirtualHost>
[修改以上内容的时候后去掉'#',这个符号表示注释。]
进入命令提示访问符
c:\Apache2\bin>
输入apache -k install
提示错误:
Syntax error on line 971 of c:/Apache/Apache/conf/httpd.conf:
ErrorLog takes one argument,The filename of the error log
怎么办?
多谢!