kali linux apache2

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