Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 26 Dec 2004 21:15:05 -0500
From:      Timothy Luoma <lists@tntluoma.com>
To:        apache@FreeBSD.org
Subject:   Setting up an iDisk using WebDAV
Message-ID:  <1FA5E2DA-57AD-11D9-8DCA-000D93AD26C8@tntluoma.com>

next in thread | raw e-mail | index | archive | help

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1FA5E2DA-57AD-11D9-8DCA-000D93AD26C8>