Back to homepage
Unix Tips
Email Forwarding
To forward email from an account username0@domain0 to accounts username1@domain1 and username2@domain2, put a .forward file in your home directory of username0 containing the text:
username1@domain1, username2@domain2
If you want to keep a copy in username0@domain0, the .forward file should look like
\username0, username1@domain1, username2@domain2
Auto redirect
To have an automatic redirection of your homepage on http://domain0/~username0 to http://domain1/~username1, put a .htaccess file in your home directory of username0 containing the text:
Options +Indexes
Options +FollowSymLinks
RewriteEngine on
RewriteRule (.*) http://domain1/~username1/$1 [R=301,L]
The above will redirect all addresses that are maintained in the new homepage (i.e., no need to redirect each link).