Recently, Mozilla foundation released a new version of Mozilla Weave server (version 1.0). You can download the latest version on this website and read the ...documentation... on the dedicated wiki.
I have to say that, using the full version, I spent almost 3 days on trying to update my previous installation and have something I can use.
So I decided, again, to share with you my configuration files so that people can install their personal weave server.
Virtualhost configuration file:
<VirtualHost *>
ServerAdmin webmaster@metabaron.net
Alias /1.0 /var/www/mozilla/server/sync/1.0/index.php
Alias /user/1 /var/www/mozilla/server/user/1/index.php
Alias /misc/1/captcha_html /var/www/mozilla/server/misc/1/captcha.php
ServerName mozilla.metabaron.net
DocumentRoot /var/www/mozilla/server/
<Directory /var/www/mozilla/server/>
Options Indexes FollowSymLinks
AllowOverride none
Order allow,deny
Allow from all
</Directory>
ErrorLog /var/log/apache2/mozilla.metabaron.net-error.log
# Possible values include: debug, info, notice, warn, error, crit,
# alert, emerg.
LogLevel warn
CustomLog /var/log/apache2/mozilla.metabaron.net-access.log combined
ServerSignature On
</VirtualHost>
weave_user_constants.php file:
Change
if (!defined('WEAVE_REGISTER_STORAGE_LOCATION')) { define('WEAVE_REGISTER_STORAGE_LOCATION', 'null'); }
to
if (!defined('WEAVE_REGISTER_STORAGE_LOCATION')) { define('WEAVE_REGISTER_STORAGE_LOCATION', 'XXX.metabaron.net'); }
Important:
If you are using, as I'm using, a HTTP server and not a HTTPS, find all references to https and change them for http
If you don't want to use Captcha when registering a new user, change
if (!defined('WEAVE_REGISTER_USE_CAPTCHA')) { define('WEAVE_REGISTER_USE_CAPTCHA', 0); }
to
if (!defined('WEAVE_REGISTER_USE_CAPTCHA')) { define('WEAVE_REGISTER_USE_CAPTCHA', 1); }
Of course, you'll have to change the databases tables for the new one (read the wiki documentation).
If you already have a user, you'll only have to select Start over from the preferences and point to your custom server, your user will be recreated on the weave server and your data uploaded on the new weave installation.
I hope this will help some of you.