[drupal-support] htaccess prevents writing to WebDav on drupal subdirectory?

Cheryl Chase cheryl at mathiasconsulting.com
Thu Jun 30 20:08:25 UTC 2005


I'm trying to enable htdigest protected webdav on a subfolder of a  
drupal based site (httpdocs/dav/).

The presence .htaccess (drupal 4.6.1) causes dav write attempts to  
fail with write permission error.


[Thu Jun 30 13:08:48 2005] [error] [client 67.169.68.156] Unable to  
PUT new contents for /dav/isna_clinical_cover.p\df.  [403, #0]
[Thu Jun 30 13:08:48 2005] [error] [client 67.169.68.156] (2)No such  
file or directory: An error occurred while ope\ning a resource.   
[500, #0]


If I remove the last few lines in .htaccess (the following lines),  
the write succeeds.

   # Rewrite current-style URLs of the form 'index.php?q=x'.
   RewriteCond %{REQUEST_FILENAME} !-f
   RewriteCond %{REQUEST_FILENAME} !-d
   RewriteRule ^(.*)$ index.php?q=$1 [L,QSA]


How can I make these lines not apply to my /dav directory?

Thanks,

Cheryl

Environment:

apache 2
drupal 4.6.1
redhat enterprise linux 3
PHP 4.3.6 (cgi) (built: Apr 18 2004 12:30:52)




More information about the drupal-support mailing list