W3C home > Mailing lists > Public > w3c-dist-auth@w3.org > October to December 2009

.htaccess prevent right access from webdav

From: J. Bakshi <joydeep@infoservices.in>
Date: Thu, 03 Dec 2009 10:45:19 +0530
Message-ID: <4B174967.2080105@infoservices.in>
To: w3c-dist-auth@w3.org
Hello list,

I am facing a strange problem with webdav.  I am running debian lenny
server with apache2

` ` `
Server version: Apache/2.2.9 (Debian)
Server built:   Jul 14 2009 20:44:04
` ` `

with  dav and dav_fs enabled.  webdav is running well and it also
creates and deletes file/folder with out any problem. The problem starts
as soon as I place .htaccess file. webdav can't create/delete
anything!!! It generates error as below from client pc

` ` '
touch 123
touch: cannot touch `123': Input/output error

mkdir 123
mkdir: cannot create directory `123': No such file or directory
 ` ` `

windows client simply throws error as permission denied. My webdav
configuration is

 ` ` `
## webdav access

Alias /webdav/kaushik /var/personal_work_area/kaushik

      <Location /webdav/kaushik>
           DAV On
                          ForceType text/plain
            SSLRequireSSL
            AuthType Basic
           AuthName "kaushik's webdav"
           AuthUserFile  /home/svn/PASSWD
           Require user kaushik

       </Location>
` ` `

and .htaccess is

` ` `
Options +FollowSymLinks

RewriteEngine On
RewriteRule ^typo3$ - [L]
RewriteRule ^typo3/.*$ - [L]

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-l
RewriteRule .* index.php
` ` `

as soon as I delete .htaccess ( from the server) webdav has no problem
to create/delete files/folders.

Does any one know why .htaccess prevents  write access from webdav ?

Thanks



-- 
জয়দীপ বক্সী
Received on Thursday, 3 December 2009 08:49:29 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 3 December 2009 08:49:31 GMT