[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: WebDAV apache2



On Sat, Apr 01, 2006 at 02:35:52PM -0500, Stephen wrote:
} I'm attempting to install webDAV on a Sarge box with Apache2. I've
} enabled DAV via my sites-enabled with the following syntax:
} 
} 	                Alias /~steve123 /home/steve123/public_html
} 			<Location /~steve123>
} 			 DAV On
} 			 AuthType Digest
} 			 AuthName "webdav-public_html"
} 			AuthDigestFile /home/steve123/digest-password
} 		        Require valid-user
} 			</Location>
} 
} It works in the sense that I can log via a DAV client, however I cannot
} add or delete anything. I've tried this with two clients, cadaver and
} Dreamweaver 8.
} 
} Does anyone have an idea of where, I set the permissions, in order for
} WebDAV to work in terms of being able to delete and add ?

The Apache2 config looks right. My suspicion is that your public_html
directory is owned by your user account and its (filesystem) permissions do
not allow the apache user (usually www-data) to make changes. The Apache
process runs as www-data and WebDAV does not switch users (nor should it). 

If you want a directory to be available via WebDAV, it should be owned by
www-data:www-data and should have at least 0700 permissions. You should
make any changes to the directory over WebDAV, and not directly through the
filesystem.

} Thanks.
} P.S. I'm not subscribed to the list, so "cc's" are appreciated.
} Regards
} Stephen
--Greg



Reply to: