Let's Encrypt, free SSL certificates

Submitted by christophe on Tue, 10/11/2015 - 14:53

Be ready for the opening of free ninety-day lifetime certificates !

The objective of Let?s Encrypt and the ACME protocol is to make it possible to set up an HTTPS server and have it automatically obtain a browser-trusted certificate, without any human intervention. This is accomplished by running a certificate management agent on the web server.

https://letsencrypt.org/howitworks/technology/

Behat : affordable testing for small to medium client projects

Submitted by christophe on Sun, 08/11/2015 - 13:46

One of the many amazing sessions given at the DrupalCamp Leuven 2015 was about tests applied to small / medium sized projects. I was a bit sceptical, we all agree that testing should be part of any development process, but it can run you quickly out of budget on small projects. @pfrenssen has just proven the opposite.

Modern PHP

Submitted by christophe on Sat, 31/10/2015 - 08:18

The best PHP time saver book ever about the latest features of the language (PHP 5.5+), good practices and deployment. A must have for Drupal 8.

We talk here about OOP, namespaces, traits, generators, closure, PSR, components, optimization, deployment (Capistrano), profiling (XDebug, XHProf), unit tests (PHPUnit, Travis CI), dev environment (Vagrant), ...

O'Reilly book
Git repo

Tags

Access a Vagrant virtual host with xip.io

Submitted by christophe on Fri, 23/10/2015 - 15:19

This tip is for people that would access a Vagrant dev website from another VM (let's say to test another version of Internet Explorer via e.g. https://github.com/xdissent/ievms) or via another device than the host environment (smartphone, tablet, ...).

Vagrant allows you to quickly deploy dev environments on a Virtualbox VM.

xip.io will let you access your dev website from other devices (already tried to patch /etc/hosts on an iPad?)

Running Drupal 8 on Koding.com

Submitted by christophe on Sun, 15/03/2015 - 19:12

I wondered if there was a solution to play around with Drupal 8 on a Chromebook (super cheap hardware / "everything in the cloud model" with a 16G SSD).

After some reddit I discovered that Koding.com provides you freely, in the browser, a VM / terminal plus a text editor for PHP and other popular languages (Ruby, Python, ...).

Open up your Koding Terminal and cd in the Web directory (default, single docroot for a VM).

cd Web

Use +SymLinksIfOwnerMatch option in .htaccess for Drupal on Virtualmin

Submitted by christophe on Sat, 08/11/2014 - 21:47

The default Drupal 8 .htaccess provides +FollowSymLinks.

There is an old discussion about that on the Virtualmin forum.

patch is under creation for Drupal 8. It changes the Options +FollowSymLinkson the root .htaccess directory.

by 

Options +SymLinksIfOwnerMatch

You should also change this on the sites/default/files .htaccess