Gabriel Scalosub

Department of Communication Systems Engineering
Ben-Gurion University of the Negev
Alon Building for High-Tech (Building 37), Room 414
P.O.B. 653 Beer-Sheva 8410501 Israel
Phone: +972-8-6477230
Fax: +972-8-6472883
Email: press here

"I hear and I forget. I see and I remember. I do and I understand."
Confucius (551 BC - 479 BC)


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).