0
我目前的环境是:Debian,apache2 & php5。Apache2 - 为什么“http:// localhost/index”重定向到“http://localhost/index.php”?
当我浏览"http://localhost/index"
时,将执行"http://localhost/index.php"
脚本。
如果我不想这样做,是否需要更改apache的配置?如果是的话,我该怎么做?
你可以发布你的虚拟主机或.htaccess文件的本地主机(默认域)? – 2011-04-30 10:41:55