View previous topic :: View next topic |
Author |
Message |
.maverick Apprentice
Joined: 29 Jan 2004 Posts: 159 Location: Bonn
|
Posted: Fri Feb 25, 2005 7:36 pm Post subject: Apache2 WebDAV und mod_auth_pam für Userverzeichnisse |
|
|
Code: |
<IfModule mod_auth_pam.c>
<IfModule mod_dav.c>
<IfModule mod_dav_fs.c>
AliasMatch "^/~*/private/webdav" /home/$1
AliasMatch "^/~*/private" /home/$1
AliasMatch "^/~*/webdav" /home/$1/public
AliasMatch "^/~*" /home/$1/public
<LocationMatch "^/~*/private/webdav">
AuthType Basic
AuthName "Private WebDAV for $1"
AllowOverride None
Require user $1
Dav on
ForceType text/plain
</LocationMatch>
<LocationMatch "^/~*/private">
AuthType Basic
AuthName "Private for \$1"
AllowOverride None
Require user $1
Options +Indexes
</LocationMatch>
<LocationMatch "^/~*/webdav">
AuthType Basic
AuthName "WebDAV for $1"
AllowOverride None
Require user $1
<LimitExcept GET>
Require valid-user
</LimitExcept>
Dav on
ForceType text/plain
</LocationMatch>
<DirectoryMatch "^/home/*/public">
AllowOverride None
Options Indexes
</DirectoryMatch>
</IfModule>
</IfModule>
</IfModule>
|
Warum kommt mit dieser Config bei jeder Seite "Not found" und ist die Datei überhaupt zu gebrauchen oder hab ich generell irgendwas falsch gemacht? |
|
Back to top |
|
|
.maverick Apprentice
Joined: 29 Jan 2004 Posts: 159 Location: Bonn
|
Posted: Tue Mar 01, 2005 9:31 am Post subject: |
|
|
Keine Idee? |
|
Back to top |
|
|
|