在环境正常的情况下,有一个别人的php项目,然后将它放在了htdocs目录下,然后开启了服务,在浏览器里输入了本地地址,可是出现 的情况,所以怎么才能在xampp的环境下打开php项目?
回复讨论(解决方案) 你要配置多域名才可以直接访问。
我用的xampp 的话也是按照apache的配置方法配置吗?
在httpd.conf 找到 directory 那一节设置,改为下面的试试。(改完记得重启下apache)
#options followsymlinks
options indexes followsymlinks includes execcgi
allowoverride all
order deny,allow
allow from all
在httpd.conf 找到 directory 那一节设置,改为下面的试试。(改完记得重启下apache)
#options followsymlinks
options indexes followsymlinks includes execcgi
allowoverride all
order deny,allow
allow from all
好的 大神,能告诉我这是为什么吗?