httpd.conf
#不指定主机名
Listen 80
Directory 节要有
Order allow,deny
Allow from all
其实他已经说的很清楚了
Controls who can get stuff from this server
控制谁可以从这个服务器得到的东西
从网络角度而言,你应该用 ip 访问内网机器
域名对于局域网纯粹是骗人的东西
这个是httpd.conf
<Directory "${INSTALL_DIR}/cgi-bin">
AllowOverride All
Options All
Allow from All
Require all granted
</Directory>
<Directory "${INSTALL_DIR}/www/">
Options +Indexes +FollowSymLinks +Multiviews
AllowOverride all
Allow from All
Require all granted
</Directory>