kali linux 啓動Apache的相關配置-log file位置

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

 

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:html

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

So just do alinux

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

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

Apache log file 位置ubuntu

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

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

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

相關文章
相關標籤/搜索