Create a case-insensitive apache alias

apache-2.2mod-alias

I am currently using Apache 2.4.4. Now, the problem is that when I am creating alias like

Alias /mysite "D:/MySite"

it doesn't work for http://127.0.0.1/MySite. So how can I make it case insensitive?

Best Answer

Not with Alias but it should work with AliasMatch like this:

AliasMatch (?i)^/MySite(.*) "D:/MySite/$1"