Subversion Repositories Sites.tela-botanica.org

Compare Revisions

Ignore whitespace Rev 1076 → Rev 1077

/trunk/.htaccess
74,9 → 74,6
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]
 
# Raccourcis pour les donnees d'eflore
RewriteRule ^donnees:([^/]+)/(.*)$ http://www.tela-botanica.org/eflore/donnees/$1/$2 [L]
 
# Raccourci pour Projets-Forums
RewriteRule ^forum_gestionnature$ papyrus.php?menu=134&forum=gestionnature [L]
 
168,6 → 165,11
#RewriteRule ^([^/]*\.css)$ wikini/isff/$1 [L]
#RewriteRule ^wikini/([^/]+)/([^.]*)$ wikini/$1/wakka.php?wiki=$2 [L]
 
#Redirections pour le nouvel eflore
RewriteRule ^([^-/:]+)[-/:]nn[^-/:]([0-9]+)$ /eflore/consultation?referentiel=$1&niveau=2&module=fiche&action=fiche&num_nom=$2 [L]
RewriteRule ^bdtfx$ /page:eflore_bdtfx?referentiel=bdtfx&niveau=2 [QSA,L,R=302]
RewriteRule ^bdtfx[-/:]([0-9]+)[-/:]nn[^-/:]([0-9]+)$ /page:eflore_bdtfx?referentiel=bdtfx&niveau=2&module=fiche&action=fiche&num_nom=$2 [QSA,L,R=302]
 
# Redirection d'url pour les vielles applications de Papyrus
RewriteRule ^([^\/]+)&(.*)$ http://www.tela-botanica.org/$1?$2 [QSA,L,R=301]
# Redirection d'url pour les vieux permaliens
196,27 → 198,48
RewriteRule ^urn:lsid:tela-botanica.org:coel:per([0-9]+)$ papyrus.php?menu=108&module=FichePersonne&id=$1 [L]
 
# Réecriture d'url pour les applications GWT/JS
RewriteRule ^appli:cel(2|)$ http://www.tela-botanica.org/eflore/cel2/cel2.html [QSA,L,R=302]
RewriteRule ^appli:cel$ http://www.tela-botanica.org/eflore/cel/appli/cel2.html [QSA,L,R=302]
RewriteRule ^appli:cel-img:([0-9]{3})([0-9]{3})([0-9]{3})([^.]+)(.jpg|)$ eflore/cel/images/$1/$2/$4/$1_$2_$3_$4.jpg [L]
RewriteRule ^appli:coel$ http://www.tela-botanica.org/eflore/coel/Coel.html [QSA,L,R=302]
RewriteRule ^appli:plantnetid:.* http://plantnetid.plantnet-project.org [L]
 
# Réecriture d'url pour les Widgets
RewriteRule ^widget:cel:(.+)$ eflore/cel2/widget/$1 [QSA,L]
# Réecriture d'url pour les Services
RewriteRule ^service:cel:(.+)$ eflore/cel2/jrest/$1 [QSA,L]
RewriteRule ^service:cel:(.+)$ eflore/cel/jrest/$1 [QSA,L]
RewriteRule ^service:annuaire:(.+)$ client/annuaire_nouveau/actuelle/jrest/$1 [QSA,L]
# Règle de ré-ecriture d'url pour l'accès aux services eFlore
RewriteRule ^service:eflore:([0-9]\.[0-9])/([^/]+)/(v[0-9]+[_.][0-9]+|[+*]|v[0-9]+)/([^/]+)/?(.*)?$ eflore/services/$2/$1/$4/$3/$5
RewriteRule ^service:eflore:([0-9]\.[0-9])/([^/]+)/(.+)$ eflore/services/$2/$1/$3
RewriteRule ^service:eflore:(.+)$ eflore/services/$1
RewriteRule ^service:eflore:([0-9]\.[0-9])/photoflora/images$ http://photoflora.free.fr/eflore-photoflora/services/$1/projets/photoflora/images [QSA,L]
RewriteRule ^service:eflore:([0-9]\.[0-9])/([^/]+)/(v[0-9]+[_.][0-9]+|[+*]|v[0-9]+)/([^/]+)/?(.*)?$ /eflore/services/$1/projets/$2/$4/$5?version.projet=$3
RewriteRule ^service:eflore:([0-9]\.[0-9])/([^/]+)/(.+)$ /eflore/services/$1/projets/$2/$3
 
