kali linux 启动Apache的相关配置-log file位置

≡放荡痞女 提交于 2020-03-01 14:57:14

You need to change the DocumentRoot setting in your httpd.conf file. Chances are it will be under something like /etc/apache2/conf/httpd.conf

 

In my Ubuntu 14.04  LTS and kali2 linux , the document root was set to /var/www/html. It was configured in the following file:

/etc/apache2/sites-available/000-default.conf

So just do a

sudo nano /etc/apache2/sites-available/000-default.conf

http://stackoverflow.com/questions/5891802/how-do-i-change-the-root-directory-of-an-apache-server

Apache log file 位置

By default, /var/log/apache2/error.log.

This can be configured in /etc/php5/apache2/php.ini.

http://askubuntu.com/questions/14763/where-are-the-apache-and-php-log-files

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!