I am using VisualSVN Server that installs an Apache server.
In the below example
<Location /MyIISWebSite>
ProxyPass https://my-domain.com:8443/MyIISWebSite
ProxyPassReverse https://my-domain.com:8443/MyIISWebSite
</Location>
how do I make the
<Location /MyIISWebSite >
to be case insensitive in order to match all combinations (like myiiswebsite, MYIISWEBSITE, ...) ?
Standard behavior: Windows file system treats file and directory names as case-insensitive.
6. NGINX location RegEx Case Sensitive Match. The modifier ~ in the following location block results in a case sensitive regular expression match but doesn't stop searching for a better match.
Anything that is not case-sensitive means that any uppercase or lowercase character can be entered. For example, the Windows command line or MS-DOS is not case-sensitive, however, the Linux command line is case sensitive.
Use LocationMatch with a case-insensitive regex modifier, like so:
<LocationMatch "(?i)/MyIISWebSite">
...
</LocationMatch>
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With