Setting up an iDisk using WebDAV

Timothy Luoma lists at tntluoma.com
Sun Dec 26 18:16:02 PST 2004


Hi.  FreeBSD newbie here.  I've installed 5.3 from ISOs.

I am trying to setup a FreeBSD "server" for a small private network, 
basically to play with Apache, MySQL, PHP, and WebDAV, to create my own 
.Mac (1) as well as setup an iTunes server (2).

I have followed the instructions at (1)

DavLockDB /var/run/webdav/DavLock

<VirtualHost *:80>
    ServerName idisk.cadillac.net
    DocumentRoot "/home/idisk"
</VirtualHost>

<Directory "/home/idisk">
    Dav on
    AuthType Digest
    AuthName iTools
    AuthDigestDomain "/"
    AuthDigestFile /usr/local/www/WebDavUsers

    <LimitExcept GET OPTIONS>
       require valid-user
    </LimitExcept>
</Directory>

(NOTE: in my setup, it is "idisk.tntluoma.com" instead of 
"idisk.cadillac.net".  That is the FreeBSD server and has a 192.168.2.x 
address per our local network.)

But when I try to connect to the machine by IP or hostname, I get:


Forbidden

You don't have permission to access / on this server.
Apache/2.0.50 (FreeBSD) DAV/2 Server at 192.168.2.2 Port 80


I've checked the permissions for /home/idisk and /var/run/webdav (both 
chmod 755).

Apache2 does run as www:www

I'm fairly new at this, so I'm pretty much at a loss as to what to try 
next.

Any help would be appreciated.

Thanks

TjL

(1) http://www.tnpi.biz/computing/mac/tips/idisk/

(2) http://home.introweb.nl/~dodger/itunesserver.html




More information about the freebsd-apache mailing list