PHP+Apache访问?
我在windows2003下安装了wamp开发工具,我的项目只能用localhost访问,而不能用ip地址来访问?
用localhost访问可以出现正确的页面,而用ip来访问的时候报
apache出现You don't have permission to access / on this server.
错误,在网上找了一下别人都说把http.conf中的
<Directory />
Options FollowSymLinks
AllowOverride None
Order deny,allow
Deny from all
</Directory>
该为:
<Directory />
Options Indexes FollowSymLinks
AllowOverride None
</Directory>
就解决了
可是我用IP来访问的时候还是出现像这样的错误...
谢谢你们的回答....