douju7503 2016-03-31 09:33 采纳率: 0%
浏览 84

Apache不区分大小写。 解释扩展名.php而不是.PHP(但找到并下载)

Hello I want to perform a test and I would like to know how to configure my apache2 server (Apache/2.4.18) to be case insensitive.

When searching iNdeX.php return the page too.

I also want it to interpret all the .php files, but when search for the same file with the extension PHP in mayus, not interpret it, but search it and download the code, instead of just not finding it.

For example I browse:

localhost/index.php -> I get the page

localhost/iNDex.php -> I get the page

localhost/index.PHP -> I don't get a 404 Not Found, I download the code

Thank you in advance

  • 写回答

0条回答 默认 最新

    报告相同问题?

    悬赏问题

    • ¥30 这是哪个作者做的宝宝起名网站
    • ¥60 版本过低apk如何修改可以兼容新的安卓系统
    • ¥25 由IPR导致的DRIVER_POWER_STATE_FAILURE蓝屏
    • ¥50 有数据,怎么建立模型求影响全要素生产率的因素
    • ¥50 有数据,怎么用matlab求全要素生产率
    • ¥15 TI的insta-spin例程
    • ¥15 完成下列问题完成下列问题
    • ¥15 C#算法问题, 不知道怎么处理这个数据的转换
    • ¥15 YoloV5 第三方库的版本对照问题
    • ¥15 请完成下列相关问题!