~$ wget http://people.mozilla.org/~telliott/weave_minimal.tgz
~$ tar fxz http://people.mozilla.org/~telliott/weave_minimal.tgz
~$ mv weave_minimal weave
~$ cd weave
README index.php weave_storage.php
~/weave$ cat README
Add the following line to your apache config:
Alias /weave /<path to this folder>/index.php
Restart your apache server. Point your browser at
Enter "blah" for the username and garbage for the
pwd. Auth will fail, but it will create the db
(you can cancel the subsequent request for auth).
You should now see a file called weave_db in the
You can create and delete users by running the
in about.config, set extensions.weave.serverURL to
You can run it under http, but this is insecure and
/etc/apache2$ sudo a2enmod ssl
Enabling module ssl.
See /usr/share/doc/apache2.2-common/README.Debian.gz on how to configure SSL
and create self-signed certificates.
Run '/etc/init.d/apache2 restart' to activate new configuration!
/etc/apache2$ gunzip -c /usr/share/doc/apache2.2-common/README.Debian.gz | less
To enable SSL, type (as user root):
If you want to use self-signed certificates, you should install the ssl-cert
package (see below). Otherwise, just adjust the SSLCertificateFile and
SSLCertificateKeyFile directives in /etc/apache2/sites-available/default-ssl to
point to your SSL certificate. Then restart apache:
Creating self-signed certificates
If you install the ssl-cert package, a self-signed certificate will be
automatically created using the hostname currently configured on your computer.
You can recreate that certificate (e.g. after you have changed /etc/hosts or
DNS to give the correct hostname) as user root with:
make-ssl-cert generate-default-snakeoil --force-overwrite
To create more certificates with different host names, you can use
make-ssl-cert /usr/share/ssl-cert/ssleay.cnf /path/to/cert-file.crt
This will ask you for the hostname and place both SSL key and certificate in
the file /path/to/cert-file.crt . Use this file with the SSLCertificateFile
directive in the apache config (you don't need the SSLCertificateKeyFile in
SSL workaround for MSIE
The SSL workaround for MS Internet Explorer needs to be added to your SSL
VirtualHost section (it was previously in ssl.conf but caused keepalive to be
disabled even for non-SSL connections):
SetEnvIf User-Agent ".*MSIE.*" nokeepalive ssl-unclean-shutdown \
The default SSL virtual host in /etc/apache2/sites-available/default-ssl
already contains this workaround.
/etc/apache2$ sudo a2ensite default-ssl
Enabling site default-ssl.
Run '/etc/init.d/apache2 reload' to activate new configuration!
/etc/apache2$ /etc/init.d/apache2 reload
Syntax error on line 52 of /etc/apache2/sites-enabled/default-ssl:
SSLCertificateKeyFile: file '/etc/ssl/private/ssl-cert-snakeoil.key'
does not exist or is empty
/etc/apache2$ head -52 /etc/apache2/sites-enabled/default-ssl