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

Tib tib at tigerknight.org
Thu Jun 30 20:41:26 UTC 2005


I believe .htaccess is directory based - perhaps try putting another
.htaccess in the dav directory that's the same as the one in httpdocs
except comment out the lines that are causing problems?

<EOL>
Tib


On Thu, 30 Jun 2005, Cheryl Chase wrote:

> 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)

-- 
[ Drupal support list | http://lists.drupal.org/ ]



More information about the drupal-support mailing list