Apache mod_speling case insensitive URLs issue

前端 未结 5 663
攒了一身酷
攒了一身酷 2021-02-05 10:24

I want to have case insensitive URLs using Apache\'s mod_speling module, but this is producing unwanted lists of \"multiple options\" whilst the Apache documention

5条回答
  •  遥遥无期
    2021-02-05 10:55

    To enable mod_speling (either by Location or VirtualHost) use the directive:

    CheckSpelling On
    

    If all you want is case insensitivity use:

    CheckCaseOnly On
    

    You also need to have RewriteEngine enabled:

    RewriteEngine On
    

提交回复
热议问题