title: webdav: a directory per-user
body: <p>I configured a webdav server and it works fine . all my users are directed to the same shared folder /webdav :</p>
  
  <pre><code>&lt;Directory /webdav&gt;
      Options Indexes MultiViews  FollowSymlinks
      DAV On
      AuthType Basic
      AuthName "webdav"
      AuthUserFile /etc/apache2/webdav.password
      Require valid-user
  &lt;/Directory&gt;
  </code></pre>
  
  <p>no I want that each user has his own folder and he have access only to that folder . so when he login , he'll be automatically directed to his folder and can't see others' folders . 
  I found this but didn't work for me :</p>
  
  <pre><code>RewriteCond %{REQUEST_URI} ^/webdav/
  RewriteRule ^/webdav/(.*?)$ /webdav/user/%{LA-U:REMOTE_USER}/$1 [L] 
  </code></pre>
  
  <p>help me ! </p>