kali 下 apache 配置文件
默认的可执行文件 /usr/sbin/apache2root@ty:/etc/init.d# netstat -anp |grep apache
tcp6 0 0 :::80 :::* LISTEN 5770/apache2
root@ty:/etc/init.d# ps -ef |grep 5770
root 5770 10 22:56 ? 00:00:00 /usr/sbin/apache2 -k start
www-data577257700 22:56 ? 00:00:00 /usr/sbin/apache2 -k start
www-data577357700 22:56 ? 00:00:00 /usr/sbin/apache2 -k start
www-data577457700 22:56 ? 00:00:00 /usr/sbin/apache2 -k start
www-data577557700 22:56 ? 00:00:00 /usr/sbin/apache2 -k start
www-data577657700 22:56 ? 00:00:00 /usr/sbin/apache2 -k start
root 588957000 23:09 pts/3 00:00:00 grep 5770
root@tytz:/etc/init.d#
默认的配置文件 /etc/apache2/apache2.conf
默认的虚拟目录/.var/www
虚拟目录的配置文件在/etc/apache2/sites-available/default 中
页:
[1]