I realize this discussion is old, but thanks to Google I just found it.
For some reasons, I am not able to get Peter's PHP/Perl scripts to work.
Instead, I receive an Internal Server Error 500 when trying to access any path with the incorrect case.
===========================================================
And if it helps, here is the URL it displays in the address bar when I get the 500:
http://www.domain.com/cgi-bin/error.pl?request=http://www.domain.com/photos/BillGates/Google/Of course, the last URL is what I typed. The actual folder names are:
http://www.domain.com/PHOTOS/BillGates/Google============================================================
And here is the error:
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator,
webmaster@domain.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
============================================================
Help would be greatly appreciated.
Thanks