Hi All,

I've recently started using mod_dav_acl[1] and mod_caldav[2] for calendaring purposes. These modules works very well, however, mod_dav_acl currently requires a patch to be applied to the apache core code in order to expose some hooks from the DAV subsystem, as per the README from mod_dav_acl:

-requires patches to Apache, mostly to mod_dav module, patch(es) included.
Patch contains strong ETag handling, usec timestamps to ETags (libapr-patch),
conditional PUTs (fixed after 2.2.8) and some hooks to allow integration of
ACL handlings. Apply the patch to Apache sources and compile it before using
this module.

I believe the first part of that is no longer the case as the patch I'm using now (attached) only touches httpd-2.2.8/modules/dav/fs/repos.c and httpd-2.2.8/modules/dav/main/mod_dav.c.

The changes to repos is somewhat unclear for me but still seems to affect ETag handling (I can probably live without this), the changes to mod_dav.c seems to be there mostly to add the hooks and extra functionality that mod_dav_acl requires, but for some reason cannot be external to mod_dav.c (don't ask me why, I won't pretend to understand half of the code bases in question)

I'm not sure if the approach being taken by the author of mod_dav_acl is correct in terms of the patch being applied to httpd, if there is a better way to approach the problem, or if there is a better place for discussion please advise, I'd be happy to file bugs against either httpd or mod_dav_acl, and quite possibly write some code, to get to the point where I don't need to custom-patch either side to make this work, and that they can both live in harmony and happy ever after.

I'm attaching the suggested patch, I hope this is in order. The patch does apply cleanly to httpd-2.2.21, which I believe is currently the newest "stable" version.

Kind Regards,
Jaco

[1] http://moddavacl.sourceforge.net/
[2] http://modcaldav.sourceforge.net/

Attachment: httpd-2.2.8-ju.patch.gz
Description: application/gzip

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
   "   from the digest: users-digest-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org

Reply via email to