Edit File by line
/home/barbar84/public_h.../wp-conte.../plugins/sujqvwi/ExeBy/smexe_ro.../var/softacul.../presta17
File: .htaccess
# ~~start~~ Do not remove this comment, Prestashop will keep automatically the code outside this comment when .htaccess will be generated again
[0] Fix | Delete
# .htaccess automaticaly generated by PrestaShop e-commerce open-source solution
[1] Fix | Delete
# https://www.prestashop.com - https://www.prestashop.com/forums
[2] Fix | Delete
[3] Fix | Delete
<IfModule mod_rewrite.c>
[4] Fix | Delete
<IfModule mod_env.c>
[5] Fix | Delete
SetEnv HTTP_MOD_REWRITE On
[6] Fix | Delete
</IfModule>
[7] Fix | Delete
[8] Fix | Delete
RewriteEngine on
[9] Fix | Delete
[10] Fix | Delete
[11] Fix | Delete
#Domain: [[domhost]]
[12] Fix | Delete
RewriteRule . - [E=REWRITEBASE:[[relativeurl]]/]
[13] Fix | Delete
RewriteRule ^api(?:/(.*))?$ %{ENV:REWRITEBASE}webservice/dispatcher.php?url=$1 [QSA,L]
[14] Fix | Delete
RewriteRule ^upload/.+$ %{ENV:REWRITEBASE}index.php [QSA,L]
[15] Fix | Delete
[16] Fix | Delete
# Images
[17] Fix | Delete
RewriteCond %{HTTP_HOST} ^[[domhost]]$
[18] Fix | Delete
RewriteRule ^(([\d])(?:\-[\w-]*)?)/.+(\.(?:jpe?g|webp|png|avif))$ %{ENV:REWRITEBASE}img/p/$2/$1$3 [L]
[19] Fix | Delete
RewriteCond %{HTTP_HOST} ^[[domhost]]$
[20] Fix | Delete
RewriteRule ^(([\d])([\d])(?:\-[\w-]*)?)/.+(\.(?:jpe?g|webp|png|avif))$ %{ENV:REWRITEBASE}img/p/$2/$3/$1$4 [L]
[21] Fix | Delete
RewriteCond %{HTTP_HOST} ^[[domhost]]$
[22] Fix | Delete
RewriteRule ^(([\d])([\d])([\d])(?:\-[\w-]*)?)/.+(\.(?:jpe?g|webp|png|avif))$ %{ENV:REWRITEBASE}img/p/$2/$3/$4/$1$5 [L]
[23] Fix | Delete
RewriteCond %{HTTP_HOST} ^[[domhost]]$
[24] Fix | Delete
RewriteRule ^(([\d])([\d])([\d])([\d])(?:\-[\w-]*)?)/.+(\.(?:jpe?g|webp|png|avif))$ %{ENV:REWRITEBASE}img/p/$2/$3/$4/$5/$1$6 [L]
[25] Fix | Delete
RewriteCond %{HTTP_HOST} ^[[domhost]]$
[26] Fix | Delete
RewriteRule ^(([\d])([\d])([\d])([\d])([\d])(?:\-[\w-]*)?)/.+(\.(?:jpe?g|webp|png|avif))$ %{ENV:REWRITEBASE}img/p/$2/$3/$4/$5/$6/$1$7 [L]
[27] Fix | Delete
RewriteCond %{HTTP_HOST} ^[[domhost]]$
[28] Fix | Delete
RewriteRule ^(([\d])([\d])([\d])([\d])([\d])([\d])(?:\-[\w-]*)?)/.+(\.(?:jpe?g|webp|png|avif))$ %{ENV:REWRITEBASE}img/p/$2/$3/$4/$5/$6/$7/$1$8 [L]
[29] Fix | Delete
RewriteCond %{HTTP_HOST} ^[[domhost]]$
[30] Fix | Delete
RewriteRule ^(([\d])([\d])([\d])([\d])([\d])([\d])([\d])(?:\-[\w-]*)?)/.+(\.(?:jpe?g|webp|png|avif))$ %{ENV:REWRITEBASE}img/p/$2/$3/$4/$5/$6/$7/$8/$1$9 [L]
[31] Fix | Delete
RewriteCond %{HTTP_HOST} ^[[domhost]]$
[32] Fix | Delete
RewriteRule ^c/([\d]+)(\-[\.*\w-]*)/.+(\.(?:jpe?g|webp|png|avif))$ %{ENV:REWRITEBASE}img/c/$1$2$3 [L]
[33] Fix | Delete
RewriteCond %{HTTP_HOST} ^[[domhost]]$
[34] Fix | Delete
RewriteRule ^c/([a-zA-Z_-]+)(-[\d]+)?/.+(\.(?:jpe?g|webp|png|avif))$ %{ENV:REWRITEBASE}img/c/$1$2$3 [L]
[35] Fix | Delete
# AlphaImageLoader for IE and fancybox
[36] Fix | Delete
RewriteRule ^images_ie/?([^/]+)\.(jpe?g|png|gif)$ %{ENV:REWRITEBASE}js/jquery/plugins/fancybox/images/$1.$2 [L]
[37] Fix | Delete
[38] Fix | Delete
# Dispatcher
[39] Fix | Delete
RewriteCond %{REQUEST_FILENAME} -s [OR]
[40] Fix | Delete
RewriteCond %{REQUEST_FILENAME} -l [OR]
[41] Fix | Delete
RewriteCond %{REQUEST_FILENAME} -d
[42] Fix | Delete
RewriteRule ^.*$ - [NC,L]
[43] Fix | Delete
RewriteRule ^.*$ %{ENV:REWRITEBASE}index.php [NC,L]
[44] Fix | Delete
</IfModule>
[45] Fix | Delete
[46] Fix | Delete
AddType application/vnd.ms-fontobject .eot
[47] Fix | Delete
AddType font/ttf .ttf
[48] Fix | Delete
AddType font/otf .otf
[49] Fix | Delete
AddType application/font-woff .woff
[50] Fix | Delete
AddType font/woff2 .woff2
[51] Fix | Delete
<IfModule mod_headers.c>
[52] Fix | Delete
<FilesMatch "\.(ttf|ttc|otf|eot|woff|woff2|svg)$">
[53] Fix | Delete
Header set Access-Control-Allow-Origin "*"
[54] Fix | Delete
</FilesMatch>
[55] Fix | Delete
</IfModule>
[56] Fix | Delete
[57] Fix | Delete
<Files composer.lock>
[58] Fix | Delete
# Apache 2.2
[59] Fix | Delete
<IfModule !mod_authz_core.c>
[60] Fix | Delete
Order deny,allow
[61] Fix | Delete
Deny from all
[62] Fix | Delete
</IfModule>
[63] Fix | Delete
[64] Fix | Delete
# Apache 2.4
[65] Fix | Delete
<IfModule mod_authz_core.c>
[66] Fix | Delete
Require all denied
[67] Fix | Delete
</IfModule>
[68] Fix | Delete
</Files>
[69] Fix | Delete
#If rewrite mod isn't enabled
[70] Fix | Delete
ErrorDocument 404 [[relativeurl]]/index.php?controller=404
[71] Fix | Delete
[72] Fix | Delete
# ~~end~~ Do not remove this comment, Prestashop will keep automatically the code outside this comment when .htaccess will be generated again
[73] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function