码迷,mamicode.com
首页 > 其他好文 > 详细

kali 下 apache 配置文件

时间:2014-10-08 00:55:24      阅读:648      评论:0      收藏:0      [点我收藏+]

标签:style   blog   color   ar   文件   sp   div   art   c   

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

root@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     1  0 22:56 ?        00:00:00 /usr/sbin/apache2 -k start
www-data  5772  5770  0 22:56 ?        00:00:00 /usr/sbin/apache2 -k start
www-data  5773  5770  0 22:56 ?        00:00:00 /usr/sbin/apache2 -k start
www-data  5774  5770  0 22:56 ?        00:00:00 /usr/sbin/apache2 -k start
www-data  5775  5770  0 22:56 ?        00:00:00 /usr/sbin/apache2 -k start
www-data  5776  5770  0 22:56 ?        00:00:00 /usr/sbin/apache2 -k start
root      5889  5700  0 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 中

 

kali 下 apache 配置文件

标签:style   blog   color   ar   文件   sp   div   art   c   

原文地址:http://www.cnblogs.com/diylab/p/4009987.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!