Getting Drupal 6 Clean URLs to work with Apache 2

1. Global configuration (httpd.conf)
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 (
http://server.url/admin/settings/clean-urls)
Restart your Apache server and test the settings.
 
Copyright © Twig's Tech Tips
Theme by BloggerThemes & TopWPThemes Sponsored by iBlogtoBlog