10,11 → 10,11 |
RewriteEngine on |
|
# Anti-spam de referrers |
RewriteCond %{REQUEST_URI}?%{QUERY_STRING} ^.*(referrers|referrers_sites)(&global=1|)$ |
RewriteCond %{HTTP_REFERER} !^http://www\.tela-botanica\.org [NC] |
RewriteCond %{HTTP_REFERER} !^http://photoflora\.free\.fr [NC] |
RewriteCond %{HTTP_REFERER} !^http://www\.outils-reseaux\.org [NC] |
RewriteRule .* - [F,L] |
#RewriteCond %{REQUEST_URI}?%{QUERY_STRING} ^.*(referrers|referrers_sites)(&global=1|)$ |
#RewriteCond %{HTTP_REFERER} !^http://www\.tela-botanica\.org [NC] |
#RewriteCond %{HTTP_REFERER} !^http://photoflora\.free\.fr [NC] |
#RewriteCond %{HTTP_REFERER} !^http://www\.outils-reseaux\.org [NC] |
#RewriteRule .* - [F,L] |
RewriteCond %{HTTP_REFERER} ^.*(baseballpass|caninestrike|greg-tut|vipsefeed|easytrafficticket|flatcatsite|bosja|bigcallc|easytrafficticket|cavalier\.ring-pcb)\.com.*$ [OR] |
RewriteCond %{HTTP_REFERER} ^.*(dogstrike)\.net.*$ [OR] |
RewriteCond %{HTTP_REFERER} ^.*(viagra|sex|hardcore|porn|pussy|xxx|webcam|ficken|fuck|gay|boobs|babes|x\-pictures|macinstruct|incest|linuxwaves|secureroot).*$ |
133,11 → 133,7 |
RewriteRule ^wikini/([^/]+)/([^.]*)$ wikini/$1/wakka.php?wiki=$2 [L] |
|
# Raccourci pour Chrono-Form, dossier enquetes |
RewriteRule ^enquetes/utilisateurs_eflore$ http://www.tela-botanica.org/enquetes/index.php?sid=1&newtest=Y [QSA,L] |
RewriteRule ^enquetes/form_botaniste_formation_activite$ http://www.tela-botanica.org/enquetes_archives/questionaire_ferme.html [L,R=301] |
RewriteRule ^enquetes/botaniste_formation_activite$ http://www.tela-botanica.org/enquetes_archives/questionaire_ferme.html [L,R=301] |
RewriteRule ^enquetes/form_(.+)$ enquetes_archives/formulaire.php?nom_table=$1 [QSA,L] |
RewriteRule ^enquetes/liste_(.+)$ enquetes_archives/listing.php?nom_table=$1 [QSA,L] |
RewriteRule ^enquetes/utilisateurs_eflore$ enquetes/index.php?sid=1&newtest=Y [QSA,L] |
|
# Redirection d'url pour les vielles applications de Papyrus |
RewriteRule ^([^\/]+)&(.*)$ http://www.tela-botanica.org/$1?$2 [QSA,L,R=301] |
148,7 → 144,7 |
# TODO : voir pourquoi les query string ne sont pas transmise... : [MAJ 07 mars 2007 JPM : cela à l'air de marcher] |
RewriteRule ^page:menu_([0-9]+)$ http://www.tela-botanica.org/page:$1 [QSA,L,R=301] |
# Redirection d'url pour les anciennes url utilisant les codes numériques pour les sites |
RewriteCond %{REQUEST_URI}?%{QUERY_STRING} ^/papyrus\.php\?site=([0-9]+)(&(.*)|)$ |
RewriteCond %{REQUEST_URI}?%{QUERY_STRING} ^/papyrus\.php\?site=([0-9]+)(&?(.*))$ |
RewriteRule ^papyrus.php$ http://www.tela-botanica.org/site:%1?%3 [L,R=301] |
# Redirection d'url pour le sélecteur de site |
# Le point d'intérrogation sans rien après, vide la QUERY_STRING sinon elle est concacténée à l'url et cela plante... |