VirtualHost {
Hostname = example.com
WebsiteRoot = /srv/www/example.com
StartFile = index.php
UseFastCGI = PHP5
UseToolkit = wordpress
LoginMessage = wp-admin
}
# DIRECTORY SETTINGS
# You can specify some settings per directory.
#
Directory {
Path = /srv/www/example.com/wp-admin/
PasswordFile = digest:/etc/hiawatha/htpasswd.wp-admin
}
UrlToolkit {
ToolkitID = wordpress
Match ^/wp-admin/ PasswordFile = digest:/etc/hiawatha/htpasswd.wp-admin
RequestURI exists Return
Match .*\?(.*) Rewrite /index.php?$1
Match .* Rewrite /index.php
}