Re: Web serving on OS X Server

2017-06-09 Thread Ronald Rosell via 4D_Tech
Note, by the way, that while my server is running El Capitan my development system is running Sierra. I also use this technique when locally testing changes, proxying through Apache. The changes I described still work fine in the most current version of the OS (10.12.5) and the server app

LDAP user validation

2017-06-09 Thread Justin Leavens via 4D_Tech
Can someone please help me understand the mechanisms I would use if I wanted to authenticate a user/password combination against an LDAP server? Do I... 1) use the user-supplied username/password to log into the LDAP server and see if the login works? or 2) use a system username/password to

Re: Web serving on OS X Server

2017-06-09 Thread Lee Hinde via 4D_Tech
Thanks Ron and Jim for the great help. On Fri, Jun 9, 2017 at 3:05 PM, James Crate via 4D_Tech < 4d_tech@lists.4d.com> wrote: > The easy way is to set up a webapp plist, and then just turn on that > webapp for the appropriate domain (website). > > Here’s a sample plist. You should be able to

AS400 & 4D...

2017-06-09 Thread Robert ListMail via 4D_Tech
I have an existing client that is purchasing another company that’s using an AS400. What are my connectivity options via 4D? ODBC? Thanks, Robert ** 4D Internet Users Group (4D iNUG) FAQ: http://lists.4d.com/faqnug.html

Re: Web serving on OS X Server

2017-06-09 Thread Ronald Rosell via 4D_Tech
Lee, I’ve done this for multiple sites (domains) accessing a 4D instance. I’ve done it through several OS versions; currently my server’s running El Capitan (10.11.8) Here’s a step by step guide for a domain I’ll call “mydomain.com ”. 1) Set up the sites with the

Re: Web serving on OS X Server

2017-06-09 Thread James Crate via 4D_Tech
The easy way is to set up a webapp plist, and then just turn on that webapp for the appropriate domain (website). Here’s a sample plist. You should be able to mostly use the httpd.conf options you use behind Apache normally. http://www.apple.com/DTDs/PropertyList-1.0.dtd;>

HTTP Get when a domain name returns multiple IP addresses

2017-06-09 Thread lists--- via 4D_Tech
Hi, we’re running a serverless API using Amazon Lambda, and 4D seems to fail on the DNS lookup as it returns multiple IP addesses A dig gives you api.universalcodes.msupply.org.nz. 25 IN A 52.84.207.226 api.universalcodes.msupply.org.nz. 25 IN A 52.84.207.186

Re: Client Can't Connect - Server won't "Quit"

2017-06-09 Thread 4dialog via 4D_Tech
Had the same problems for some time ago, OSX server, 4dv12.x. It was duplicatet 4d processes on the osx server, seems that an "old" 4d process hanging and it made the problem. Restarted the OSX server fixed the problem :) - Hilsen -- Helge Antonsen

Re: HTTP Get when a domain name returns multiple IP addresses

2017-06-09 Thread Keisuke Miyako via 4D_Tech
I would invite you to test the latest nightly build which fixes ACI0096586 http://bugs.4d.fr/fixedbugslist?Branch=16 "HTTP Get" request fails with certain https web sites > 2017/06/09 16:03、lists--- via 4D_Tech <4d_tech@lists.4d.com> のメール: > but not from 4D Any ideas appreciated.

[ANN] HotFix of AC_Backup Component

2017-06-09 Thread Herr Alexander Heintz via 4D_Tech
Hi Folks, in case any of you thought about using my AC_Backup component, please head right over to http://blog.heintz.net/to-backup-or-not-to-backup/ There is an essential Update available that you ABSOLUTELY need. Sorry for the

Re: Web serving on OS X Server

2017-06-09 Thread John Harrington via 4D_Tech
Wow, awesome post Ron! Thanks for such a detailed guide. I’m looking forward to giving your procedure a try. -John > Here’s a step by step guide ** 4D Internet Users Group (4D iNUG) FAQ: http://lists.4d.com/faqnug.html

Web serving on OS X Server

