middleman-s3_sync
middleman-s3_sync copied to clipboard
Add support for Case Sensitive Redirects On MAC OSX
When I add below redirect rule I end with an infinite redirect loop.
redirect 'cts/index.html', to: '/CTS/'
After doing some research it looks like Mac OSX filesystem is case insensitive which means if I create CTS directory behind the scene it also creates a cts folder and both directories are kept in sync. When I add the redirect rule middleman_s3sync end up replacing my html file with the redirect one hence the infinite loop.
Is it possible to support case sensitive redirects on UNIX/MAC OSX?