如何在 Apache2.4 中打开“Pathinfo”

问题描述

我在 Google 上尝试了所有方法,但都失败了。

httpd.conf 中的设置

<Directory "${SRVROOT}/htdocs">
    Options Indexes FollowSymLinks
    AllowOverride None
    AcceptPathInfo On
    Require all granted
</Directory>

LoadModule dir_module modules/mod_dir.so

已打开。

我也重启了Apache,但也失败了。

PHP.ini

I also restart Apache,but also fail.

我无法访问 http://localhost:63342/homework1/public/index.PHP/index/showflower

我只能访问http://localhost:63342/homework1/public/index.PHP?s=/index/showflower

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)