2017-06-09 Thread Lee Hinde via 4D_Tech
I've setup apache as a front end to 4D on 'regular' macs without issue. But now I need to do it on a Mac running the Server software and I'm not clear where/how to configure that and my google fu is failing me. Has anyone done that and can you point to directions? I'd settle for having 4D serve

Re: Web serving on OS X Server

2017-06-09 Thread Chip Scheide via 4D_Tech
OS X server is OS X with a server application. On Fri, 9 Jun 2017 11:14:02 -0700, Lee Hinde via 4D_Tech wrote: > I've setup apache as a front end to 4D on 'regular' macs without issue. But > now I need to do it on a Mac running the Server software and I'm not clear > where/how to configure that

Re: Web serving on OS X Server

2017-06-09 Thread Lee Hinde via 4D_Tech
Correct, I need other parts of OS X Server on this computer. > On Jun 9, 2017, at 11:54 AM, Chip Scheide <4d_o...@pghrepository.org> wrote: > > OS X server is OS X with a server application. > > On Fri, 9 Jun 2017 11:14:02 -0700, Lee Hinde via 4D_Tech wrote: >> I've setup apache as a front end

Re: Web serving on OS X Server

2017-06-09 Thread Chip Scheide via 4D_Tech
Ive not setup apache - but what I was trying to get to is.. whatever you have done in the past for apache (and maybe I mis-read your question), just do that, the 'server' part should not make anything change. On Fri, 9 Jun 2017 12:03:05 -0700, Lee Hinde via 4D_Tech wrote: > Correct, I need

Re: Web serving on OS X Server

2017-06-09 Thread Lee Hinde via 4D_Tech
For reasons that aren’t clear, Server uses different configuration files and processes.I.e, it’s not https.conf anymore. Sorting through what’s new to me is the basis for the request for help here. > On Jun 9, 2017, at 12:06 PM, Chip Scheide <4d_o...@pghrepository.org> wrote: > > Ive not

RE: Web serving on OS X Server

2017-06-09 Thread David Ringsmuth via 4D_Tech
Lee, I’ve done a lot with nginx, very very little with apache. https://engineering.datica.com/local-web-development-with-nginx-on-el-capitan.html David Ringsmuth From: Lee Hinde via 4D_Tech Sent: Friday, June 9, 2017 1:14 PM To: 4D iNug Tech Cc: Lee Hinde Subject: Web serving on OS X Server

RE: Web serving on OS X Server

2017-06-09 Thread John Harrington via 4D_Tech
Lee - I personally had no success in getting the new version of OS X Server to easily handle a reverse proxy to 4D’s port 8080 or 8443. Snow Leopard Server (SLS 10.6.8) is the last version that included this granular feature and a simple interface to set things up with. As of yet, I have

4D Web Store Approach...

2017-06-09 Thread Robert ListMail via 4D_Tech
So, I have Mac-based 4D v15 desktop application that’s supporting about 10 users via client/server on a local LAN. There is a need to create a public-facing web presence that would allow access to the data managed by 4D (254 GBs of externally referenced TIFFs). The client wants to sell access

Re: 4D Web Store Approach...

2017-06-09 Thread Herr Alexander Heintz via 4D_Tech
> Am 09.06.2017 um 21:40 schrieb Robert ListMail via 4D_Tech > <4d_tech@lists.4d.com>: > > So, I have Mac-based 4D v15 desktop application that’s supporting about 10 > users via client/server on a local LAN. There is a need to create a > public-facing web presence that would allow access to

Re: 4D Web Store Approach...

2017-06-09 Thread John Baughman via 4D_Tech
I recently completed a similar project where I needed to serve over 300gb of pdfs managed by 4D. I used a Xojo web app as the front end web server. With 4D listening on a port not accessible from the outside, Xojo passes search criteria as an http request via local host to 4D and 4D returns via

Re: Web serving on OS X Server

2017-06-09 Thread Lee Hinde via 4D_Tech
Hi John; Thanks for the links! I'm punting for now and found this to just turn off the Apple Apache httpd instances: https://discussions.apple.com/thread/7247358?tstart=0 This has 4D doing all the serving, which i'm not keen on, especially with this app which is graphic intensive. I'm