On rajoute des paramètres modifiables en BO sur le module mesCategories.
This commit is contained in:
22
.htaccess
22
.htaccess
@@ -10,30 +10,30 @@ SetEnv HTTP_MOD_REWRITE On
|
||||
RewriteEngine on
|
||||
|
||||
|
||||
#Domain: thecoredev.produit-naturel-france-v2:8888
|
||||
#Domain: thecoredev.produit-naturel-france:8888
|
||||
RewriteRule . - [E=REWRITEBASE:/]
|
||||
RewriteRule ^api(?:/(.*))?$ %{ENV:REWRITEBASE}webservice/dispatcher.php?url=$1 [QSA,L]
|
||||
|
||||
# Images
|
||||
RewriteCond %{HTTP_HOST} ^thecoredev.produit-naturel-france-v2:8888$
|
||||
RewriteCond %{HTTP_HOST} ^thecoredev.produit-naturel-france:8888$
|
||||
RewriteRule ^([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$1$2$3.jpg [L]
|
||||
RewriteCond %{HTTP_HOST} ^thecoredev.produit-naturel-france-v2:8888$
|
||||
RewriteCond %{HTTP_HOST} ^thecoredev.produit-naturel-france:8888$
|
||||
RewriteRule ^([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$2/$1$2$3$4.jpg [L]
|
||||
RewriteCond %{HTTP_HOST} ^thecoredev.produit-naturel-france-v2:8888$
|
||||
RewriteCond %{HTTP_HOST} ^thecoredev.produit-naturel-france:8888$
|
||||
RewriteRule ^([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$2/$3/$1$2$3$4$5.jpg [L]
|
||||
RewriteCond %{HTTP_HOST} ^thecoredev.produit-naturel-france-v2:8888$
|
||||
RewriteCond %{HTTP_HOST} ^thecoredev.produit-naturel-france:8888$
|
||||
RewriteRule ^([0-9])([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$2/$3/$4/$1$2$3$4$5$6.jpg [L]
|
||||
RewriteCond %{HTTP_HOST} ^thecoredev.produit-naturel-france-v2:8888$
|
||||
RewriteCond %{HTTP_HOST} ^thecoredev.produit-naturel-france:8888$
|
||||
RewriteRule ^([0-9])([0-9])([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$2/$3/$4/$5/$1$2$3$4$5$6$7.jpg [L]
|
||||
RewriteCond %{HTTP_HOST} ^thecoredev.produit-naturel-france-v2:8888$
|
||||
RewriteCond %{HTTP_HOST} ^thecoredev.produit-naturel-france:8888$
|
||||
RewriteRule ^([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$2/$3/$4/$5/$6/$1$2$3$4$5$6$7$8.jpg [L]
|
||||
RewriteCond %{HTTP_HOST} ^thecoredev.produit-naturel-france-v2:8888$
|
||||
RewriteCond %{HTTP_HOST} ^thecoredev.produit-naturel-france:8888$
|
||||
RewriteRule ^([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$2/$3/$4/$5/$6/$7/$1$2$3$4$5$6$7$8$9.jpg [L]
|
||||
RewriteCond %{HTTP_HOST} ^thecoredev.produit-naturel-france-v2:8888$
|
||||
RewriteCond %{HTTP_HOST} ^thecoredev.produit-naturel-france:8888$
|
||||
RewriteRule ^([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$2/$3/$4/$5/$6/$7/$8/$1$2$3$4$5$6$7$8$9$10.jpg [L]
|
||||
RewriteCond %{HTTP_HOST} ^thecoredev.produit-naturel-france-v2:8888$
|
||||
RewriteCond %{HTTP_HOST} ^thecoredev.produit-naturel-france:8888$
|
||||
RewriteRule ^c/([0-9]+)(\-[\.*_a-zA-Z0-9-]*)(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/c/$1$2$3.jpg [L]
|
||||
RewriteCond %{HTTP_HOST} ^thecoredev.produit-naturel-france-v2:8888$
|
||||
RewriteCond %{HTTP_HOST} ^thecoredev.produit-naturel-france:8888$
|
||||
RewriteRule ^c/([a-zA-Z_-]+)(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/c/$1$2.jpg [L]
|
||||
# AlphaImageLoader for IE and fancybox
|
||||
RewriteRule ^images_ie/?([^/]+)\.(jpe?g|png|gif)$ js/jquery/plugins/fancybox/images/$1.$2 [L]
|
||||
|
||||
Reference in New Issue
Block a user