I have spent the last two hours searching the internet for a solution to this with no luck.
I have a URL that calls a cgi script and that URL contains a ? character. See below:
/DirectoryName/CGIscript.cgi?param=5
All I want to do is change the directory name to all lower case and leave the rest of the URL alone. See below:
/directoryname/CGIscript.cgi?param=5
I have tried multiple RewriteRules but in every case, the rewritten URL always has the string "CGIscript.cgi" removed from it. I found several posts that suggest the ? in the URL is causing the problem. I have found no solution so far. Does anybody have any suggestions?