Subversion Repositories Sites.tela-botanica.org

Rev

Rev 69 | 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 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]

# Raccourci pour Projets-Forums
RewriteRule ^forum_gestionnature$ papyrus.php?menu=134&forum=gestionnature [L]

# Raccourci pour eFlore
RewriteRule ^nn([0-9]*)$ papyrus.php?menu=38&action=fiche&onglet=synthese&nn=$1 [L]
RewriteRule ^bdnff_nn([0-9]*)$ papyrus.php?menu=38&action=fiche&onglet=synthese&nn=$1 [L]
RewriteRule ^bdnff\/nn([0-9]*)$ papyrus.php?menu=38&action=fiche&onglet=synthese&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 ^([^/]*\.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