This manual is deprecated. Please visit https://groupoffice.readthedocs.io for the latest documentation.

Difference between revisions of "Moving Group-Office from it's default location"

From Group-Office Groupware and CRM Documentation
Jump to: navigation, search
(New page: By default Group-Office is located on http://yourhost/groupoffice/. You might want to move that to http://yourhost/. Take the following steps to do this: Create /etc/apache2/sites-enabled...)
 
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
By default Group-Office is located on http://yourhost/groupoffice/. You might want to move that to http://yourhost/. Take the following steps to do this:
 
By default Group-Office is located on http://yourhost/groupoffice/. You might want to move that to http://yourhost/. Take the following steps to do this:
  
Create /etc/apache2/sites-enabled/yourhostname.com :
+
Edit /etc/apache2/sites-enabled/000-default and change:
 
+
 
<pre>
 
<pre>
<VirtualHost *:80>
 
 
DocumentRoot /usr/share/groupoffice
 
DocumentRoot /usr/share/groupoffice
ServerName yourhostname.com
 
</VirtualHost>
 
 
</pre>
 
</pre>
  
Line 16: Line 12:
  
 
There might be a full_url property too. If it's there change it too.
 
There might be a full_url property too. If it's there change it too.
 +
 +
<b>Note:</b> If you also installed the groupoffice-mailserver package and you're moving the main Group-Office installation, you need to update /etc/groupoffice/globalconfig.inc.php too. There's a variable $config['serverclient_server_url'] that points to the main Group-Office URL that needs to be updated.

Latest revision as of 13:34, 21 June 2011

By default Group-Office is located on http://yourhost/groupoffice/. You might want to move that to http://yourhost/. Take the following steps to do this:

Edit /etc/apache2/sites-enabled/000-default and change:

DocumentRoot /usr/share/groupoffice

Edit /etc/groupoffice/config.php and change the following value:

$config['host']="/";

There might be a full_url property too. If it's there change it too.

Note: If you also installed the groupoffice-mailserver package and you're moving the main Group-Office installation, you need to update /etc/groupoffice/globalconfig.inc.php too. There's a variable $config['serverclient_server_url'] that points to the main Group-Office URL that needs to be updated.