Ike McMahon
asked on
PHP on IIS via Fast CGI: Is there a way to overcome file name case sensitivity?
Hello,
I am running a PHP site in IIS with Fast CGI to process the PHP. I am stuck with IIS for a variety or reasons. Question: Is there a way to set Fast CGI or IIS to ignore case sensitivity in file names? I'd like www.site.com/INDEX.php to be recongnised the same as www.site.com/index.php. I know this is not possible in Apache, but wanted to see if my configuration makes this possible.
Thanks!
Ike1492
I am running a PHP site in IIS with Fast CGI to process the PHP. I am stuck with IIS for a variety or reasons. Question: Is there a way to set Fast CGI or IIS to ignore case sensitivity in file names? I'd like www.site.com/INDEX.php to be recongnised the same as www.site.com/index.php. I know this is not possible in Apache, but wanted to see if my configuration makes this possible.
Thanks!
Ike1492
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
change it to lowercase and attempt to redirect to the lowercase address.
you would also need a check if the url is all lowercase to not redirect otherwise they would hit an infinite loop if they actually when to a incorrect page.