Thanks Ron and Jim for the great help. On Fri, Jun 9, 2017 at 3:05 PM, James Crate via 4D_Tech < [email protected]> 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 mostly use the httpd.conf > options you use behind Apache normally. > > <?xml version="1.0" encoding="UTF-8"?> > <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" " > http://www.apple.com/DTDs/PropertyList-1.0.dtd"> > > <plist version="1.0"> > <dict> > <key>includeFiles</key> > <array> > <string>/Library/WebServer/exa > mple.com/my_app/config/server_webapp.httpd.conf</string> > </array> > <key>name</key> > <string>com.example.my_app</string> > <key>displayName</key> > <string>My WebApp</string> > <key>installationIndicatorFilePath</key> > <string>/Library/WebServer/example.com/my_app/config/server_ > webapp.httpd.conf</string> > <key>sslPolicy</key> <!-- Determines webapp SSL behavior --> > <integer>0</integer> <!-- 0: default, UseSSLWhenEnabled --> > <!-- 1: UseSSLAlways --> > <!-- 2: UseSSLOnlyWhenCertificateIsTrustable --> > <!-- 3: UseSSLNever --> > <!-- 4: UseSSLAndNonSSL --> > </dict> > </plist> > > <!-- just sym-link this file in /Library/Server/Web/Config/apache2/webapps > —> > > Jim Crate > > > > On Jun 9, 2017, at 2:14 PM, Lee Hinde via 4D_Tech <[email protected]> > 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 and my google fu is failing me. > > > > Has anyone done that and can you point to directions? > > > > I'd settle for having 4D serve directly, but OS X Server is running > apache > > even with Websites off. > > ********************************************************************** 4D Internet Users Group (4D iNUG) FAQ: http://lists.4d.com/faqnug.html Archive: http://lists.4d.com/archives.html Options: http://lists.4d.com/mailman/options/4d_tech Unsub: mailto:[email protected] **********************************************************************

