webdav / apache 2.2.6

webdav / apache 2.2.6

am 06.11.2007 12:18:42 von Lammi

hi all,

i've set up a webdav directory and it works fine. there's just one
problem: i'm not able to define a user who's not allowed to write or
delete files. either there was no user allowed to access the directory
or all users had full access.

this is my conf:

DavLockDB "/home/lock/DavLock"

Alias /transfer "/home/transfer"


Options Indexes MultiViews
AllowOverride None
Order allow,deny
allow from all



# WebDav einschalten
Dav on

# Dateien als Text anzeigen
ForceType text/plain

# Benutzer
AuthType Digest
AuthName WebDav
AuthDigestDomain /transfer https://server/transfer
AuthDigestProvider file
AuthUserFile "/home/user/WebDavUser"
AuthGroupFile "/home/user/WebDavGroup"
require valid-user

Require group rw



everything works fine if the user is memeber of group rw. if he's not,
he has no access to the directory. i've tried several different confs,
f. e.:


Require valid-user


Require group rw


but i hat the same problem.

there's my fault?

Re: webdav / apache 2.2.6

am 07.11.2007 03:24:42 von spam

"Lammi" wrote in message
news:1194347922.263788.41670@z9g2000hsf.googlegroups.com...
> i've set up a webdav directory and it works fine. there's just one
> problem: i'm not able to define a user who's not allowed to write or
> delete files. either there was no user allowed to access the directory
> or all users had full access.
>
>
> ...
> AuthGroupFile "/home/user/WebDavGroup"
> require valid-user

REMOVE "require valid-user"

>
> Require group rw
>

>

> ...
> there's my fault?

Re: webdav / apache 2.2.6

am 07.11.2007 08:05:38 von Lammi

removing "require valid-user" opens the directory for eevryone. that's
not the idea. i need a conf, that allows registered people to read and
some of those people to write.

Re: webdav / apache 2.2.6

am 07.11.2007 08:19:30 von Lammi

i found a working solution, thanks for your hint.

Re: webdav / apache 2.2.6

am 08.11.2007 15:30:56 von zoot

On 7 nov, 08:19, Lammi wrote:
> i found a working solution, thanks for your hint.

Could you trow some light about your solution?
Many thanks
SartDameAveline

Re: webdav / apache 2.2.6

am 08.11.2007 17:00:50 von Lammi

On 8 Nov., 15:30, SartDameAveline wrote:
> On 7 nov, 08:19, Lammi wrote:
>
> > i found a working solution, thanks for your hint.
>
> Could you trow some light about your solution?
> Many thanks
> SartDameAveline

of course, here are my apache2.conf directives:

DavLockDB "/home/lock/DavLock"

Alias /transfer "/home/transfer"


Options Indexes MultiViews
AllowOverride None
Order allow,deny
allow from all



# WebDav einschalten
Dav on

# Dateien als Text anzeigen
ForceType text/plain

# Benutzer
AuthType Digest
AuthName WebDav
AuthDigestDomain /transfer https://server/transfer
AuthDigestProvider file
AuthUserFile "/home/user/WebDavUser"
AuthGroupFile "/home/user/WebDavGroup"

require group ro rw


Require group rw



greetings

Re: webdav / apache 2.2.6

am 09.11.2007 11:35:51 von zoot

On 8 nov, 17:00, Lammi wrote:
> On 8 Nov., 15:30, SartDameAveline wrote:
>
> > On 7 nov, 08:19, Lammi wrote:
>
> > > i found a working solution, thanks for your hint.
>
> > Could you trow some light about your solution?
> > Many thanks
> > SartDameAveline
>
> of course, here are my apache2.conf directives:
>
> DavLockDB "/home/lock/DavLock"
>
> Alias /transfer "/home/transfer"
>
>
> Options Indexes MultiViews
> AllowOverride None
> Order allow,deny
> allow from all
>

>
>
> # WebDav einschalten
> Dav on
>
> # Dateien als Text anzeigen
> ForceType text/plain
>
> # Benutzer
> AuthType Digest
> AuthName WebDav
> AuthDigestDomain /transferhttps://server/transfer
> AuthDigestProvider file
> AuthUserFile "/home/user/WebDavUser"
> AuthGroupFile "/home/user/WebDavGroup"
>
> require group ro rw
>

>
> Require group rw
>

>

>
> greetings

Many thanks.
SartDameAveline