httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From LuKreme <>
Subject [users@httpd] Re: .htaccess restricts write permission from webdav
Date Thu, 03 Dec 2009 14:16:43 GMT
On 2-Dec-2009, at 22:36, J. Bakshi wrote:
> RewriteEngine On
> RewriteRule ^typo3$ - [L]
> RewriteRule ^typo3/.*$ - [L]

I just went through this with wordpress. You have to exempt webdav from all the rewrites.

On 25-Nov-2009, at 11:15, LuKreme wrote:
> I modified the htaccess file hoping I could eliminate the webdav issue. My webdav mount
is, so I did this:
> <IfModule mod_rewrite.c>
> RewriteEngine On
> RewriteBase /
> RewriteCond %{REQUEST_FILENAME} !-f
> RewriteCond %{REQUEST_FILENAME} !-d
> RewriteCond %{HTTP_HOST} !^webdav
> RewriteRule . /index.php [L]
> RewriteRule ^u/([0-9]+)$ wp-content/plugins/short-url-plugin/u.php?$1|$2
> </IfModule>
> That has fixed the problem and it is now possible to access the entire web space via

the RewriteCond ${HTTP_HOST} is the line that did it. If your webdav is then something like

RewriteCond %{REQUEST_URI} !^webdav

should work

"I program Windows - of course it isn't safe." - Meski

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message