WebDAV - ApacheCon 2005
Example - don't permit upload of php files.
    
     RewriteEngine On
     RewriteCond %{HTTP_METHOD} ^PUT
     RewriteRule ^(.*)\.php $1.nophp [PT]
    
      
    
     RewriteCond %{HTTP:DESTINATION} \.php
     RewriteRule . - [F]
     
    * C<.php> files that are uploaded are renamed to C<.nophp>
    
      
  • Files may not be renamed/moved to .php

Index
Back to Possible solution
Forward to Dav clients - OS level

ApacheCon 2005 : WebDAV - Slide #16 of 30