Clean URLs with Hiawatha

Last updated on
30 April 2019

Drupal 7 will no longer be supported after January 5, 2025. Learn more and find resources for Drupal 7 sites

Hiawatha Webserver offers URL rewriting via the URL Toolkit. The required toolkit rule for your Drupal website is:

UrlToolkit {
    ToolkitID = drupal
    RequestURI isfile Return
    Match ^/favicon.ico$ Return
    Match /(.*)\?(.*) Rewrite /index.php?q=$1&$2
    Match /(.*) Rewrite /index.php?q=$1
}

VirtualHost {
    Hostname = www.yoursite.org
    WebsiteRoot = /path/to/drupal
    ...
    UseToolkit = drupal
}

Help improve this page

Page status: No known problems

You can: