问题:使用localhost可以访问,但是使用自己的IP地址不行,显示:
apache You don't have permission to access / on this server.
解决办法:httpd.conf里边
<Directory />
Options FollowSymLinks
AllowOverride None
Order deny,allow
Deny from all
</Directory>
Options FollowSymLinks
AllowOverride None
Order deny,allow
Deny from all
</Directory>
等都是 Deny from all
改为allow from all就行了。