Well, since I only use it in my own VPN I figured Caddy's built in 
basicauth feature suffices to create user spheres. So I put all wikis for 
one person in one directory and tell caddy to use basicauth for that 
location.

Regarding the startup procedure, I put my Caddy executable inside PATH and 
used a systemd service to start a caddy process on boot. This setup works 
like a charm on my Raspberry for a few months now.

I hope this was somewhat understandable, feel free to ask if I should 
clarify things.


On Friday, May 18, 2018 at 5:46:09 PM UTC+2, Lost Admin wrote:
>
> That is amazingly easy. How do you add user authentication and 
> authorization for saving?
>
> How can it be set-up as a service so that it starts up when the computer 
> boots?
>
> On Sunday, March 4, 2018 at 12:39:24 PM UTC-5, Tristan Kohl wrote:
>>
>> Hey guys,
>>
>> as I tried various ways for storing a big amount of wikis on my limited 
>> hardware I came across the WebDAV capabilities and gave them a try as well.
>> Mario's videos were great but since I do not own any Microsoft license 
>> whatsoever this was no option. However I tried it with my favourite open 
>> source webserver Caddy <https://caddyserver.com/> which I tell you is an 
>> awesome peace of software by itself. But combining it with TW makes using 
>> TWs over network a child's play since Caddy has WebDAV build in already.
>>
>> Here are the steps to follow:
>>
>>    1. Go to Caddy download page <https://caddyserver.com/download>
>>    2. Select the webdav plugin (documentation 
>>    <https://caddyserver.com/docs/http.webdav>) and personal license and 
>>    hit download
>>    3. Unzip the archive we only need the executable which we put in the 
>>    same directory as the wikis we want to serve
>>    4. Create a text file called "Caddyfile" *with capital "C"* and write 
>>    these two lines in it*:*
>>
>> :8000
>>
>> webdav
>>
>>
>> That's it, just execute the caddy file via a terminal and you are set. No 
>> configuration or anything else.
>>
>> A wiki called mywiki.html is available 
>> via http://[IP_OF_THE_SERVER]:8000/mywiki.html.
>>
>>
>> I hope this helps some of you, I will play around with it for a while now 
>> and see how it compares to the other solutions I am testing.
>>
>>
>> Cheers,
>>
>> Tristan
>>
>>

-- 
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/1ce9b32b-81f4-406a-9f2e-dcc8c89d4bc5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to