Sagacious Himself — brevity in circumlocution: never blague — suffering genius

December 7, 2008

setup modified Mozilla Weave on cPanel web disk with apache 2.0.63

Filed under: CIO,DARPA,firefox,Geeky goodness — Sagacious Himself @ 12:17 am

(1) login  to cPanel 11

(2) web disk (borked webDAV)

(3) username: XXX (in subdomain for me)

(4a) path can be above public_html

(4b) path: /public_html/[subdomaindir]/_isolateuser1/

(4c) optionally enable basic auth, but no for now

(4d) cPanel will report username creation as XXX@sub.domain.int but you’ll be proving only XXX for sanity to weave extension

(5) in FTP client (FlashFXP) navigate to directory containing selected subdomain and user in (3)

(6a) create an XXX subdirectory — weave will assume it exists

(6b) create:  XXX/crypto, XXX/keys, XXX/meta

(6c) inside XXX/meta create a version file containing only the number 3

(7a) modify the latest weave XPI ( http://people.mozilla.com/~cbeard/weave/dist/ ): append dot zip to filename, open in WinRAR or equivalent,

(7b) in install.rdf change em:name to something like “weave [mywebhostprovider]”,

(7c) in \defaults\preferences\sync.js set extensions.weave.serverURL to http://sub.domain.int:2077 — without the cPanel  port one would have great fun with paths

(7d)  in \defaults\preferences\sync.js set extensions.weave.username to XXX

(7e) if creating a modified XPI for multiple profile- or person use skip 7d and enter username on weave use post install

(8) change addon’s file extension back to XPI

(9) drag XPI into firefox, yada yada, restart firefox

(10) BEFORE singing into weave, weave:preferences, data tab: tick only bookmars — to simplify testing for you

(11) if 7e then enter XXX, if not XXX should be already entered … weave:sign in, enter password, tick save, sign in

.

+ iterate 4b: _isolateuser[N] for each person’s account or name to suit

+ AFTER you can login and PUT files without error then enable basic auth for the directory in 4b

cPanel 11.23.x
PHP 5.2.x
linux 2.6.18*
weave xpi: 0.2.92

DAV explorer (user: XXX@sub.domain.int)

========= Outbound Message =========

OPTIONS / HTTP/1.1

Host: sub.domain.int:2077

Connection: TE

TE: trailers, deflate, gzip, compress

User-Agent: UCI DAV Explorer/0.91 RPT-HTTPClient/0.3-3E

Translate: f

Accept-Encoding: deflate, gzip, x-gzip, compress, x-compress

Authorization: Basic [hash]

========= Inbound Message =========

HTTP/1.1 200 OK

Date: [date]

Server: cPanel

Content-Length: 0

Connection: Keep-Alive

Keep-Alive: timeout=15, max=100

Allow: UNLOCK,HEAD,MOVE,OPTIONS,LOCK,POST,PUT,COPY,TRACE,MKCOL,GET,DELETE,PROPFIND

Content-Type: httpd/unix-directory

DAV: 1,2,<http://apache.org/dav/propset/fs/1&gt;

Keep-Alive: timeout=15, max=96

MS-Author-Via: DAV

SkyDrive is now 25 gigs but no WebDAV … gladinet? instead of livesync

DCP

.

files PUT up nicely…   funky GET fail

Advertisements

1 Comment »

  1. […] extension can PUT files to cPanel web disk, but cannot GET files from cPanel web disk (inside public_html) […]

    Pingback by setup modified Mozilla Weave on cPanel web disk with apache 2.0.63 « Sagacious Himself — now with humility - brevity in circumlocution — December 17, 2008 @ 10:27 pm


RSS feed for comments on this post. TrackBack URI

Leave a civil reply. We strongly recommend you always adblock the interweb. You have no right to be published here. Abuse will be redacted or transmogrified. Please refer to CONTACT page for terms, details, or special considerations such as private comments: himself.wordpress.com/contact/

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Blog at WordPress.com.

%d bloggers like this: