Galileo Computing openbook: Apps programmieren für iPhone und iPad

Kostenloses Buch für die App Entwicklung auf iPhone und iPad als openbook bei Galileo Computing verfügbar.

Das Buch ist als Online und Offline Version verfügbar.

Zum Buch: http://openbook.galileocomputing.de/apps_programmieren_fuer_iphone_und_ipad/
Zur Übersicht (enthält Downloadlink): http://www.galileocomputing.de/katalog/openbook

NGINX Permission denied in error.log

Looking at the webervers error logs, i´ve found a lot of entries in one of them in an ISPConfig 3 environment:

[crit] 26595#0: *28425 open() "/var/www/site/web/" failed (13: Permission denied), client: xx.xx.xx.xx, server: host.tld, request: "GET / HTTP/1.1", host: "www.host.tld"

I spent some minutes to figure it out. In my case it was a permission error on website root folder (permissions were set to 711).

A simple command “chmod 751 web” fixes my problem.

See also: http://nicholasorr.com/blog/2008/07/22/nginx-engine-x-what-a-pain-in-the-bum/

Using Maxmind´s GeoIP with Nginx for Piwik or other Scripts

Since Piwik 1.9 it´s possible to determine location of visitor IP’s with Maxmind´s GeoIP Databases.  More

If you are using nginx, follow this tutorials:
– Using GeoIP With Nginx On Debian Squeeze/Ubuntu 11.04
– How do I install the GeoIP module for Nginx? (Piwik FAQ #166)

See result: http://seo-quick.info

GeoIP Databases cron update:

#!/bin/bash
cd /etc/nginx/geoip
wget http://geolite.maxmind.com/download/geoip/database/GeoLiteCountry/GeoIP.dat.gz
gunzip -f GeoIP.dat.gz
wget http://geolite.maxmind.com/download/geoip/database/GeoLiteCity.dat.gz
gunzip -f GeoLiteCity.dat.gz