Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
webdav: Zugriff auf Unterordner mit .htaccess ...[solved]
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message
LunX
Guru
Guru


Joined: 18 May 2004
Posts: 391
Location: Rastede

PostPosted: Thu Jun 22, 2006 8:35 pm    Post subject: webdav: Zugriff auf Unterordner mit .htaccess ...[solved] Reply with quote

Hi,
ich habe bei mir Zuhause ein klein DavFs mittels Apache2 eingerichtet. Ich habe dort zwei Freigaben und die eine möchte ich ein klein wenig erweitern. Sodass die 6 Benutzer im Hauptverzeichniss Schreiben Lesen Löschen dürfen dazu jeder einen Ordner hat in dem nur er Zugrifsrechte hat.
Theoretisch muesste ich doch in der /etc/apache2/modules.d/45_mod_dav.conf
"AllowOverride None" in "AllowOverride AuthConfig" ändern und dann im Ordner der geschützt werden soll die .htaccess erstellen:
Code:

AuthType Basic
AuthUserFile /var/dav/.user_pwd
Require user Benutzer1

Leider klappt das nicht :-( Nun weis ich aber auch nicht ob das in einem DavFs überhaupt geht.
Hoffe mir kann jemand helfen.
Gruß
Lunx


Last edited by LunX on Tue Jun 27, 2006 5:29 pm; edited 1 time in total
Back to top
View user's profile Send private message
LunX
Guru
Guru


Joined: 18 May 2004
Posts: 391
Location: Rastede

PostPosted: Tue Jun 27, 2006 3:42 pm    Post subject: Reply with quote

keiner eine Idee? Hat jemand evtl. für mich ein Forum dessen schwerpunkt auf Apache liegt das Thema hat ja recht wenig mit Getnno zu tun.
Gruß
Lunx
Back to top
View user's profile Send private message
LunX
Guru
Guru


Joined: 18 May 2004
Posts: 391
Location: Rastede

PostPosted: Tue Jun 27, 2006 5:29 pm    Post subject: Reply with quote

in die /etc/apache2/modules.d/45_mod_dav.conf wird ein
Code:
<Location /stammordner/unterordner>
require user Benutzer1
</Location>
hinzugefügt das reicht um den Zugriff zu beschränken.
Back to top
View user's profile Send private message
Tinitus
Veteran
Veteran


Joined: 20 Sep 2004
Posts: 1754

PostPosted: Wed Jun 28, 2006 10:38 pm    Post subject: Reply with quote

LunX wrote:
in die /etc/apache2/modules.d/45_mod_dav.conf wird ein
Code:
<Location /stammordner/unterordner>
require user Benutzer1
</Location>
hinzugefügt das reicht um den Zugriff zu beschränken.



Hallo,


würde es Dir was ausmachen ein kleines Howto zu posten? Also so die config Files. Wollte so was auch gerne machen um einen Browserbasierten Zugriff auf Eigene Dateien zu realisieren. Nicht überall steht scp zur Verfügung.

G. R.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum