This project forked from https://sourceforge.net/projects/webiopi/
$ wget https://github.com/Freenove/WebIOPi/archive/master.zip -O WebIOPi.zip
$ unzip WebIOPi.zip
$ cd WebIOPi-master/WebIOPi-0.7.1
$ patch -p1 -i webiopi-pi2bplus.patch
$ sudo ./setup.sh
$ sudo webiopi -d -c /etc/webiopi/config
Then access webiopi through browser.