Subversion Repositories ALCASAR

Compare Revisions

Ignore whitespace Rev 994 → Rev 1000

/alcasar.sh
1336,7 → 1336,7
# block all sites specified only by an IP
*ip
EOF
# On ajoute Bing et Youtube à la récriture d'URL liée au contrôle scolaire/parental
# Add Bing and Youtube to the safesearch url regext list (parental control)
cat <<EOF >> $DIR_DG/lists/urlregexplist
# Bing - add 'adlt=strict'
#"(^http://[0-9a-z]+\.bing\.[a-z]+[-/%.0-9a-z]*\?)(.*)"->"\1\2&adlt=strict"
1343,6 → 1343,8
# Youtube - add 'edufilter=your_ID'
#"(^http://[0-9a-z]+\.youtube\.[a-z]+[-/%.0-9a-z]*\?)(.*)"->"\1\2&edufilter=ABCD1234567890abcdef"
EOF
# change the the google safesearch ("safe=strict" instead of "safe=vss")
$SED "s?safe=vss?safe=strict?g" $DIR_DG/lists/urlregexlist
chown -R dansguardian:apache $DIR_DG
chmod -R g+rw $DIR_DG
# On crée la structure du DNS-blackhole :
/CHANGELOG
1,6 → 1,10
# $Id$
 
************ CHANGELOG ***********
---------------------- 2.7 -----------------
NEWS
- the URL filter works with the new google safesearch regex ('safe=strict' instead of 'safe=vss')
 
---------------------- 2.6.1 -----------------
Bugs
- The embedded documentation is in right version