4 |
david |
1 |
AddHandler application/x-httpd-php5 .php
|
|
|
2 |
|
|
|
3 |
# Raccourci pour les applications intégrées à Papyrus
|
|
|
4 |
RewriteEngine on
|
|
|
5 |
# Raccourci pour l'inscription
|
|
|
6 |
RewriteRule ^_ins_([0-9a-z]*)$ papyrus.php?menu=22&id=$1 [L]
|
|
|
7 |
|
68 |
david |
8 |
# Raccourci supplémentaires pour les mondes
|
|
|
9 |
RewriteRule ^reseau$ papyrus.php?site=2 [L]
|
|
|
10 |
RewriteRule ^ateliers$ papyrus.php?site=3 [L]
|
|
|
11 |
RewriteRule ^biblio$ papyrus.php?site=5 [L]
|
|
|
12 |
RewriteRule ^eflore$ papyrus.php?site=6 [L]
|
|
|
13 |
RewriteRule ^articles$ papyrus.php?site=7 [L]
|
|
|
14 |
RewriteRule ^environnement$ papyrus.php?site=8 [L]
|
|
|
15 |
|
4 |
david |
16 |
# Raccourci supplémentaires pour les menus
|
|
|
17 |
RewriteRule ^bdnff$ papyrus.php?menu=39 [L]
|
|
|
18 |
|
|
|
19 |
# Raccourci pour Projets
|
|
|
20 |
RewriteRule ^projets/$ papyrus.php?menu=88 [L]
|
|
|
21 |
RewriteRule ^projets/([^/]+)$ papyrus.php?menu=88&id_projet=$1 [L]
|
|
|
22 |
RewriteRule ^projets/([^/]+)/([^/]*)$ papyrus.php?menu=88&id_projet=$1&act=$2 [L]
|
|
|
23 |
RewriteRule ^projets/[^/]+/wikini/wikini/(.*)$ wikini/$1 [L]
|
|
|
24 |
RewriteRule ^projets/([^/]+)/wikini/(.*)$ papyrus.php?menu=88&id_projet=$1&act=wikini&wiki=$2 [L]
|
|
|
25 |
RewriteRule ^projets/([^/]+)/documents/(.*)$ papyrus.php?menu=88&id_projet=$1&act=documents&id_repertoire=$2 [L]
|
69 |
jpm |
26 |
#Redirection définitive concernant l'ancien emplacement des Wikini dans l'appli Projets
|
|
|
27 |
RewriteCond %{REQUEST_URI}?%{QUERY_STRING} ^/client/projet/wikini/wakka\.php\?wikini=([^&]+)&wiki=([^&]+).*$ [NC]
|
|
|
28 |
RewriteRule ^client/projet/wikini/wakka\.php$ http://www.tela-botanica.org/wikini/%1/wakka.php?wiki=%2 [L,R=301]
|
4 |
david |
29 |
|
|
|
30 |
# Raccourci pour Projets-Forums
|
|
|
31 |
RewriteRule ^forum_gestionnature$ papyrus.php?menu=134&forum=gestionnature [L]
|
|
|
32 |
|
|
|
33 |
# Raccourci pour eFlore
|
68 |
david |
34 |
RewriteRule ^eflore\/nt([0-9]*)$ papyrus.php?menu=39&module=fiche&nt=$1 [L]
|
|
|
35 |
RewriteRule ^eflore\/nt([0-9]*)-([0-9a-zA-Z]*)$ papyrus.php?menu=39&module=fiche&cpr=$2&nt=$1 [L]
|
|
|
36 |
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]
|
|
|
37 |
RewriteRule ^eflore\/([^/]+)\/([0-9.]*)\/nt\/([0-9]*)$ papyrus.php?menu=39&module=fiche&cpr=$1&cprv=$2&nt=$3 [L]
|
|
|
38 |
RewriteRule ^eflore\/([^/]+)\/derniere_version\/nt\/([0-9]*)$ papyrus.php?menu=39&module=fiche&cpr=$1&nt=$2 [L]
|
|
|
39 |
|
|
|
40 |
RewriteRule ^eflore\/nn([0-9]*)$ papyrus.php?menu=39&module=fiche&nn=$1 [L]
|
|
|
41 |
RewriteRule ^eflore\/nn([0-9]*)-([0-9a-zA-Z]*)$ papyrus.php?menu=39&module=fiche&cpr=$2&nn=$1 [L]
|
|
|
42 |
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]
|
|
|
43 |
RewriteRule ^eflore\/([^/]+)\/([0-9.]*)\/nn\/([^/]+)$ papyrus.php?menu=39&module=fiche&cpr=$1&cprv=$2&nn=$3 [L]
|
|
|
44 |
RewriteRule ^eflore\/([^/]+)\/derniere_version\/nn\/([^/]+)$ papyrus.php?menu=39&module=fiche&cpr=$1&nn=$2 [L]
|
|
|
45 |
RewriteRule ^eflore\/([^/]+)\/([0-9.]*)\/nn\/([^/]+)\/(.+)$ papyrus.php?menu=39&module=fiche&action=$4&cpr=$1&cprv=$2&nn=$3 [L]
|
|
|
46 |
RewriteRule ^eflore\/([^/]+)\/derniere_version\/nn\/([^/]+)\/(.+)$ papyrus.php?menu=39&module=fiche&action=$3&cpr=$1&nn=$2 [L]
|
|
|
47 |
|
|
|
48 |
RewriteRule ^nn([0-9]*)$ papyrus.php?menu=39&module=fiche&nn=$1 [L]
|
|
|
49 |
RewriteRule ^bdnff_nn([0-9]*)$ papyrus.php?menu=39&module=fiche&nn=$1 [L]
|
|
|
50 |
RewriteRule ^bdnff\/nn([0-9]*)$ papyrus.php?menu=39&module=fiche&nn=$1 [L]
|
4 |
david |
51 |
RewriteRule ^bdnfgm_nn([0-9]*)$ papyrus.php?menu=135&flore=ANT&xslt=identitetaxon.xsl&servicexml=donneidentitestaxons.php&numclass=1&numnom=$1 [L]
|
|
|
52 |
RewriteRule ^bdnfgm\/nn([0-9]*)$ papyrus.php?menu=135&flore=ANT&xslt=identitetaxon.xsl&servicexml=donneidentitestaxons.php&numclass=1&numnom=$1 [L]
|
|
|
53 |
RewriteRule ^bdnfr_nn([0-9]*)$ papyrus.php?menu=136&flore=REU&xslt=identitetaxon.xsl&servicexml=donneidentitestaxons.php&numclass=1&numnom=$1 [L]
|
|
|
54 |
RewriteRule ^bdnfr\/nn([0-9]*)$ papyrus.php?menu=136&flore=REU&xslt=identitetaxon.xsl&servicexml=donneidentitestaxons.php&numclass=1&numnom=$1 [L]
|
|
|
55 |
|
68 |
david |
56 |
RewriteRule ^nt([0-9]*)$ papyrus.php?menu=39&module=fiche&nt=$1 [L]
|
|
|
57 |
RewriteRule ^bdnff_nt([0-9]*)$ papyrus.php?menu=39&module=fiche&nt=$1 [L]
|
|
|
58 |
RewriteRule ^bdnff\/nt([0-9]*)$ papyrus.php?menu=39&module=fiche&nt=$1 [L]
|
|
|
59 |
RewriteRule ^bdnfgm_nt([0-9]*)$ papyrus.php?menu=135&flore=ANT&xslt=identitetaxon.xsl&servicexml=donneidentitestaxons.php&numclass=1&numtaxon=$1 [L]
|
|
|
60 |
RewriteRule ^bdnfgm\/nt([0-9]*)$ papyrus.php?menu=135&flore=ANT&xslt=identitetaxon.xsl&servicexml=donneidentitestaxons.php&numclass=1&numtaxon=$1 [L]
|
|
|
61 |
RewriteRule ^bdnfr_nt([0-9]*)$ papyrus.php?menu=136&flore=REU&xslt=identitetaxon.xsl&servicexml=donneidentitestaxons.php&numclass=1&numtaxon=$1 [L]
|
|
|
62 |
RewriteRule ^bdnfr\/nt([0-9]*)$ papyrus.php?menu=136&flore=REU&xslt=identitetaxon.xsl&servicexml=donneidentitestaxons.php&numclass=1&numtaxon=$1 [L]
|
|
|
63 |
|
4 |
david |
64 |
RewriteRule ^([^/]*\.css)$ wikini/isff/$1 [L]
|
|
|
65 |
RewriteRule ^wikini/([^/]+)/([^.]*)$ wikini/$1/wakka.php?wiki=$2 [L]
|
|
|
66 |
|
|
|
67 |
# Gestion des pages non trouvées
|
|
|
68 |
ErrorDocument 404 /erreur_404.php
|
|
|
69 |
|
|
|
70 |
# Anti-spam de referrers
|
|
|
71 |
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
|
|
|
72 |
order deny,allow
|
|
|
73 |
deny from env=BadReferrer
|