Changing Squirrelmail URL

Forums:

Changing the squirrelmail url path is a fairly simple process (i.e. http://mysite/squirrelmail to http://mysite/web-mail). While I originally thought I would need to copy the folders, config, etc this was not the case. Squirrelmail will create a site under the /etc/apache2/sites-available apache directory. If you navigate to this directory you will see a file called squirrelmail.conf All you need to do is change the apache alias for the path. From the /etc/apache2/sites-available directory type: sudo nano squirrelmail.conf Change the alias /squirrelmail to what you want your location to be: Alias /web-mail /usr/share/squirrelmail Hit control-x and yes to save the conf file. Then using sudo, restart the apache2 service sudo service apache2 restart You should now be able to hit the new url path for your squirrelmail alias.