Taken from https://forums.raspberrypi.com/viewtopic.php?t=216026
On /etc/network/interfaces
add these lines
iface lo inet6 manual
iface eth0 inet6 manual
iface wlan0 inet6 manual
on /etc/sysctl.conf
add/change
Taken from https://forums.raspberrypi.com/viewtopic.php?t=216026
On /etc/network/interfaces
add these lines
iface lo inet6 manual
iface eth0 inet6 manual
iface wlan0 inet6 manual
on /etc/sysctl.conf
add/change
if (!-e $request_filename) { | |
rewrite /wp-admin$ $scheme://$host$uri/ permanent; | |
rewrite ^(/[^/]+)?(/wp-.*) /wp$2 last; | |
rewrite ^(/[^/]+)?(/.*\.php) /wp$2 last; | |
} |
If like me you are, among other many tasks, a system administrator of a website hosted on OS X server, chances are your are not fully comfortable with what to do precisely in order to get your website running with a valid SSL certificate. After some struggle, I would like to share my experience on the installation of let’s encrypt certificate.
The target audience of this article is people with a minimum IT skills (I assume you know how to open the terminal and some basic knowledge of shell commands), already having a configured and running website hosted on OS X and managed with the Server App. Also this article assumes you will generate the certificate on the machine hosting the server itself.
Note: The following procedure was successfully installed on two similar server, both are Mac mini running on OS X Mavericks (10
This explains the set up of our very basic status screen to displays Google calendars here at booncon.
Download and put the most current https://www.raspberrypi.org/downloads/raspbian/ image to an SD Card. On OSX that works great with http://www.tweaking4all.com/hardware/raspberry-pi/macosx-apple-pi-baker/, just use the restore option and select the unzipped image file.
After the first boot, the raspi-config
utility should load up.
server { | |
server_name _; | |
return 302 $scheme://domain.dev$request_uri; | |
} | |
server { | |
server_name ~^(.*)\.domain\.dev$ domain.dev; | |
root /app/public/; | |
index index.php index.html index.htm; |
{ | |
// Use IntelliSense to learn about possible attributes. | |
// Hover to view descriptions of existing attributes. | |
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 | |
"version": "0.2.0", | |
"configurations": [ | |
{ | |
"name": "Listen for XDebug", | |
"type": "php", | |
"request": "launch", |
# if click on table get text | |
document.querySelectorAll("#ccTableCollapse td").forEach(function(company) { | |
company.onclick = function(){alert(this.textContent);}; | |
}) |