Re: [naviserver-devel] Host based virtual hosts

2020-07-04 Thread Gustaf Neumann
On 04.07.20 21:08, Maksym Zinchenko wrote: So now im facing this issues: 1) Some of the domains are not mine and belong to some clients, they might have their own certificates they bought. 2) Also I don't know how many clients I will have in the future, so everytime I add a new domain I need

Re: [naviserver-devel] Host based virtual hosts

2020-07-04 Thread Maksym Zinchenko
Dear Gustaf, my main problem is certificate. Loading the drivers globally works. When I access domains they are pointing and working correctly. The problem is nsssl when loaded globally must have "ns_param certificate", I misunderstood this parameter. I thought its like "ns_param defaultserver",

Re: [naviserver-devel] [ns_getform] doesn't get form-data fields

2020-07-04 Thread Iuri de Araujo Sampaio
Indeed! In fact, A.I. has been playing a big role in this field already (i.e. self-healing). We could bring into TCL’s world! Most of the time I get lazy, skipping test-cases, going directly to debug without planing and writing unit tests, then I miss the opportunity to get a better

Re: [naviserver-devel] Host based virtual hosts

2020-07-04 Thread Gustaf Neumann
Dear Maksym, If you are using virtual host, you should load the drivers globally and - when connect via https - use multi-domain SAN certificates (as produced e.g. by [1]). openacs.org is a configuration using (a) multiple names for the same server (such as .org, .net, with and without "www."

Re: [naviserver-devel] [ns_getform] doesn't get form-data fields

2020-07-04 Thread Gustaf Neumann
Maybe, we should add "self-healing" to the feature list of NaviServer :) In general, it is a good idea to make test-cases with curl, also for you to understand, what is going on in detail. all the best -gn On 04.07.20 18:37, Iuri de Araujo Sampaio wrote: Hi, I woke up today and Postman

Re: [naviserver-devel] [ns_getform] doesn't get form-data fields

2020-07-04 Thread Iuri de Araujo Sampaio
Hi, I woke up today and Postman requests work fine now. I have no clue what the error was, and I have done nothing to fix it. Well, I added a log message in the first line, before calling [ns_getform], but that would no affect the problem. Maybe the stars were playing with me last night. Or it

[naviserver-devel] Host based virtual hosts

2020-07-04 Thread Maksym Zinchenko
Hello, I'm trying to set up host based virtual hosts with naviserver but I can't understand it easily or correctly. so what i'm trying to accomplish: I have one big dedicated server, and i'm moving all my VPS's to it. So Ive created the main config file /opt/ns/conf/dz_nsd.tcl,