Edit File by line
/home/barbar84/public_h.../wp-conte.../plugins/sujqvwi/ExeBy/smexe_ro.../var/softacul.../ospos
File: .htaccess
# redirect to public page
[0] Fix | Delete
<IfModule mod_rewrite.c>
[1] Fix | Delete
RewriteEngine On
[2] Fix | Delete
RewriteCond %{REQUEST_URI} !^public$
[3] Fix | Delete
RewriteCond %{REQUEST_URI} !^/.well-known/acme-challenge [NC]
[4] Fix | Delete
RewriteRule "^(.*)$" "[[relativeurl]]/public/" [R=301,L]
[5] Fix | Delete
</IfModule>
[6] Fix | Delete
[7] Fix | Delete
# disable directory browsing
[8] Fix | Delete
# For security reasons, Option all cannot be overridden.
[9] Fix | Delete
Options +SymLinksIfOwnerMatch -Indexes
[10] Fix | Delete
[11] Fix | Delete
# prevent folder listing
[12] Fix | Delete
IndexIgnore *
[13] Fix | Delete
[14] Fix | Delete
<IfModule mod_headers.c>
[15] Fix | Delete
Header always set X-Frame-Options "SAMEORIGIN"
[16] Fix | Delete
</Ifmodule>
[17] Fix | Delete
[18] Fix | Delete
# Apache 2.4
[19] Fix | Delete
<IfModule authz_core_module>
[20] Fix | Delete
# secure htaccess file
[21] Fix | Delete
<Files .htaccess>
[22] Fix | Delete
Require all denied
[23] Fix | Delete
</Files>
[24] Fix | Delete
[25] Fix | Delete
# prevent access to PHP error log
[26] Fix | Delete
<Files error_log>
[27] Fix | Delete
Require all denied
[28] Fix | Delete
</Files>
[29] Fix | Delete
[30] Fix | Delete
# prevent access to LICENSE
[31] Fix | Delete
<Files LICENSE>
[32] Fix | Delete
Require all denied
[33] Fix | Delete
</Files>
[34] Fix | Delete
[35] Fix | Delete
# prevent access to csv, txt and md files
[36] Fix | Delete
<FilesMatch "\.(csv|txt|md|yml|json|lock)$">
[37] Fix | Delete
Require all denied
[38] Fix | Delete
</FilesMatch>
[39] Fix | Delete
</IfModule>
[40] Fix | Delete
[41] Fix | Delete
# Apache 2.2
[42] Fix | Delete
<IfModule !authz_core_module>
[43] Fix | Delete
# secure htaccess file
[44] Fix | Delete
<Files .htaccess>
[45] Fix | Delete
Order allow,deny
[46] Fix | Delete
Deny from all
[47] Fix | Delete
Satisfy all
[48] Fix | Delete
</Files>
[49] Fix | Delete
[50] Fix | Delete
# prevent access to PHP error log
[51] Fix | Delete
<Files error_log>
[52] Fix | Delete
Order allow,deny
[53] Fix | Delete
Deny from all
[54] Fix | Delete
Satisfy all
[55] Fix | Delete
</Files>
[56] Fix | Delete
[57] Fix | Delete
# prevent access to LICENSE
[58] Fix | Delete
<Files LICENSE>
[59] Fix | Delete
Order allow,deny
[60] Fix | Delete
Deny from all
[61] Fix | Delete
Satisfy all
[62] Fix | Delete
</Files>
[63] Fix | Delete
[64] Fix | Delete
# prevent access to csv, txt and md files
[65] Fix | Delete
<FilesMatch "\.(csv|txt|md|yml|json|lock)$">
[66] Fix | Delete
Order allow,deny
[67] Fix | Delete
Deny from all
[68] Fix | Delete
Satisfy all
[69] Fix | Delete
</FilesMatch>
[70] Fix | Delete
</IfModule>
[71] Fix | Delete
[72] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function