VirtualHost {
Hostname = mydomain.com
UseToolkit = redirect
...
}
VirtualHost {
Hostname = www.mydomain.com
...
}
UrlToolkit {
ToolkitID = redirect
Match ^/(.*) Redirect http://www.mydomain.com/$1
}
VirtualHost {
Hostname = www.mydomain.com, mydomain.com
...
}
VirtualHost {
Hostname = mydomain.com, mywebsite.com, blabla.com
...
}
<?php
header("Location: http://www.".$_SERVER["HTTP_HOST"].$_SERVER["REQUEST_URI"]);
?>
UrlToolkit {
ToolkitID = redirect
Match .* Rewrite /index.php
}