Login to make changes?

101 views
Skip to first unread message

caw

unread,
Jan 5, 2019, 10:20:02 AM1/5/19
to TiddlyWiki
Hey guys,

I just got TiddlyWiki working on my server with node.js and apache proxy, and now everyone can see and edit my wiki.
But I want to make it "read only" for other people unless they're authenticated.

Is there a way of doing this? Thank you for your help.

Jack Baty

unread,
Jan 5, 2019, 12:20:01 PM1/5/19
to TiddlyWiki
If you're running 5.1.19 you can pass a couple of parameters to the starting command and it works as you describe.


For example, this works well on my server (although I use a file with usernames/passwords in production rather than as command-line options)...

forever start --spinSleepTime 10000 \
/usr/local/bin/tiddlywiki /home/jbaty/apps/wiki/batywiki \
--listen "readers=(anon)" writers=jack username=notmyusername password=thisisnotmyrealpassword

Also note that I'm using "forever" to keep things running. You can just use "tiddlywiki ..." instead. Hope that helps.

caw

unread,
Jan 5, 2019, 1:04:19 PM1/5/19
to TiddlyWiki
It works perfectly, thank you!

Carl Holscher

unread,
Feb 22, 2019, 12:01:54 AM2/22/19
to TiddlyWiki
How did you get the apache proxy setup? I'm hosting it using node.js on an ubuntu box at home and I'm getting stuck there.

caw

unread,
Feb 22, 2019, 12:30:18 AM2/22/19
to TiddlyWiki
I actually switched to Nginx after posting this because the configuration was easier, but Apache also worked fine for me.

Carl T. Holscher

unread,
Feb 22, 2019, 12:32:32 AM2/22/19
to tiddl...@googlegroups.com
Thanks. I'll check it out!

--
You received this message because you are subscribed to a topic in the Google Groups "TiddlyWiki" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/tiddlywiki/39vcoh5Z4J8/unsubscribe.
To unsubscribe from this group and all its topics, send an email to tiddlywiki+...@googlegroups.com.
To post to this group, send email to tiddl...@googlegroups.com.
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/0a85347f-a093-4eff-a780-b38983ef837f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages