At Sun, 04 Oct 2009 10:04:13 +0100 Mick <michaelkintz...@gmail.com> wrote:

> On Sunday 04 October 2009, Dirk Heinrichs wrote:
>> Am Sonntag 04 Oktober 2009 08:28:16 schrieb David Juhl:
>> > so if it is read only why can't I read?
>> > You don't have permission to access /~david16/ on this server
>>
>> Does the user that runs the server process have permissions to read from
>> tha directory?
>>
>> Bye...
>>
>>      Dirk
>
> Typically the directory would be owned by apache and the authentication on it 
> will be controlled by the apache htpasswd mechanism.  In your case you will 
> need to set:
>
>         Options FollowSymLinks
>         AllowOverride All
>
> for each directory.  The ownership of the files is less important - they can 
> be owned by any user/root/apache/etc... BUT the permissions on the directory 
> must be such so that all can access (x) and read (r) what's in it.  I'm going 
> from memory here, so you may need to try out things until you get it to work.

You also need to set USERDIR in /etc/conf.d/apache2.

APACHE2_OPTS="-D DEFAULT_VHOST -D INFO -D SSL -D SSL_DEFAULT_VHOST -D LANGUAGE 
-D USERDIR"

allan

Reply via email to