| |||||||||||
Setting up WebDAV on Apache Posted by John_Moylan (jfp), 7 December 2004 Anyone had any experience of setting up WebDAV?I'm sure this could be used instead of FTP for remote workers to upload files via http for colleagues, or am I barking up the wrong tree? I'd appreciate any input/gotchas from previous WebDAv users. thanks jfp Posted by admin (Graham Ellis), 8 December 2004 This is one that I've NOT tried .... can anyone else help??Graham P.S. Have you thought of uploading a file via HTTP? Works a treat for us on our courses Posted by Custard (Custard), 8 December 2004 Hi, (nice to meet you again)I think you are 'barking up the right tree'. It's supposed to be for web authoring, where you edit your web site in something like Dreamweaver and upload it via WebDAV. There's also supposed to be version control support. Bit hazy about that. Perhaps that's what the locking is for.. You should be able to upload/download and lock and delete files from a client. Here's some links I found to what looks like useful info. A Perl client: http://www.webdav.org/perldav/ The module for Apache: http://www.webdav.org/mod_dav/ Must give this a go sometime, but I have umpteen other projects on the go too.. HTH B Posted by John_Moylan (jfp), 9 December 2004 >>Must give this a go sometime, but I have umpteen other projects on the go too.. Thats exactly what this is Custard, I tend to hear about technologies, store them away in my head....then I find a problem later that it solves. thanks for the links, I'll have a read. Also found some stuff in the Apache Cookbook that was on my bookshelf If I have any success I'll post details here, I'm sure theres a florist in Melksham that would fine this useful. jfp edit: quick note on what its for. I have a friend who's a designer, she lays out pages in Quark Xpress, the editor of the magazine also does work in Quark. She's finding that the editor uses out of date versions of the Doc that she then has to re-edit/update. I'm thinking of storing the Quark doc in a webDAV dir that locks the file when its checked out by either the designer or the editor. Posted by John_Moylan (jfp), 10 December 2004 Quote:
Just a quickie, thats exactly what webDAV is Graham, using HTTP for file transfer using web facing folders, and as Custard said, there is file locking too. Looks very interesting to me Got to go, out for Chinese tonight. jfp Posted by Custard (Custard), 10 December 2004 Not the Chinese in Melksham, surely (the one next to the florists) Also, I believe the SubVersion project has a webDAV interface which may be a more featured versioning system than straight webDAV. http://subversion.tigris.org/webdav-usage.html B Posted by Custard (Custard), 12 December 2004 During the nightmare process that is PHP installation, I was looking at installing webDAV, and discovered that it comes with Apache2.What you do is... (For Solaris, at least...) unpack the source distro.. cd httpd-whatever the distro version is ./configure --prefix=/usr/local/apache --with-dav --enable-dav --enable-so make make install Then add to httpd.conf ... (Next line not required if dav is a builtin.. even though I compiled with --enable-so.. odd?) LoadModule dav_module modules/mod_dav.so DAVLockDB /usr/local/apache/dav/dav.lockDB DAVMinTimeout 600 or <Directory "/usr/local/apache/htdocs/dav"> Dav On </Directory> mkdir /usr/local/apache/htdocs/dav Whatever floats your boat, apache-wise. And add a password file... mkdir /usr/local/apache/dav chgrp www /usr/local/apache/dav chmod 775 /usr/local/apache/dav htpasswd -c /usr/local/apache/dav/htpasswd.dav webdav And.. if you're a Mac OSX user... Use Finder->Go->Connect to server http://yourserver/dav put in your username/password And you get a filer window with the DAV directory contents.. Cool! HTH (Still fighting PHP into the machine though... ) This page is a thread posted to the opentalk forum
at www.opentalk.org.uk and
archived here for reference. To jump to the archive index please
follow this link.
|
| ||||||||||
PH: 01144 1225 708225 • FAX: 01144 1225 793803 • EMAIL: info@wellho.net • WEB: http://www.wellho.net • SKYPE: wellho |