Windows and case sensitivity

(Paul Hodges) #1

I use Windows (and I’m not alone). This means that my webserver is able to serve paths without any case sensitivity.

However, I have realised that some unexpected results in my testing of rewrites have been because of case differences which don’t matter in serving files normally, but which mess up rewrites if there is any case discrepancy.

If I were programming the regexes concerned, I guess I would use the i modifier to specify case insensitivity. Is there a possibility of either including this in Windows compilations, or having a caddyfile flag to enable it if required?

EDIT:
On reflection, this is less important to me than I first thought. Sure, it caught me out, but I have been able to fix the issue I had easily enough.

Sorry for the noise.

(system) closed #2

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.