• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

XF 1.5 webdav not working

#1
I seem to be having an issue with webdav.

I've got debug mode on for my ip, with the following in my .htaccess right after
RewriteEngine On.

Code:
RewriteRule ^admindav.php - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization},NC,L]
When going to admindav.php, all I get is a login popup loop.

edit: correct typo on file names
 
Last edited:

SneakyDave

Well-known member
#2
You have "RewriteEngine On" in your config.php?

Because those should be in your .htaccess file.

In any event, I think admindav.php still requires an authenticated session.
 

SneakyDave

Well-known member
#4
I don't know much about the webdav stuff, but it appears that after I'm authenticated, I still get a permission denied error XML response:
Code:
<d:error xmlns:d="DAV:" xmlns:s="http://www.rooftopsolutions.nl/NS/sabredav">
<s:exception>Sabre_DAV_Exception_PermissionDenied</s:exception>
<s:message>
Requested uri (/admindav.php) is out of base uri (/forum/admindav.php/)
</s:message>
<s:file>
/public/library/Sabre/Sabre/DAV/Server.php
</s:file>
<s:line>758</s:line>
<s:code>0</s:code>
<s:sabredav-version>1.0.14</s:sabredav-version>
</d:error>
 
#7
does this help? Kier suggests that using webdav (which has http authentication in it) with .htaccess authentication probably don't work together:
https://xenforo.com/community/threa...-a-callback-for-pages.7226/page-2#post-102507
I do believe Kier's post was in-regards to the someone asking if they can use .htaccess to password the admindav.php file - in theory creating dual logins.

I'm just using the .htaccess for the rewrite as suggested by others in that tread