Weave server 0.5 and weave client 0.6
Par Mathieu Feulvarc'h le samedi, septembre 5 2009, 12:56 - Configuration - Lien permanent
Recently, I upgraded my weave client to version 0.6.
Weave is a client/serveur solution allowing you to save and synchronize all your firefox data to a server (more information about the client here and about the server here). You can use Mozilla servers (look here) or your own if you want to handle data locally.
That's the solution I choose: set up my own weave server
Setting up things was a real pain in the ass so I decided to share with you my configuration files:
- virtualhost configuration file:
<VirtualHost *>
ServerAdmin webmaster@XXXX.net
Alias /0.3/user /var/www/XXXX/server/index.php
Alias /weave/admin /var/www/XXXX/server/admin.php
Alias /0.5 /var/www/XXXX/server/0.5/index.php
Alias /user/1 /var/www/XXXX/server/user/1/index.php
Alias /misc/1/captcha_html /var/www/XXXX/server/misc/1/captcha.php
ServerName XXXX.YYYYY.net
DocumentRoot /var/www/XXXX/server/
<Directory /var/www/XXXX/server/>
Options Indexes FollowSymLinks
AllowOverride none
Order allow,deny
Allow from all
AuthName "Weave Storage"
AuthType Basic
AuthUserFile /var/www/XXXX/users_pass
require valid-user
</Directory>
ErrorLog /var/log/apache2/XXXX.YYYY.net-error.log
# Possible values include: debug, info, notice, warn, error, crit,
# alert, emerg.
LogLevel warn
CustomLog /var/log/apache2/XXXX.YYYY.net-access.log combined
ServerSignature On
</VirtualHost>
Download the latest version of Mozilla weave server. and install it (mine is stored at /var/www/XXXX/server)
Follow the instructions here and after here.
Something important is written in the documentation:
- Edit user/1/weave_user_constants.php and find line
if (!defined('WEAVE_REGISTER_STORAGE_LOCATION')) { define('WEAVE_REGISTER_STORAGE_LOCATION', null); }
Change "null" to your domain name such as "'XXXX.YYYY.net'" if you have only one server location
- If your server is HTTP based and not HTTPS based, don't forget to change all URL reference from https to http.
Hope this will help all of you.




Commentaires
Thanks for that, it was usefull.
zoug