I am trying to make my website case unsensitive so that when users enter the subfolder /test/ or /Test/ of the website they have the same result. How can I do this? PLEASE HELP !!! Here is part of my code and what I have tried but with no luck since nothing happens:
server
{
listen bla.bla.bla.bla:80;
server_name myserver.pt;
index index.html index.htm index.php;
root /www/wwwroot/myserver.pt/;
#This below is what is supposed to
#make it case unsensitive what did I do wrong?
location / {
location ~* ^/Test/ {
}
}
#error_page 404 /404.html;
include enable-php.conf;
location ~ .*\.(gif|jpg|jpeg|png|bmp|swf)$
{
expires 30d;
}