I uploaded the .htaccess to the server and received an Error 500 (Internal Server Error).
And in the error log I had the following error:
Just an idea, this happened to me, and I've lost a lot of time trying to solve it.
If you have a directory like d:/web/my-sites/some-site/
And you place the .htaccess
on d:/web/my-sites/some-site/.htaccess
(where it supposed to be).
If you have ANY .htaccess
files before this directory, Apache reads that files, and blocks the execution of the entire path, producing an internal server error.
I.E.: You have d:/web/my-sites/.htaccess