Mozilla Weave 1.0 Minimal Install on Dreamhost: Fail
The 1.0 release yesterday seemed like a great time to try Weave again. Following the big bold suggestion at the top of https://wiki.mozilla.org/Labs/Weave/Sync/1.0/Setup, I hit up http://tobyelliott.wordpress.com/2009/09/11/weave-minimal-server/ and tried to install my own instance. Alas, Dreamhost bested me. Too tired to fully explain why, but quickly:
- Dreamhost doesn’t allow “Alias” directives in .htaccess (either that, or you can only have Alias directives in httpd.conf/apache.conf, in a VHost block; whatever, the bottom line is you can’t use it).
- You somehow need to map some path to a PHP file. That is, something like “host.com/weave/a/b/c” is actually supposed to be a request to “host.com/weave/install/dir/index.php” with a bunch of extra URI stuff after it (in this example, “/a/b/c”). Don’t worry, this sentence doesn’t make sense to me either.
- Apache rewrite rules are confusing enough, but factor in PHP processing, and it’s more than I can figure out right now.
Damned shame, from the instructions it sounded like it would take 10 minutes, max. <sigh/> Will try again another day. Gods, I hope somebody else figures it out by then.
I’ve been trying too. I’m not a web developer either, but this shouldn’t be too hard.
So far:
ln -s weave_minimal weave
mv weave_minimal weave
and using Dreamhosts sub-dir remapping all don’t work. I think some combination of remapping and .htaccess calls to mod_rewrite are needed. I’ll let you know if I find anything.
Yeah, please let me know. It’s annoying frustrating.