Apache mod_speling case insensitive URLs issue

前端 未结 5 725
攒了一身酷
攒了一身酷 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:04

    On Ubuntu 12.04 LTS using Apache 2.2, I did the following:

    1. Create speling.conf in ${APACHE}/mods-available to provide the config options.

      
          CheckSpelling On
          CheckCaseOnly On
      
      
    2. Link speling.conf and speling.load into the enabled modules directory ${APACHE}/mods-enabled:

      # cd ../mods-enabled
      # ln -s ../mods-available/speling.conf speling.conf
      # ln -s ../mods-available/speling.load speling.load
      
    3. Restart the server.

      # service restart apache2
      

提交回复
热议问题