All links of one day
in a single page.
<Previous day - Next day>

rss_feedDaily RSS Feed
floral_left The Daily Shaarli floral_right
——————————— February 21, 2015 - Saturday 21, February 2015 ———————————
raspberry - sshfs -

$ cat bin/ssh_fs_keeper.sh

!/bin/bash

ps aux|grep [s]shfs >/dev/null 2>/dev/null
code=$?
if [[ $code -eq 1 ]]; then
sudo sshfs -o allow_other foo@domain.com:/home/path /home/path
fi

à mettre dans un cron

apache - rpaf - haproxy - nginx -

Je me demandais pourquoi mes allow from x.x.x.x ne marchait plus au niveau de on apache... C'est pourtant con, j'ai un haproxy en frontal maintenant ! donc apache voit tout venir de 127.0.0.1 et les allow ne sont plus valides.

Pour résoudre le probleme on peut installer ce mod qui va prendre l'ip dans les headers ajoutés par haproxy (x-forwarded-for) et la considérer comme l'ip source.

-