# Raccourcis pour les donnees d'eflore
RewriteRule ^donnees:([^/]+)/(.*)$ eflore/donnees/$1/$2 [L]
 
# Réecriture d'url pour les widgets
RewriteRule ^widget:cel:(.+)$ eflore/cel/widget/$1 [QSA,L]
 
#Redirections pour eflore beta
RewriteRule ^eflore-test:wiki:([^/]+)nt([0-9]+)$ http://www.tela-botanica.org/wikini/floratest/wakka.php?wiki=$1nt$2 [L]
RewriteRule ^test\/nn\/([0-9]+)$ /eflore-test/consultation?referentiel=bdtfx&niveau=2&module=fiche&action=fiche&num_nom=$1 [L]
 
# Temporaire pour test...
RewriteRule ^appli-test:cel(2|)$ http://www.tela-botanica.org/eflore-test/cel2/cel2.html [QSA,L,R=302]
RewriteRule ^test:cel(2|)$ http://www.tela-botanica.org/eflore-test/cel2/cel2.html [QSA,L,R=302]
RewriteRule ^zoom(.*)$ http://www.tela-botanica.org/eflore-test/zoom$1 [L,R=301]
RewriteRule ^test:zoom$ http://www.tela-botanica.org/eflore-test/zoom/ [L,R=301]
RewriteRule ^test:cel-map$ http://www.tela-botanica.org/eflore/cel2/jrest/CelWidgetMap/carte-defaut [L]
RewriteRule ^appli-test:cel(2|)$ http://www.tela-botanica.org/eflore-test/cel/appli/cel2.html [QSA,L,R=302]
RewriteRule ^appli:test:del$ http://www.tela-botanica.org/eflore-test/del/del.html [L]
RewriteCond %{QUERY_STRING} (.+)
RewriteRule ^appli:test:del:identifier$ http://www.tela-botanica.org/eflore-test/del/del.html?%1#page_recherche_observations [NE,L]
RewriteCond %{QUERY_STRING} (.+)
RewriteRule ^appli:test:del:recherche$ http://www.tela-botanica.org/eflore-test/del/del.html?%1#page_recherche_images [NE,L]
RewriteRule ^appli:test:del:identifier$ http://www.tela-botanica.org/eflore-test/del/del.html#page_recherche_observations [NE]
RewriteRule ^appli:test:del:recherche$ http://www.tela-botanica.org/eflore-test/del/del.html#page_recherche_images [NE]
RewriteRule ^test-service:cel:(.+)$ eflore-test/cel/jrest/$1 [QSA,L]
RewriteRule ^service:test:cel:(.+)$ eflore-test/cel/jrest/$1 [QSA,L]
RewriteRule ^test-service:eflore:([0-9]\.[0-9])/photoflora/images$ http://photoflora.free.fr/eflore-photoflora/services/index.php/$1/projets/photoflora/images
RewriteRule ^test-service:eflore:([0-9]\.[0-9])/([^/]+)/(v[0-9]+[_.][0-9]+|[+*]|v[0-9]+)/([^/]+)/?(.*)?$ /eflore-test/services/$1/projets/$2/$4/$5?version.projet=$3
RewriteRule ^test-service:eflore:([0-9]\.[0-9])/([^/]+)/(.+)$ /eflore-test/services/$1/projets/$2/$3
RewriteRule ^widget-test:cel:(.+)$ eflore-test/cel/widget/$1 [QSA,L]
 
# Redirection suite à des changements à supprimer dans le futur
RewriteRule ^eflore/cel2/(cel2.html.*)$ http://www.tela-botanica.org/eflore/cel/appli/$1 [QSA,L,R=301]
RewriteRule ^eflore/cel2/(.+)$ http://www.tela-botanica.org/eflore/cel/$1 [QSA,L,R=301]
RewriteRule ^appli:cel2$ http://www.tela-botanica.org/eflore/cel/appli/cel2.html [QSA,L,R=301]
 
# Gestion des erreurs 404
ErrorDocument 404 /erreur_http.php?erreur=404