28,6 → 28,10 |
# Raccourci pour l'inscription |
RewriteRule ^_ins_([0-9a-z]*)$ papyrus.php?menu=22&action=ajouter&id=$1 [L] |
|
# Réecriture d'url pour les enquêtes/opérations |
RewriteRule ^operation:(.+)$ /enquetes/$1/index.html [L] |
RewriteRule ^enquete:(.+)$ /enquetes/$1/index.html [L] |
|
# Réecriture vers tela-botanica.net |
RewriteRule ^phpmyadmin(.*)$ http://sql.tela-botanica.net$1 [QSA,L,R=301] |
RewriteRule ^(gestion.*)$ http://www.tela-botanica.net/$1 [QSA,L,R=301] |
34,7 → 38,6 |
RewriteRule ^calendrier\/calendars\/publish\.mozilla\.php\/(.+)\.ics$ http://www.tela-botanica.net/calendriers/calendars/publish.php/$1.ics [QSA,L,R=301] |
RewriteRule ^calendrier\/(.*)$ http://www.tela-botanica.net/calendriers/$1 [QSA,L,R=301] |
RewriteRule ^enquetes\/utilisateurs_eflore$ http://www.tela-botanica.net/enquetes/index.php?sid=1&newtest=Y [QSA,L,R=301] |
RewriteRule ^(enquetes.*)$ http://www.tela-botanica.net/$1 [QSA,L,R=301] |
RewriteRule ^telabotanica\/(.*)$ http://www.tela-botanica.net/intranet/$1 [QSA,L,R=301] |
RewriteRule ^photos(.*)$ http://www.tela-botanica.net/photos$1 [QSA,L,R=301] |
|
93,6 → 96,7 |
RewriteRule ^eflore\/BDNFF\/([0-9.]+)\/nn\/([0-9]+)[/]?$ /bdtfx-nn-$2 [R=301] |
RewriteRule ^eflore\/BDNFF\/(derniere_version|[*])\/nn\/([0-9]+)$ /bdtfx-nn-$2 [R=301] |
RewriteRule ^eflore\/BDNFF\/nn\/([0-9]+)$ /bdtfx-nn-$1 [R=301] |
RewriteRule ^eflore\/BDNFF\/([0-9]+|\*)\/nn\/([0-9]+)/([0-9a-zA-Z]*)$ /bdtfx-nn-$2 [R=301] |
######## |
|
|
180,10 → 184,15 |
#RewriteRule ^([^/]*\.css)$ wikini/isff/$1 [L] |
#RewriteRule ^wikini/([^/]+)/([^.]*)$ wikini/$1/wakka.php?wiki=$2 [L] |
|
RewriteRule ^(bdtfx|bdtxa)$ papyrus.php?menu=899&referentiel=$1&niveau=2 [QSA,L] |
RewriteRule ^(bdtfx|bdtxa)[-/:]nn[-/:]([0-9]+)$ papyrus.php?menu=899&referentiel=$1&niveau=2&module=fiche&action=fiche&num_nom=$2 [QSA,L] |
RewriteRule ^(bdtfx|bdtxa)[-/:]([0-9]+)[-/:]nn[-/:]([0-9]+)$ papyrus.php?menu=899&referentiel=$1&niveau=2&module=fiche&action=fiche&num_nom=$2 [QSA,L] |
#Redirections pour le nouvel eflore |
RewriteRule ^(bdtfx)$ papyrus.php?menu=899&referentiel=$1&niveau=2 [QSA,L] |
RewriteRule ^(bdtfx)[-/:]nn[-/:]([0-9]+)$ papyrus.php?menu=899&referentiel=$1&niveau=2&module=fiche&action=fiche&num_nom=$2 [QSA,L] |
RewriteRule ^(bdtfx)[-/:]([0-9]+)[-/:]nn[-/:]([0-9]+)$ papyrus.php?menu=899&referentiel=$1&niveau=2&module=fiche&action=fiche&num_nom=$2 [QSA,L] |
|
#Redirections pour le nouvel eflore antilles (à fusionner avec les règles du dessus lors du passage en prod) |
RewriteRule ^(bdtxa)[-/:]nn[-/:]([0-9]+)$ /eflore-test/consultation/index.php?referentiel=bdtxa&niveau=2&module=fiche&action=fiche&num_nom=$2 [QSA,R] |
RewriteRule ^(bdtxa)[-/:]([0-9]+)[-/:]nn[-/:]([0-9]+)$ /eflore-test/consultation/index.php?referentiel=bdtxa&niveau=2&module=fiche&action=fiche&num_nom=$2 [QSA,R] |
|
# 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 |
214,41 → 223,48 |
# Réecriture d'url pour les applications GWT/JS |
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:cel-img-test:([0-9]{3})([0-9]{3})([0-9]{3})([^.]+)(.jpg|)$ eflore-test/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] |
RewriteRule ^appli:del http://www.tela-botanica.org/eflore/del/del.html [NE,QSA,L] |
RewriteRule ^appli:identiplante$ http://www.tela-botanica.org/eflore/del/del.html [QSA,L] |
RewriteRule ^appli:pictoflora$ http://www.tela-botanica.org/eflore/del/del.html#page_recherche_images [NE,QSA,L] |
|
# Réecriture d'url pour les Services |
RewriteRule ^service:cel:(.+)$ eflore/cel/jrest/$1 [QSA,L] |
RewriteRule ^service:del:(.+)$ eflore/del/services/$1 [QSA,L] |
RewriteRule ^service:annuaire:(.+)$ client/annuaire_nouveau/actuelle/jrest/$1 [QSA,L] |
|
# Réecriture d'url pour photoflora : attention bien laisser le index.php car le serveur photoflora ne supporte pas le htaccess |
RewriteRule ^service:eflore:([0-9]\.[0-9])/photoflora/images$ http://photoflora.free.fr/eflore-photoflora/services/index.php/$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] |
# Raccourcis pour eFlore v5 |
RewriteRule ^eflore:wiki:([^/]+)nt([0-9]+)$ http://www.tela-botanica.org/wikini/eFloreRedaction/wakka.php?wiki=$1nt$2 [L] |
RewriteRule ^donnees:([^/]+)/(.*)$ eflore/donnees/$1/$2 [L] |
|
RewriteRule ^eflore-test:wiki:([^/]+)nt([0-9]+)$ http://www.tela-botanica.org/wikini/eFloreRedactionTest/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] |
RewriteRule ^mobile:([^-]+)-nn-([0-9]+)$ /eflore-test/consultation/index_mobile.php?module=mobile&referentiel=$1&num_nom=$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:del$ http://www.tela-botanica.org/eflore-test/del-test/del.html [L,QSA] |
RewriteRule ^appli:test:identiplante$ http://www.tela-botanica.org/eflore-test/del-test/del.html [L,NE,QSA] |
RewriteRule ^appli:test:pictoflora$ http://www.tela-botanica.org/eflore-test/del-test/del.html#page_recherche_images [L,NE,QSA] |
RewriteRule ^test-service:del:(.+)$ eflore-test/del-test/services/$1 [QSA,L] |
RewriteRule ^service:test:del:(.+)$ eflore-test/del-test/services/$1 [QSA,L] |
|
# Temporaire pour test... |
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 |