- 论坛徽章:
- 0
|
[root@proxy conf]# ps -ef | grep 'httpd'
root 13841 1 0 14:44 ? 00:00:01 /usr/local/apache2/bin/httpd -k start
daemon 14106 13841 0 14:56 ? 00:00:00 /usr/local/apache2/bin/httpd -k start
daemon 14107 13841 0 14:56 ? 00:00:00 /usr/local/apache2/bin/httpd -k start
daemon 14108 13841 0 14:56 ? 00:00:00 /usr/local/apache2/bin/httpd -k start
daemon 14109 13841 0 14:56 ? 00:00:00 /usr/local/apache2/bin/httpd -k start
daemon 14110 13841 0 14:56 ? 00:00:00 /usr/local/apache2/bin/httpd -k start
root 14112 3067 0 14:59 pts/1 00:00:00 grep httpd
现在我的httpd.conf配置
ServerName 192.168.0.1:80
DocumentRoot "/home1/html"
<Directory "/home1/html">
Options Indexes FollowSymLinks
AllowOverride None
Order allow,deny
Allow from all
</Directory>
结果IE输入http://192.168.0.1出现:
Index of /
.index.html.swp
index.htm
robots.txt
点index.htm竟然是无法找到该页,我晕…… |
|