Web
Safari Bypass Certificate Issue
15/01/20 12:51 Filed in: Software Engineering | Systems Administation
Safari Certificate Issues
A work Around
Much as I like Safari (it really does make web pages look nicer) it's certificate handling is less than optimal. It is quite easy to get stuck in a loop with Safari complaining about the certificate letting you add it and then complaining about the certificate.
This is sometimes caused by automatically generated certificates having expired - but you don't get told this.
Read More...Proxying internal websites via OS X Server
04/08/17 17:12 Filed in: Systems Administation | OS X
Proxying internal websites via OS X Server
After rearranging my network to use an OS X server for my main web server there were a few web based systems that I need to expose to the outside world. The advice on Reverse Proxy with macOS Server (http://stationinthemetro.com/2017/05/02/reverse-proxy-with-macos-server) by Mark Boszko worked for me. Read More...
Python Serving HTTPS with CGI
06/05/13 13:38 Filed in: Programming
One of the claims often made about Python is that it is so easy to extend the language and change the behaviour of an object. The classic example of this is turning the standard library http server into an https server. Unfortunately, although there are hundreds of examples on the web about how to do this - made even more numerous by the move to Python 3 - days of testing here failed to get them to work with CGI scripts. Ordinary pages worked fine, but CGI would fail silently. Apparently these same examples worked on PCs.
The problem turned out to be a quite subtle implementation difference between the Mac and Unix handling of CGI processes and the PC approach in the Python library. Read More...
The problem turned out to be a quite subtle implementation difference between the Mac and Unix handling of CGI processes and the PC approach in the Python library. Read More...
Range Inputs and Events
14/11/12 09:24 Filed in: Programming
The range input looked perfect for writing a web interface to control volume levels on a batch of play out boxes. However, the initial choice of the onChange Javascript event turned out to be both naive and unworkable when tested on an iPad under Mobile Safari although it appeared to work well enough for a mouse driven interface. The better solution was to use two events: onMouseUp and onTouchEnd. Read More...
Open - Apple's little secret
23/10/12 10:46 Filed in: Applications
OS X’s open command is the secret sauce for gluing web control panels to OS X applications. Read More...