.htaccess rewrite stuffs WebDAV access
-
Hi there,
I have just upgraded from 1.5.2 to 2.0 and have a couple of new ‘undocumented features’. I used to use WebDAV to upload large amounts of data up to my server – no problem in 1.5.2, in 2.0 it got busted.
Turnes out there is a new .htaccess file with a rewrite..
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php
Once I commented it out, WebDAV started working again. What have I just broken by commenting this out?
Also, I have an interesting one that I am not sure wher eto start… as I a here now.. ??
I am using ezstatic and attempting to use microwiki both from RedAlt, and I can get microwiki to load when I use a query string. It supports friendly URLs which I switch on, but I just get a 404 error on my WordPress blog. I wrote a debug script..
–test.php–
$review = "/index.php?";
$review .= "static=".$_REQUEST['static'];
$review .= "&page=".$_REQUEST['page'];
$review .= "&do=".$_REQUEST['do'];
$review .= "&label=".$_REQUEST['label'];
echo "<a href='$review'>$review</a>";
–end of test.php–I have a mod_rewrite rule…
RewriteRule ^_wiki?(/([^/]*))?(/([^/]*))?(/([^/]*))?$ /test.php?static=wiki&page=$2&do=$4&label=$6 [L]
I h ate mod_rewrite, so I’ll explain what this one does… basically it turns …
site.com/_wiki/$2/$4/$6
into
site.com/test.php?static=wiki&page=$2&do=$4&label=$6
it works. It goes to my test page and prints out an index.php line that links to the right place… now, when I change the rewrite rule to say index.php?stati… (which the test.php generates) I get a 404 error on my blog.
Any clues where this could be? I have checked the default theme: same. the fact the mod_rewrite directs to my test page, and the fact the link with the querystring seem to rule out the plugin and the wiki stuff… leaving the index.php
- The topic ‘.htaccess rewrite stuffs WebDAV access’ is closed to new replies.