Weave Minimal Server update

0 views
Skip to first unread message

Toby Elliott

unread,
Nov 11, 2009, 2:22:27 PM11/11/09
to mozilla-labs-we...@googlegroups.com
I've updated the server so that it'll be compliant with the upcoming
1.0 beta release. There are three ways to play along at home, in order
of most difficult first:

1) grab http://people.mozilla.com/~telliott/weave_minimal.tgz and do a
fresh install. Ick. That's way too much hassle.

2) grab http://people.mozilla.com/~telliott/weave_minimal.tgz, untar
it somewhere and replace the index.php file in your weave_minimal
folder.

3) Go to your current install and change index.php line 119 from

if ($version != '0.5')

to
if ($version != '0.5' && $version != '1.0')


Yeah, it really is that straightforward. And it's backwards compatible!

Working on documentation for the full server install. Unfortunately,
that one is a lot more complicated, especially if you're using mysql.

Toby


Ed Marshall

unread,
Nov 18, 2009, 11:29:13 AM11/18/09
to Mozilla Labs Weave Server Users
On Nov 11, 1:22 pm, Toby Elliott <telli...@mozilla.com> wrote:
> I've updated the server so that it'll be compliant with the upcoming  
> 1.0 beta release.

FYI, this seems to work perfectly under lighttpd; rather than the
typical "Alias /weave ..." entry, you end up with something like:

alias.url = ("/weave" => "/path/to/weave_minimal/index.php")

Also, you might want to adjust README slightly: if you set
extensions.weave.serverURL to "https://servername/weave" instead of
"https://servername/weave/" (note trailing slash), you'll end up with
the weave extension requesting urls that look like "https://servername/
weaveuser/1/...". :-) You could probably fix it acceptably by adding a
trailing slash to the alias as well.

Otherwise, it's about as straightforward as can be. Thanks for writing
this!

--
Ed Marshall <e...@logic.net>
Felix qui potuit rerum cognoscere causas.
http://esm.logic.net/
Reply all
Reply to author
Forward
0 new messages