Apache mod_speling case insensitive URLs issue

前端 未结 5 664
攒了一身酷
攒了一身酷 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 11:14

    Do you really want case insensitive URL?
    Why not just force lowercase urls, like this?

    RewriteEngine On
    RewriteMap lc int:tolower
    RewriteRule (.*) ${lc:$1} [R]
    

    Have a look at http://www.issociate.de/board/post/265865/make_URL

提交回复
热议问题