Enable clean URLs for better search engine indexing and make user friendly URLs
Note the following directions do not adequately cover everything that needs to be included in a site's Apache configuration file to make
Note: This article needs to be updated for Debian "Etch" and "Lenny" releases. (as of March 2009)
There are two methods for setting up Drupal 5.x/6.x with Apache on Ubuntu. The first (preferred) method edits the virtual host
To set up clean URLs above web document root on virtual private servers, you need to change a setting in httpd.conf.
Hiawatha Webserver offers URL rewriting via the URL Toolkit. The required toolkit rule for your Drupal website is:
Drupal can display brief, "clean" URLs like those at drupal.org. For Apache sites, mod_rewrite powers this feature. On IIS you'll use
There is a free version called ISAPI_Rewrite Lite that should get clean URLs working for IIS.
This document explains how to configure clean URLs for Lighttpd.
For Mac OS X Server 10.4 (Tiger Server) and most likely previous versions as well, do not make changes to /etc/httpd/httpd.conf expecting
WAMP needs a small change to make the Clean URLs work with it.
Clean URLs works out of the box on current XAMPP. However, you probably need to set the rewrite base in the .htaccess file. Uncomment the
Setting Clean URL with https(SSL) for the backend and http for the front end when Drupal is in a subdirectory/ subdomain.