httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From LuKreme <krem...@kreme.com>
Subject [users@httpd] Re: .htaccess restricts write permission from webdav
Date Mon, 07 Dec 2009 14:08:41 GMT
On 6-Dec-2009, at 20:15, J. Bakshi wrote:
> RewriteRule ^typo3$ - [L]
> RewriteRule ^typo3/.*$ - [L]
> ` ` `
> 
> and now webdav has no problem with create/delete operation


One other thing, if you duplicate the RewriteCond above these rules, they should work as well.

something like:

Options +FollowSymLinks

RewriteEngine On
RewriteCond %{REQUEST_URI} !^/webdav
RewriteRule ^typo3$ - [L]

RewriteCond %{REQUEST_URI} !^/webdav
RewriteRule ^typo3/.*$ - [L]

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-l
RewriteCond %{REQUEST_URI} !^/webdav
RewriteRule .* index.php

(as I understand it, RewriteCond ONLY apply to the next single RewriteRule. Perhaps there
is a way to have a single condition apply to all rules and someone else will point it out)

-- 
An edge witch is one who makes her living on the edges, in that moment when boundary conditions
apply - between life and death, light and dark, good and evil and, most dangerously of all,
today and tomorrow. --The Thief of Time


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message