My htaccess file works on localhost but doesn\'t work when i deploy it to EC2 instance.
I\'m using Macbook and in finder i cannot see the htaccess file, i thought t
By default EC2 doesn't have .htaccess enabled, you must edit your httpd.config to allow for it.
In /etc/apache/sites-available/default change AllowOverRide = None to AllowOverRide = All.