debian开启Apache2访问日志和报错日志
修改 000-default.conf 配置文件 在配置文件中添加两行
vim /etc/apache2/sites-enabled/000-default.conf
1 2 |
ErrorLog ${APACHE_LOG_DIR}/error.log CustomLog ${APACHE_LOG_DIR}/access.log combined |
修改 000-default.conf 配置文件 在配置文件中添加两行
vim /etc/apache2/sites-enabled/000-default.conf
1 2 |
ErrorLog ${APACHE_LOG_DIR}/error.log CustomLog ${APACHE_LOG_DIR}/access.log combined |