Mois : juin 2012

How to redirect root base tld to www.tld with nginx

You have to add those lines in your /etc/nginx/sites-enables/tld server { server_name tld; rewrite ^(.*) http://www.tld $1 permanent; } Then reloads nginx sudo /etc/init.d/nginx reload

Publié dans linux, nginx Tagués avec : ,

Zend_Service_Amazon : Unknown Country Code

If you’re using Zend Framework 1.1 and specially Zend_Service_Amazon, you already know that this class has not been updated since a lonnnng time. I did a lot of change in it, here is the first : Zend/Service/Amazon.php (line 60) :

Publié dans tips, zend Tagués avec : , ,

Restart buggy Hamachi

If you have something like : [root@plebidev ~]# hamachi start 11 16:33:53.707 [ 0] [ 2185] tap: connect() failed 2 (No such file or directory)   when you try to launch hamachi daemon, juste type as root : tuncfg

Publié dans linux, tips Tagués avec : , ,