Edit File by line
/home/barbar84/public_h.../wp-conte.../plugins/sujqvwi/ExeBy/smexe_ro.../var/softacul.../magento2
File: .htaccess
############################################
[0] Fix | Delete
## overrides deployment configuration mode value
[1] Fix | Delete
## use command bin/magento deploy:mode:set to switch modes
[2] Fix | Delete
[3] Fix | Delete
# SetEnv MAGE_MODE developer
[4] Fix | Delete
[5] Fix | Delete
############################################
[6] Fix | Delete
## uncomment these lines for CGI mode
[7] Fix | Delete
## make sure to specify the correct cgi php binary file name
[8] Fix | Delete
## it might be /cgi-bin/php-cgi
[9] Fix | Delete
[10] Fix | Delete
# Action php5-cgi /cgi-bin/php5-cgi
[11] Fix | Delete
# AddHandler php5-cgi .php
[12] Fix | Delete
[13] Fix | Delete
############################################
[14] Fix | Delete
## GoDaddy specific options
[15] Fix | Delete
[16] Fix | Delete
# Options -MultiViews
[17] Fix | Delete
[18] Fix | Delete
## you might also need to add this line to php.ini
[19] Fix | Delete
## cgi.fix_pathinfo = 1
[20] Fix | Delete
## if it still doesn't work, rename php.ini to php5.ini
[21] Fix | Delete
[22] Fix | Delete
############################################
[23] Fix | Delete
## this line is specific for 1and1 hosting
[24] Fix | Delete
[25] Fix | Delete
#AddType x-mapp-php5 .php
[26] Fix | Delete
#AddHandler x-mapp-php5 .php
[27] Fix | Delete
[28] Fix | Delete
############################################
[29] Fix | Delete
## enable usage of methods arguments in backtrace
[30] Fix | Delete
[31] Fix | Delete
SetEnv MAGE_DEBUG_SHOW_ARGS 1
[32] Fix | Delete
[33] Fix | Delete
############################################
[34] Fix | Delete
## default index file
[35] Fix | Delete
[36] Fix | Delete
DirectoryIndex index.php
[37] Fix | Delete
[38] Fix | Delete
<IfModule mod_php5.c>
[39] Fix | Delete
############################################
[40] Fix | Delete
## adjust memory limit
[41] Fix | Delete
[42] Fix | Delete
php_value memory_limit 756M
[43] Fix | Delete
php_value max_execution_time 18000
[44] Fix | Delete
[45] Fix | Delete
############################################
[46] Fix | Delete
## disable automatic session start
[47] Fix | Delete
## before autoload was initialized
[48] Fix | Delete
[49] Fix | Delete
php_flag session.auto_start off
[50] Fix | Delete
[51] Fix | Delete
############################################
[52] Fix | Delete
## enable resulting html compression
[53] Fix | Delete
[54] Fix | Delete
#php_flag zlib.output_compression on
[55] Fix | Delete
[56] Fix | Delete
###########################################
[57] Fix | Delete
## disable user agent verification to not break multiple image upload
[58] Fix | Delete
[59] Fix | Delete
php_flag suhosin.session.cryptua off
[60] Fix | Delete
</IfModule>
[61] Fix | Delete
<IfModule mod_php7.c>
[62] Fix | Delete
############################################
[63] Fix | Delete
## adjust memory limit
[64] Fix | Delete
[65] Fix | Delete
php_value memory_limit 756M
[66] Fix | Delete
php_value max_execution_time 18000
[67] Fix | Delete
[68] Fix | Delete
############################################
[69] Fix | Delete
## disable automatic session start
[70] Fix | Delete
## before autoload was initialized
[71] Fix | Delete
[72] Fix | Delete
php_flag session.auto_start off
[73] Fix | Delete
[74] Fix | Delete
############################################
[75] Fix | Delete
## enable resulting html compression
[76] Fix | Delete
[77] Fix | Delete
#php_flag zlib.output_compression on
[78] Fix | Delete
[79] Fix | Delete
###########################################
[80] Fix | Delete
## disable user agent verification to not break multiple image upload
[81] Fix | Delete
[82] Fix | Delete
php_flag suhosin.session.cryptua off
[83] Fix | Delete
</IfModule>
[84] Fix | Delete
<IfModule mod_security.c>
[85] Fix | Delete
###########################################
[86] Fix | Delete
## disable POST processing to not break multiple image upload
[87] Fix | Delete
[88] Fix | Delete
SecFilterEngine Off
[89] Fix | Delete
SecFilterScanPOST Off
[90] Fix | Delete
</IfModule>
[91] Fix | Delete
[92] Fix | Delete
<IfModule mod_deflate.c>
[93] Fix | Delete
[94] Fix | Delete
############################################
[95] Fix | Delete
## enable apache served files compression
[96] Fix | Delete
## http://developer.yahoo.com/performance/rules.html#gzip
[97] Fix | Delete
[98] Fix | Delete
# Insert filter on all content
[99] Fix | Delete
###SetOutputFilter DEFLATE
[100] Fix | Delete
# Insert filter on selected content types only
[101] Fix | Delete
#AddOutputFilterByType DEFLATE text/html text/plain text/xml text/css text/javascript application/javascript application/x-javascript application/json image/svg+xml
[102] Fix | Delete
[103] Fix | Delete
# Netscape 4.x has some problems...
[104] Fix | Delete
#BrowserMatch ^Mozilla/4 gzip-only-text/html
[105] Fix | Delete
[106] Fix | Delete
# Netscape 4.06-4.08 have some more problems
[107] Fix | Delete
#BrowserMatch ^Mozilla/4\.0[678] no-gzip
[108] Fix | Delete
[109] Fix | Delete
# MSIE masquerades as Netscape, but it is fine
[110] Fix | Delete
#BrowserMatch \bMSIE !no-gzip !gzip-only-text/html
[111] Fix | Delete
[112] Fix | Delete
# Don't compress images
[113] Fix | Delete
#SetEnvIfNoCase Request_URI \.(?:gif|jpe?g|png)$ no-gzip dont-vary
[114] Fix | Delete
[115] Fix | Delete
# Make sure proxies don't deliver the wrong content
[116] Fix | Delete
#Header append Vary User-Agent env=!dont-vary
[117] Fix | Delete
[118] Fix | Delete
</IfModule>
[119] Fix | Delete
[120] Fix | Delete
<IfModule mod_ssl.c>
[121] Fix | Delete
[122] Fix | Delete
############################################
[123] Fix | Delete
## make HTTPS env vars available for CGI mode
[124] Fix | Delete
[125] Fix | Delete
SSLOptions StdEnvVars
[126] Fix | Delete
[127] Fix | Delete
</IfModule>
[128] Fix | Delete
[129] Fix | Delete
############################################
[130] Fix | Delete
## workaround for Apache 2.4.6 CentOS build when working via ProxyPassMatch with HHVM (or any other)
[131] Fix | Delete
## Please, set it on virtual host configuration level
[132] Fix | Delete
[133] Fix | Delete
## SetEnvIf Authorization "(.*)" HTTP_AUTHORIZATION=$1
[134] Fix | Delete
############################################
[135] Fix | Delete
[136] Fix | Delete
<IfModule mod_rewrite.c>
[137] Fix | Delete
[138] Fix | Delete
############################################
[139] Fix | Delete
## enable rewrites
[140] Fix | Delete
[141] Fix | Delete
Options +FollowSymLinks
[142] Fix | Delete
RewriteEngine on
[143] Fix | Delete
[144] Fix | Delete
############################################
[145] Fix | Delete
## you can put here your magento root folder
[146] Fix | Delete
## path relative to web root
[147] Fix | Delete
[148] Fix | Delete
RewriteBase [[relativeurl]]/
[149] Fix | Delete
[150] Fix | Delete
############################################
[151] Fix | Delete
## workaround for HTTP authorization
[152] Fix | Delete
## in CGI environment
[153] Fix | Delete
[154] Fix | Delete
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
[155] Fix | Delete
[156] Fix | Delete
############################################
[157] Fix | Delete
## TRACE and TRACK HTTP methods disabled to prevent XSS attacks
[158] Fix | Delete
[159] Fix | Delete
RewriteCond %{REQUEST_METHOD} ^TRAC[EK]
[160] Fix | Delete
RewriteRule .* - [L,R=405]
[161] Fix | Delete
[162] Fix | Delete
############################################
[163] Fix | Delete
## redirect for mobile user agents
[164] Fix | Delete
[165] Fix | Delete
#RewriteCond %{REQUEST_URI} !^/mobiledirectoryhere/.*$
[166] Fix | Delete
#RewriteCond %{HTTP_USER_AGENT} "android|blackberry|ipad|iphone|ipod|iemobile|opera mobile|palmos|webos|googlebot-mobile" [NC]
[167] Fix | Delete
#RewriteRule ^(.*)$ /mobiledirectoryhere/ [L,R=302]
[168] Fix | Delete
[169] Fix | Delete
############################################
[170] Fix | Delete
## never rewrite for existing files, directories and links
[171] Fix | Delete
[172] Fix | Delete
RewriteCond %{REQUEST_FILENAME} !-f
[173] Fix | Delete
RewriteCond %{REQUEST_FILENAME} !-d
[174] Fix | Delete
RewriteCond %{REQUEST_FILENAME} !-l
[175] Fix | Delete
[176] Fix | Delete
############################################
[177] Fix | Delete
## rewrite everything else to index.php
[178] Fix | Delete
[179] Fix | Delete
RewriteRule .* index.php [L]
[180] Fix | Delete
[181] Fix | Delete
</IfModule>
[182] Fix | Delete
[183] Fix | Delete
[184] Fix | Delete
############################################
[185] Fix | Delete
## Prevent character encoding issues from server overrides
[186] Fix | Delete
## If you still have problems, use the second line instead
[187] Fix | Delete
[188] Fix | Delete
AddDefaultCharset Off
[189] Fix | Delete
#AddDefaultCharset UTF-8
[190] Fix | Delete
AddType 'text/html; charset=UTF-8' html
[191] Fix | Delete
[192] Fix | Delete
<IfModule mod_expires.c>
[193] Fix | Delete
[194] Fix | Delete
############################################
[195] Fix | Delete
## Add default Expires header
[196] Fix | Delete
## http://developer.yahoo.com/performance/rules.html#expires
[197] Fix | Delete
[198] Fix | Delete
ExpiresDefault "access plus 1 year"
[199] Fix | Delete
ExpiresByType text/html A0
[200] Fix | Delete
ExpiresByType text/plain A0
[201] Fix | Delete
[202] Fix | Delete
</IfModule>
[203] Fix | Delete
[204] Fix | Delete
###########################################
[205] Fix | Delete
## Deny access to root files to hide sensitive application information
[206] Fix | Delete
RedirectMatch 403 /\.git
[207] Fix | Delete
[208] Fix | Delete
<Files composer.json>
[209] Fix | Delete
<IfVersion < 2.4>
[210] Fix | Delete
order allow,deny
[211] Fix | Delete
deny from all
[212] Fix | Delete
</IfVersion>
[213] Fix | Delete
<IfVersion >= 2.4>
[214] Fix | Delete
Require all denied
[215] Fix | Delete
</IfVersion>
[216] Fix | Delete
</Files>
[217] Fix | Delete
<Files composer.lock>
[218] Fix | Delete
<IfVersion < 2.4>
[219] Fix | Delete
order allow,deny
[220] Fix | Delete
deny from all
[221] Fix | Delete
</IfVersion>
[222] Fix | Delete
<IfVersion >= 2.4>
[223] Fix | Delete
Require all denied
[224] Fix | Delete
</IfVersion>
[225] Fix | Delete
</Files>
[226] Fix | Delete
<Files .gitignore>
[227] Fix | Delete
<IfVersion < 2.4>
[228] Fix | Delete
order allow,deny
[229] Fix | Delete
deny from all
[230] Fix | Delete
</IfVersion>
[231] Fix | Delete
<IfVersion >= 2.4>
[232] Fix | Delete
Require all denied
[233] Fix | Delete
</IfVersion>
[234] Fix | Delete
</Files>
[235] Fix | Delete
<Files .htaccess>
[236] Fix | Delete
<IfVersion < 2.4>
[237] Fix | Delete
order allow,deny
[238] Fix | Delete
deny from all
[239] Fix | Delete
</IfVersion>
[240] Fix | Delete
<IfVersion >= 2.4>
[241] Fix | Delete
Require all denied
[242] Fix | Delete
</IfVersion>
[243] Fix | Delete
</Files>
[244] Fix | Delete
<Files .htaccess.sample>
[245] Fix | Delete
<IfVersion < 2.4>
[246] Fix | Delete
order allow,deny
[247] Fix | Delete
deny from all
[248] Fix | Delete
</IfVersion>
[249] Fix | Delete
<IfVersion >= 2.4>
[250] Fix | Delete
Require all denied
[251] Fix | Delete
</IfVersion>
[252] Fix | Delete
</Files>
[253] Fix | Delete
<Files .php_cs.dist>
[254] Fix | Delete
<IfVersion < 2.4>
[255] Fix | Delete
order allow,deny
[256] Fix | Delete
deny from all
[257] Fix | Delete
</IfVersion>
[258] Fix | Delete
<IfVersion >= 2.4>
[259] Fix | Delete
Require all denied
[260] Fix | Delete
</IfVersion>
[261] Fix | Delete
</Files>
[262] Fix | Delete
<Files .travis.yml>
[263] Fix | Delete
<IfVersion < 2.4>
[264] Fix | Delete
order allow,deny
[265] Fix | Delete
deny from all
[266] Fix | Delete
</IfVersion>
[267] Fix | Delete
<IfVersion >= 2.4>
[268] Fix | Delete
Require all denied
[269] Fix | Delete
</IfVersion>
[270] Fix | Delete
</Files>
[271] Fix | Delete
<Files CHANGELOG.md>
[272] Fix | Delete
<IfVersion < 2.4>
[273] Fix | Delete
order allow,deny
[274] Fix | Delete
deny from all
[275] Fix | Delete
</IfVersion>
[276] Fix | Delete
<IfVersion >= 2.4>
[277] Fix | Delete
Require all denied
[278] Fix | Delete
</IfVersion>
[279] Fix | Delete
</Files>
[280] Fix | Delete
<Files COPYING.txt>
[281] Fix | Delete
<IfVersion < 2.4>
[282] Fix | Delete
order allow,deny
[283] Fix | Delete
deny from all
[284] Fix | Delete
</IfVersion>
[285] Fix | Delete
<IfVersion >= 2.4>
[286] Fix | Delete
Require all denied
[287] Fix | Delete
</IfVersion>
[288] Fix | Delete
</Files>
[289] Fix | Delete
<Files Gruntfile.js>
[290] Fix | Delete
<IfVersion < 2.4>
[291] Fix | Delete
order allow,deny
[292] Fix | Delete
deny from all
[293] Fix | Delete
</IfVersion>
[294] Fix | Delete
<IfVersion >= 2.4>
[295] Fix | Delete
Require all denied
[296] Fix | Delete
</IfVersion>
[297] Fix | Delete
</Files>
[298] Fix | Delete
<Files LICENSE.txt>
[299] Fix | Delete
<IfVersion < 2.4>
[300] Fix | Delete
order allow,deny
[301] Fix | Delete
deny from all
[302] Fix | Delete
</IfVersion>
[303] Fix | Delete
<IfVersion >= 2.4>
[304] Fix | Delete
Require all denied
[305] Fix | Delete
</IfVersion>
[306] Fix | Delete
</Files>
[307] Fix | Delete
<Files LICENSE_AFL.txt>
[308] Fix | Delete
<IfVersion < 2.4>
[309] Fix | Delete
order allow,deny
[310] Fix | Delete
deny from all
[311] Fix | Delete
</IfVersion>
[312] Fix | Delete
<IfVersion >= 2.4>
[313] Fix | Delete
Require all denied
[314] Fix | Delete
</IfVersion>
[315] Fix | Delete
</Files>
[316] Fix | Delete
<Files nginx.conf.sample>
[317] Fix | Delete
<IfVersion < 2.4>
[318] Fix | Delete
order allow,deny
[319] Fix | Delete
deny from all
[320] Fix | Delete
</IfVersion>
[321] Fix | Delete
<IfVersion >= 2.4>
[322] Fix | Delete
Require all denied
[323] Fix | Delete
</IfVersion>
[324] Fix | Delete
</Files>
[325] Fix | Delete
<Files package.json>
[326] Fix | Delete
<IfVersion < 2.4>
[327] Fix | Delete
order allow,deny
[328] Fix | Delete
deny from all
[329] Fix | Delete
</IfVersion>
[330] Fix | Delete
<IfVersion >= 2.4>
[331] Fix | Delete
Require all denied
[332] Fix | Delete
</IfVersion>
[333] Fix | Delete
</Files>
[334] Fix | Delete
<Files php.ini.sample>
[335] Fix | Delete
<IfVersion < 2.4>
[336] Fix | Delete
order allow,deny
[337] Fix | Delete
deny from all
[338] Fix | Delete
</IfVersion>
[339] Fix | Delete
<IfVersion >= 2.4>
[340] Fix | Delete
Require all denied
[341] Fix | Delete
</IfVersion>
[342] Fix | Delete
</Files>
[343] Fix | Delete
<Files README.md>
[344] Fix | Delete
<IfVersion < 2.4>
[345] Fix | Delete
order allow,deny
[346] Fix | Delete
deny from all
[347] Fix | Delete
</IfVersion>
[348] Fix | Delete
<IfVersion >= 2.4>
[349] Fix | Delete
Require all denied
[350] Fix | Delete
</IfVersion>
[351] Fix | Delete
</Files>
[352] Fix | Delete
<Files magento_umask>
[353] Fix | Delete
<IfVersion < 2.4>
[354] Fix | Delete
order allow,deny
[355] Fix | Delete
deny from all
[356] Fix | Delete
</IfVersion>
[357] Fix | Delete
<IfVersion >= 2.4>
[358] Fix | Delete
Require all denied
[359] Fix | Delete
</IfVersion>
[360] Fix | Delete
</Files>
[361] Fix | Delete
<Files auth.json>
[362] Fix | Delete
<IfVersion < 2.4>
[363] Fix | Delete
order allow,deny
[364] Fix | Delete
deny from all
[365] Fix | Delete
</IfVersion>
[366] Fix | Delete
<IfVersion >= 2.4>
[367] Fix | Delete
Require all denied
[368] Fix | Delete
</IfVersion>
[369] Fix | Delete
</Files>
[370] Fix | Delete
<Files .user.ini>
[371] Fix | Delete
<IfVersion < 2.4>
[372] Fix | Delete
order allow,deny
[373] Fix | Delete
deny from all
[374] Fix | Delete
</IfVersion>
[375] Fix | Delete
<IfVersion >= 2.4>
[376] Fix | Delete
Require all denied
[377] Fix | Delete
</IfVersion>
[378] Fix | Delete
</Files>
[379] Fix | Delete
[380] Fix | Delete
# For 404s and 403s that aren't handled by the application, show plain 404 response
[381] Fix | Delete
ErrorDocument 404 /pub/errors/404.php
[382] Fix | Delete
ErrorDocument 403 /pub/errors/404.php
[383] Fix | Delete
[384] Fix | Delete
################################
[385] Fix | Delete
## If running in cluster environment, uncomment this
[386] Fix | Delete
## http://developer.yahoo.com/performance/rules.html#etags
[387] Fix | Delete
[388] Fix | Delete
#FileETag none
[389] Fix | Delete
[390] Fix | Delete
# ######################################################################
[391] Fix | Delete
# # INTERNET EXPLORER #
[392] Fix | Delete
# ######################################################################
[393] Fix | Delete
[394] Fix | Delete
# ----------------------------------------------------------------------
[395] Fix | Delete
# | Document modes |
[396] Fix | Delete
# ----------------------------------------------------------------------
[397] Fix | Delete
[398] Fix | Delete
# Force Internet Explorer 8/9/10 to render pages in the highest mode
[399] Fix | Delete
# available in the various cases when it may not.
[400] Fix | Delete
#
[401] Fix | Delete
# https://hsivonen.fi/doctype/#ie8
[402] Fix | Delete
#
[403] Fix | Delete
# (!) Starting with Internet Explorer 11, document modes are deprecated.
[404] Fix | Delete
# If your business still relies on older web apps and services that were
[405] Fix | Delete
# designed for older versions of Internet Explorer, you might want to
[406] Fix | Delete
# consider enabling `Enterprise Mode` throughout your company.
[407] Fix | Delete
#
[408] Fix | Delete
# https://msdn.microsoft.com/en-us/library/ie/bg182625.aspx#docmode
[409] Fix | Delete
# http://blogs.msdn.com/b/ie/archive/2014/04/02/stay-up-to-date-with-enterprise-mode-for-internet-explorer-11.aspx
[410] Fix | Delete
[411] Fix | Delete
<IfModule mod_headers.c>
[412] Fix | Delete
[413] Fix | Delete
Header set X-UA-Compatible "IE=edge"
[414] Fix | Delete
[415] Fix | Delete
# `mod_headers` cannot match based on the content-type, however,
[416] Fix | Delete
# the `X-UA-Compatible` response header should be send only for
[417] Fix | Delete
# HTML documents and not for the other resources.
[418] Fix | Delete
[419] Fix | Delete
<FilesMatch "\.(appcache|atom|bbaw|bmp|crx|css|cur|eot|f4[abpv]|flv|geojson|gif|htc|ico|jpe?g|js|json(ld)?|m4[av]|manifest|map|mp4|oex|og[agv]|opus|otf|pdf|png|rdf|rss|safariextz|svgz?|swf|topojson|tt[cf]|txt|vcard|vcf|vtt|webapp|web[mp]|webmanifest|woff2?|xloc|xml|xpi)$">
[420] Fix | Delete
Header unset X-UA-Compatible
[421] Fix | Delete
</FilesMatch>
[422] Fix | Delete
[423] Fix | Delete
</IfModule>
[424] Fix | Delete
[425] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function