[CalendarServer-users] apache.py basic auth patching and ticket #136

Julian Field jkf at ecs.soton.ac.uk
Wed Nov 7 13:30:37 PST 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi!

I'm trying to get the Apache htpasswd htgroup support going in
Calendar Server. I have read ticket #136 and have applied the latest
patch.

But I'm a Perl programmer and not a Python programmer :-(

What do I need to add to apache.py to make it work? I've tried adding
the defaultParams settings:
    defaultParams = {
        "userFile": "/etc/caldavd/basic",
        "groupFile": "/etc/caldavd/group",
    }

But I'm a bit unsure where to put it. When I start up my server it
gives me this:
TypeError: __init__() takes at least 3 non-keyword arguments (1 given)

The patch includes the defaultParams for xmlfile.py and
appleopendirectory.py, but not apache.py.

Can you give me any help to get over this little stumbling block please?

Many thanks!


Jules

- --
Julian Field MBCS CITP
jkf at ecs.soton.ac.uk
Teaching Systems Manager
Electronics & Computer Science
University of Southampton
SO17 1BJ, UK
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHMi59EfZZRxQVtlQRAgyBAJ4zgOHmxBol5OeW21Yqn5qcREAe0QCgsN2U
77MB+TqSPmduAxFE6Y+T0pE=
=6O27
-----END PGP SIGNATURE-----


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
For all your IT requirements visit www.transtec.co.uk



More information about the calendarserver-users mailing list