rewrite_mod is enabled but .htaccess is not working
问题 I am using apache 2.2 in ubuntu 12.04 in Amazon EC2. I enabled mod_rewrite using sudo a2enmod rewrite and able to see with apache2ctl -M now I wrote the .htaccess code as following and is not working # Redirect everything in this directory to "good.html" Options +FollowSymlinks RewriteEngine on RewriteRule .* good.html Here is my contents of /etc/apache2/sites-available/default http://pastebin.com/urNfmqan when I add LoadModule rewrite_module modules/mod_rewrite.so to the httpd.conf I get