I currently have the following in my config file:
ServerName example.com
ServerAlias www.example.com
ServerAlias www.example.org
ServerAlias www.example.co.uk
This all works great because if I go to www.example.org/something I get redirected to http://example.com/something The only problem is that the redirection that occurs is "temporary" ie: 302 instead of 301.
How can I change this so that it will be a 301 instead while still using the very popular ServerAlias command?