Tag: tip

Varnish, Ispconfig and apache2’s access-log

My web server that hosts this site, is running on Debian GNU/Linux with Apache2, Varnish and the management software Ispconfig.

This combination means that the default access log, logged 127.0.0.1 as the remote address (Varnish’s IP). This simple change to the file /etc/apache2/sites-available/ispconfig.conf

Change:

LogFormat “%v %h %l %u %t \”%r\” %>s %B \”%{Referer}i\” \”%{User-Agent}i\”” combined_ispconfig CustomLog “| /usr/local/ispconfig/server/scripts/vlogger -s… Read more »

Processingjs quick-tip: Making the main-canvas transparent

With processingjs you can’t give the background color an alpha-channel in the main canvas (the Processing-object).

This behavior is inherited from the original Java-based Processing, where this doesn’t make sense to have an transparent background.

However it’s possible to have this effect, if you want to and I’ll show you how:

var el = document.getElementById( “basecanvas” ); var processing =… Read more »