@pmario I saw your video on ISS webdav server and did everything as shown there in my windows 11 laptop . As the part of basic authentication, I am asked to enter username and password, but nothing works as username and password. How to get the username and password ?
It should be the same as your windows user name and PW.
That worked. Is there any way use a local onedrive folder using this method ?
I am on mobile at the moment. Saq's Sandbox — Experimental doodads is a WebDAV toolbox, which contains a saver that should avoid this problem. It’s kind of a problem how etags are handles by the server.
So. Restart the server.
Import this plugin into the wiki
Save - it should work once when the server was restarted
Reload the wiki
Now saving should work consistently
Hope that helps
You need to either figure out how to turn off compression on IIS; or have the plugin already installed in the wiki and save the wiki before serving it over WebDAV.
The last screenshot is taken using a wiki with the webdav plug in already installed.
I will try disabling IIS compression once I reach back home. Will this do the trick
This one worked. After disabling compression, saving is working now
Can we serve onedrive folder using webdav in windows like RCX app on Android can?
I use a OneDrive folder (for Business, but should be the same) for hosting TW through IIS. Although, I found a way to make it work with compression after messing with it for a while. I installed saq’s WebDAV Toolbox and replaced the saver JavaScript with the saver from here: WebDav-lm — PUT saver using last-modified from pmario which uses the last-modified
and if-unmodified-since
headers instead of etags. I’m not sure if this is a very bad idea to do, but it’s been working well for me for a while as a single user.
Here’s my web.config
:
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<system.webServer>
<directoryBrowse enabled="true" />
<urlCompression doStaticCompression="true" />
<caching enabled="false" enableKernelCache="false" />
<staticContent>
<clientCache cacheControlMode="NoControl" />
</staticContent>
<httpProtocol allowKeepAlive="true">
<customHeaders>
<add name="Cache-Control" value="no-cache" />
</customHeaders>
</httpProtocol>
</system.webServer>
</configuration>
v0.2 prerelease of WebDAV utils should be able to save on IIS with compression enabled:
https://saqimtiaz.github.io/sq-tw/webdav/webdav-prerelease.html#%24%3A%2Fplugins%2Fsq%2Fwebdav-utils