Re: [tw5] Re: Login to make changes?

2019-02-21 Thread Carl T. Holscher
Thanks. I'll check it out!

On Fri, Feb 22, 2019 at 12:30 AM caw  wrote:

> I actually switched to Nginx after posting this because the configuration
> was easier, but Apache also worked fine for me.
> For Apache, you may want to check this out:
> https://stackoverflow.com/questions/1997001/setting-up-a-basic-web-proxy-in-apache
>
> On Friday, February 22, 2019 at 1:01:54 PM UTC+8, Carl Holscher wrote:
>>
>> 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.
>>
>> On Saturday, January 5, 2019 at 10:20:02 AM UTC-5, caw wrote:
>>>
>>> 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.
>>>
>> --
> 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+unsubscr...@googlegroups.com.
> To post to this group, send email to tiddlywiki@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.
>

-- 
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 tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@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/CA%2B1qmbgTWq06nEoV9%2BKajRj6h0G89SeAQjzFfi-eEhFWpMJ-nQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: Login to make changes?

2019-02-21 Thread caw
I actually switched to Nginx after posting this because the configuration 
was easier, but Apache also worked fine for me.
For Apache, you may want to check this 
out: 
https://stackoverflow.com/questions/1997001/setting-up-a-basic-web-proxy-in-apache

On Friday, February 22, 2019 at 1:01:54 PM UTC+8, Carl Holscher wrote:
>
> 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.
>
> On Saturday, January 5, 2019 at 10:20:02 AM UTC-5, caw wrote:
>>
>> 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.
>>
>

-- 
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 tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@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.


[tw5] Re: Login to make changes?

2019-02-21 Thread Carl Holscher
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.

On Saturday, January 5, 2019 at 10:20:02 AM UTC-5, caw wrote:
>
> 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.
>

-- 
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 tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@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/771ba43d-48f6-499f-b994-b0c055fb4840%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: Login to make changes?

2019-01-05 Thread caw
It works perfectly, thank you!

On Sunday, January 6, 2019 at 1:20:01 AM UTC+8, Jack Baty wrote:
>
> If you're running 5.1.19 you can pass a couple of parameters to the 
> starting command and it works as you describe.
>
> https://tiddlywiki.com/#WebServer%20Basic%20Authentication
>
> 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 1 \
> /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.
>

-- 
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 tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@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/f460e6b9-e609-409e-bec0-06b2f0bab9af%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: Login to make changes?

2019-01-05 Thread Jack Baty
If you're running 5.1.19 you can pass a couple of parameters to the 
starting command and it works as you describe.

https://tiddlywiki.com/#WebServer%20Basic%20Authentication

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 1 \
/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.

-- 
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 tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@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/8b2a21a6-c497-44fc-8d01-d835be8354d0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.