Rev 68 | Rev 155 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed
AddHandler application/x-httpd-php5 .php
# Raccourci pour les applications intégrées à Papyrus
RewriteEngine on
# Raccourci pour l'inscription
RewriteRule ^_ins_([0-9a-z]*)$ papyrus.php?menu=22&id=$1 [L]
# Raccourci supplémentaires pour les mondes
RewriteRule ^reseau$ papyrus.php?site=2 [L]
RewriteRule ^ateliers$ papyrus.php?site=3 [L]
RewriteRule ^biblio$ papyrus.php?site=5 [L]
RewriteRule ^eflore$ papyrus.php?site=6 [L]
RewriteRule ^articles$ papyrus.php?site=7 [L]
RewriteRule ^environnement$ papyrus.php?site=8 [L]
# Raccourci supplémentaires pour les menus
RewriteRule ^bdnff$ papyrus.php?menu=39 [L]
# Raccourci pour Projets
RewriteRule ^projets/$ papyrus.php?menu=88 [L]
RewriteRule ^projets/([^/]+)$ papyrus.php?menu=88&id_projet=$1 [L]
RewriteRule ^projets/([^/]+)/([^/]*)$ papyrus.php?menu=88&id_projet=$1&act=$2 [L]
RewriteRule ^projets/[^/]+/wikini/wikini/(.*)$ wikini/$1 [L]
RewriteRule ^projets/([^/]+)/wikini/(.*)$ papyrus.php?menu=88&id_projet=$1&act=wikini&wiki=$2 [L]
RewriteRule ^projets/([^/]+)/documents/(.*)$ papyrus.php?menu=88&id_projet=$1&act=documents&id_repertoire=$2 [L]
#Redirection définitive concernant l'ancien emplacement des Wikini dans l'appli Projets
RewriteCond %{REQUEST_URI}?%{QUERY_STRING} ^/client/projet/wikini/wakka\.php\?wikini=([^&]+)&wiki=([^&]+).*$ [NC]
RewriteRule ^client/projet/wikini/wakka\.php$ http://www.tela-botanica.org/wikini/%1/wakka.php?wiki=%2 [L,R=301]
# Raccourci pour Projets-Forums
RewriteRule ^forum_gestionnature$ papyrus.php?menu=134&forum=gestionnature [L]
# Raccourci pour eFlore
RewriteRule ^eflore\/nt([0-9]*)$ papyrus.php?menu=39&module=fiche&nt=$1 [L]
RewriteRule ^eflore\/nt([0-9]*)-([0-9a-zA-Z]*)$ papyrus.php?menu=39&module=fiche&cpr=$2&nt=$1 [L]
RewriteRule ^eflore\/nt([0-9]*)-([0-9a-zA-Z]*)-v([0-9.]*)$ papyrus.php?menu=39&module=fiche&cpr=$2&cprv=$3&nt=$1 [L]
RewriteRule ^eflore\/([^/]+)\/([0-9.]*)\/nt\/([0-9]*)$ papyrus.php?menu=39&module=fiche&cpr=$1&cprv=$2&nt=$3 [L]
RewriteRule ^eflore\/([^/]+)\/derniere_version\/nt\/([0-9]*)$ papyrus.php?menu=39&module=fiche&cpr=$1&nt=$2 [L]
RewriteRule ^eflore\/nn([0-9]*)$ papyrus.php?menu=39&module=fiche&nn=$1 [L]
RewriteRule ^eflore\/nn([0-9]*)-([0-9a-zA-Z]*)$ papyrus.php?menu=39&module=fiche&cpr=$2&nn=$1 [L]
RewriteRule ^eflore\/nn([0-9]*)-([0-9a-zA-Z]*)-v([0-9.]*)$ papyrus.php?menu=39&module=fiche&cpr=$2&cprv=$3&nn=$1 [L]
RewriteRule ^eflore\/([^/]+)\/([0-9.]*)\/nn\/([^/]+)$ papyrus.php?menu=39&module=fiche&cpr=$1&cprv=$2&nn=$3 [L]
RewriteRule ^eflore\/([^/]+)\/derniere_version\/nn\/([^/]+)$ papyrus.php?menu=39&module=fiche&cpr=$1&nn=$2 [L]
RewriteRule ^eflore\/([^/]+)\/([0-9.]*)\/nn\/([^/]+)\/(.+)$ papyrus.php?menu=39&module=fiche&action=$4&cpr=$1&cprv=$2&nn=$3 [L]
RewriteRule ^eflore\/([^/]+)\/derniere_version\/nn\/([^/]+)\/(.+)$ papyrus.php?menu=39&module=fiche&action=$3&cpr=$1&nn=$2 [L]
RewriteRule ^nn([0-9]*)$ papyrus.php?menu=39&module=fiche&nn=$1 [L]
RewriteRule ^bdnff_nn([0-9]*)$ papyrus.php?menu=39&module=fiche&nn=$1 [L]
RewriteRule ^bdnff\/nn([0-9]*)$ papyrus.php?menu=39&module=fiche&nn=$1 [L]
RewriteRule ^bdnfgm_nn([0-9]*)$ papyrus.php?menu=135&flore=ANT&xslt=identitetaxon.xsl&servicexml=donneidentitestaxons.php&numclass=1&numnom=$1 [L]
RewriteRule ^bdnfgm\/nn([0-9]*)$ papyrus.php?menu=135&flore=ANT&xslt=identitetaxon.xsl&servicexml=donneidentitestaxons.php&numclass=1&numnom=$1 [L]
RewriteRule ^bdnfr_nn([0-9]*)$ papyrus.php?menu=136&flore=REU&xslt=identitetaxon.xsl&servicexml=donneidentitestaxons.php&numclass=1&numnom=$1 [L]
RewriteRule ^bdnfr\/nn([0-9]*)$ papyrus.php?menu=136&flore=REU&xslt=identitetaxon.xsl&servicexml=donneidentitestaxons.php&numclass=1&numnom=$1 [L]
RewriteRule ^nt([0-9]*)$ papyrus.php?menu=39&module=fiche&nt=$1 [L]
RewriteRule ^bdnff_nt([0-9]*)$ papyrus.php?menu=39&module=fiche&nt=$1 [L]
RewriteRule ^bdnff\/nt([0-9]*)$ papyrus.php?menu=39&module=fiche&nt=$1 [L]
RewriteRule ^bdnfgm_nt([0-9]*)$ papyrus.php?menu=135&flore=ANT&xslt=identitetaxon.xsl&servicexml=donneidentitestaxons.php&numclass=1&numtaxon=$1 [L]
RewriteRule ^bdnfgm\/nt([0-9]*)$ papyrus.php?menu=135&flore=ANT&xslt=identitetaxon.xsl&servicexml=donneidentitestaxons.php&numclass=1&numtaxon=$1 [L]
RewriteRule ^bdnfr_nt([0-9]*)$ papyrus.php?menu=136&flore=REU&xslt=identitetaxon.xsl&servicexml=donneidentitestaxons.php&numclass=1&numtaxon=$1 [L]
RewriteRule ^bdnfr\/nt([0-9]*)$ papyrus.php?menu=136&flore=REU&xslt=identitetaxon.xsl&servicexml=donneidentitestaxons.php&numclass=1&numtaxon=$1 [L]
RewriteRule ^([^/]*\.css)$ wikini/isff/$1 [L]
RewriteRule ^wikini/([^/]+)/([^.]*)$ wikini/$1/wakka.php?wiki=$2 [L]
# Gestion des pages non trouvées
ErrorDocument 404 /erreur_404.php
# Anti-spam de referrers
SetEnvIfNoCase Referer ".*(banksin|hispabanc|sanjose.costarica.hotels-advisor|hotelsaficionado|offshore-resources|sex|hardcore|porn|pussy|xxx|webcam|ficken|fuck|gay|boobs|babes|x\-pictures|macinstruct|incest|linuxwaves|secureroot).*" env=BadReferrer
order deny,allow
deny from env=BadReferrer