Redirecting SOGo URL

In most cases you will like to redirect your URL to easy connect the web-interface with the outside. To do this follow these steps for DEBIAN systems:

 sudo a2enmod rewrite

Next, go to your apache directory and edit the .conf file. In most cases that will be apache2.conf or httpd.conf or similar.

 sudo nano /etc/apache2/apache2.conf

Search for or enter the line

 LoadModule rewrite_module modules/mod_rewrite.so

and un-comment it or write it you self into the file.

Also change the lines AllowOverwrride NONE to AllowOverride ALL

Edit you .htaccess file and enter the following

 nano /var/www/html/.htaccess
 Redirect / https://the.new.site/you/want/to/go

Restart the server with:

 servie apache2 restart

That's all.



Your ArtIT Team

BACK