If you are familiar with setting up Apache, you could definitely set-up an 
Apache WebDav server. I just followed some generic how-to guides that 
explains the settings needed to get WebDav, TLS (and letsencrypt), and 
authentication working on Apache.

The issue is with using TiddlyWiki. When you save your wiki, it sends an 
HTTP PUT method request. You either get a normal save (like we are used to 
with TiddlyWiki) or a somewhat cryptic 412 error.

The 412 error indicates the save didn't happen because the version on the 
server is "newer" than the version your browser has. It works nicely when 
multiple people try to edit the same TiddlyWiki file (I tested this myself).

Unfortunately, in order to get the magic ETag value after you save a 
change, you need to reload TiddlyWiki because you don't get an update to it 
after the PUT request.

*Note:* ETag is just an HTTP header that the server sends with a GET 
request. It changes when the file changes. When TiddlyWiki saves (does the 
PUT) it sends the ETag back to the server effectively saying, "save the 
file if the ETag is this otherwise give me an error".

I am planning on writing up a full setup guide to create your own WebDav 
server using Apache, TLS, Letsencrypt, and HTTP Basic Auth (in digest mode) 
but I'm not going to until it works properly. Which means without needing 
to reload. Sadly, my programming skills are seriously lacking. I think I 
know what should be done in TiddlyWiki's webdav saver, but I don't have the 
skills to do it.

On Tuesday, October 10, 2017 at 1:27:04 PM UTC-4, @TiddlyTweeter wrote:
>
> Where are we with this?
>
> Could a newbie cope?
>
> Is the install outlined above consistent & reliable?
>
> Josiah
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/ae046ac5-7a7a-437b-a910-020aaeab0d40%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to