Enabling mod_rewrite on Amazon Linux

The LoadModule directive will load a module dynamically.

Try issuing RewriteEngine on in a virtual host followed by apachectl -t to confirm weather or not the module is actually loaded.


I just started a fresh amazon linux and had the same issue and the Options FollowSymLink were there but the next line AllowOverride None had to be changed to AllowOverride All


My configuration was correct but I needed

Options FollowSymLink

in my DocumentRoot's declaration in httpd.conf for mod_rewrite to work.