(Replace example.com, /PATH/TO/CONTENT, APPNAME and USERNAME with yours.)
$ sudo tee /etc/yum.repos.d/nginx.repo << 'EOF' > /dev/null
[nginx]
<?php | |
# Nginx don't have PATH_INFO | |
if (!isset($_SERVER['PATH_INFO'])) { | |
$_SERVER['PATH_INFO'] = substr($_SERVER["ORIG_SCRIPT_FILENAME"], strlen($_SERVER["SCRIPT_FILENAME"])); | |
} | |
$request = substr($_SERVER['PATH_INFO'], 1); | |
$file = $request; | |
$fp = @fopen($file, 'rb'); |
// source: https://github.com/ebidel/filer.js/blob/b7ab6f4cbb82a17565ff68227e5bc984a9934038/src/filer.js#L137-159 | |
var dataURLToBlob = function(dataURL) | |
{ | |
var BASE64_MARKER = ";base64,"; | |
if (dataURL.indexOf(BASE64_MARKER) == -1) | |
{ | |
var parts = dataURL.split(","); | |
var contentType = parts[0].split(":")[1]; | |
var raw = decodeURIComponent(parts[1]); |
<template> | |
<div class="Modal mfp-hide" ref="modal"> | |
<div class="Modal__inner"> | |
<slot></slot> | |
</div> | |
</div> | |
</template> |
{ | |
}, | |
"require": { | |
"aws/aws-sdk-php": "3.*" | |
} | |
} |
If you don't have a Windows server available for testing, a Raspberry Pi makes a great test environment. It works with Mac AD Binding, Apple Enterprise Connect, and the Mac Kerberos SSO Extension.
Configuring a Domain Controller on Rasbian or other Debian-based Linux distribution:
Install Rasbian. Use NOOBS if you are new to Raspberry Pi at https://www.raspberrypi.org/downloads/. Optionally enable SSH or VNC support in Raspbian settings menu to remote in to the machine.
Install Samba and related packages. Some packages may launch setup tools. Skip through the Kerberos configuration with defaults. We will be deleting the Kerberos configuration in a later step.