<Directory "D:/apache/Apache2/htdocs">
......
#
# ErrorLog: The location of the error log file.
# If you do not specify an ErrorLog directive within a <VirtualHost>
# container, error messages relating to that virtual host will be
# logged here. If you *do* define an error logfile for a <VirtualHost>
# container, that host's errors will be logged there and not here.
#
ErrorLog logs/error.log
配置好目录和log文件.
我的是WIN OS下的,故是"D:\..."