0

I have Apache’s mod_speling module enabled and can’t get lowercase URLs to work properly. This is running on Ubuntu.

Example: localhost/controller

The file name is Controller.php.

It works when I type in localhost/Controller.

Is there any way to set up Apache to use the lowercase version?

My configuration for mod_speling:

CheckSpelling On
unor
  • 92,415
  • 26
  • 211
  • 360
Brian Putt
  • 1,288
  • 2
  • 15
  • 33
  • 1
    From the docs: _“[…] by comparing each document name in the requested directory against the requested document name __without regard to case__, and allowing __up to one misspelling__ (character insertion / omission / transposition or wrong character)”_ – so I think it’s not actually mod_speling making the correction from `Controller` to `Controller.php` for you here, because that’s more than __one__ misspelling; it think that’s rather MultiViews that is resonsible for _that_. – CBroe Feb 28 '14 at 16:47
  • @CBroe thanks for that...Sucks that it only allows up to one misspelling. I ended up using symlinks until I switch to good ole nginx – Brian Putt Feb 28 '14 at 21:09

0 Answers0