How to use webdav and user dir in the same time in the same section ?
- by Louis
Dear community,
i would like to mount trough webdav my https://myserver/~user_account but not https://myserver/.
What i am doing now is :
<IfModule mod_userdir.c>
UserDir public_html
UserDir disabled root
<Directory /banonymous/data/home/*/public_html>
DAV On
AllowOverride FileInfo Limit AuthConfig
Options MultiViews SymLinksIfOwnerMatch IncludesNoExec
<Limit GET POST OPTIONS>
Order allow,deny
Allow from all
</Limit>
<LimitExcept GET POST OPTIONS>
Order deny,allow
Deny from all
</LimitExcept>
</Directory>
</IfModule>
and i am setting the authentification in the .htaccess of eache user.
AuthType Basic
AuthName "Password Required"
AuthUserFile /etc/apache2/users/htpasswd
Require User geeky
It does not work.
Is there someone who can tell me if it is possible ?
and if it is how to do it.
My dream would have been to put the Dav On in the .htaccess.