Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Maybe a solution for some?' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Maybe a solution for some?
Authored by: m7n on Sep 13, '02 01:12:44PM

Sweet thread. Thanks to the original poster. I've been wanting to acheive iDisk-like functonality for a while as there's only 17 days left on my .Mac account.

So I followed original instructions, made the DAVLockDB relocation change suggested by ehowe, and still ran into the same problems as ricklin with the authorization stuff in the <Directory>area preventing apache from restarting. (same errors as described by ricklin)... I could get DAV to work by commenting out the authorization lines, but of course wanted to have some security on the folder.

Anyway, I found a possible solution at the WebDAV.org site that worked for me. (http://www.webdav.org/mod_dav/install.html#apache). It basically involves not including anything at all in the <Directory> tags, and moving them to a new <Location> set... here's what I included in my httpd.conf file:

<Location /dav>
Dav On
AuthName 'WebDAV'
AuthType Basic
AuthUserFile /etc/httpd/.htpasswd
<LimitExcept GET HEAD OPTIONS>
require valid-user
</LimitExcept>
</Location>

(this section was added right after the #<Location /cgi-bin/phf*> ... </Location> section that was already written in my httpd.conf file.)

After making this modification, apache would restart, and I could publish/subscribe to and from the dav folder, mount it on my desktop at work, when using a user and pass that I'd set up.

Apparently this authentication method is still insecure, so I'm trying to learn how to use a better method (like the one described by professor.) For now, at least I'm making a little progress and learning a lot.

I do have virtual hosts set up on my server, which could have been the cause for the original problems. Also, I'm running 10.2.

m7n



[ Reply to This | # ]