Search for
#
# This should be changed to whatever you set DocumentRoot to.
#
and change "AllowOverride None" to "AllowOverride All".
You now have the option to load the "rewrite_module" globally (for all sites) or just a specific vhost.
2. a) Load module globally (httpd.conf)
Search for "#LoadModule rewrite_module modules/mod_rewrite.so" and uncomment it.
2. b) Per virtual host (conf/extra/httpd-vhosts.conf)
Search for your vhost and add "LoadModule rewrite_module modules/mod_rewrite.so".
3. Test settings (
Restart your Apache server and test the settings.