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
Its a three step process
Configure apache mod_rewrite,run in terminal. sudo a2enmod rewrite
add the following code to /etc/apache2/sites-available/default
DocumentRoot /var/wwwOptions FollowSymLinks AllowOverride All Options Indexes FollowSymLinks MultiViews AllowOverride All Order allow,deny allow from all
3.Restart apache
/etc/init.d/apache2 restart