首页 > 代码库 > kali 下 apache 配置文件

kali 下 apache 配置文件

默认的可执行文件 /usr/sbin/apache2

root@ty:/etc/init.d# netstat -anp |grep apachetcp6       0      0 :::80                   :::*                    LISTEN      5770/apache2    root@ty:/etc/init.d# ps -ef |grep 5770root      5770     1  0 22:56 ?        00:00:00 /usr/sbin/apache2 -k startwww-data  5772  5770  0 22:56 ?        00:00:00 /usr/sbin/apache2 -k startwww-data  5773  5770  0 22:56 ?        00:00:00 /usr/sbin/apache2 -k startwww-data  5774  5770  0 22:56 ?        00:00:00 /usr/sbin/apache2 -k startwww-data  5775  5770  0 22:56 ?        00:00:00 /usr/sbin/apache2 -k startwww-data  5776  5770  0 22:56 ?        00:00:00 /usr/sbin/apache2 -k startroot      5889  5700  0 23:09 pts/3    00:00:00 grep 5770root@tytz:/etc/init.d# 

 

默认的配置文件 /etc/apache2/apache2.conf

 

默认的虚拟目录  /.var/www

 

虚拟目录的配置文件在/etc/apache2/sites-available/default 中

 

kali 下 apache 配置文件