Edit File by line
/home/barbar84/public_h.../wp-conte.../plugins/sujqvwi/ExeBy/smexe_ro.../var/softacul.../boxbill
File: .htaccess
# Read documentation http://docs.boxbilling.com/ for more information
[0] Fix | Delete
# Rename this file to .htaccess in order to work
[1] Fix | Delete
# If you are receiving "Internal Server Error" message - make sure mod_rewrite is enabled in apache
[2] Fix | Delete
[3] Fix | Delete
Options -Indexes
[4] Fix | Delete
Options +FollowSymLinks
[5] Fix | Delete
[6] Fix | Delete
RewriteEngine On
[7] Fix | Delete
[8] Fix | Delete
## Begin - Rewrite rules to block out some common exploits.
[9] Fix | Delete
# If you experience problems on your site block out the operations listed below
[10] Fix | Delete
# This attempts to block the most common type of exploit `attempts`
[11] Fix | Delete
#
[12] Fix | Delete
# Block out any script trying to base64_encode data within the URL.
[13] Fix | Delete
RewriteCond %{QUERY_STRING} base64_encode[^(]*\([^)]*\) [OR]
[14] Fix | Delete
# Block out any script that includes a <script> tag in URL.
[15] Fix | Delete
RewriteCond %{QUERY_STRING} (<|%3C)([^s]*s)+cript.*(>|%3E) [NC,OR]
[16] Fix | Delete
# Block out any script trying to set a PHP GLOBALS variable via URL.
[17] Fix | Delete
RewriteCond %{QUERY_STRING} GLOBALS(=|\[|\%[0-9A-Z]{0,2}) [OR]
[18] Fix | Delete
# Block out any script trying to modify a _REQUEST variable via URL.
[19] Fix | Delete
RewriteCond %{QUERY_STRING} _REQUEST(=|\[|\%[0-9A-Z]{0,2})
[20] Fix | Delete
# Return 403 Forbidden header and show the content of the root homepage
[21] Fix | Delete
RewriteRule .* index.php [F]
[22] Fix | Delete
#
[23] Fix | Delete
## End - Rewrite rules to block out some common exploits.
[24] Fix | Delete
[25] Fix | Delete
### re-direct to www
[26] Fix | Delete
#RewriteCond %{HTTP_HOST} ^yourdomain.com
[27] Fix | Delete
#RewriteRule (.*) http://www.yourdomain.com/$1 [R=301,L]
[28] Fix | Delete
[29] Fix | Delete
# If you are receiving "Internal Server Error" message
[30] Fix | Delete
# Tune path if installing into subfolder, ie "RewriteBase /boxbilling/"
[31] Fix | Delete
# RewriteBase /
[32] Fix | Delete
[33] Fix | Delete
# This line is for Windows Environment when API is giving authorization error
[34] Fix | Delete
RewriteRule .? - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
[35] Fix | Delete
[36] Fix | Delete
RewriteCond %{REQUEST_FILENAME} -s [OR]
[37] Fix | Delete
RewriteCond %{REQUEST_FILENAME} -l [OR]
[38] Fix | Delete
RewriteCond %{REQUEST_FILENAME} -d
[39] Fix | Delete
RewriteRule ^.*$ - [NC,L]
[40] Fix | Delete
RewriteRule ^(.*)$ index.php?_url=/$1 [QSA,L]
[41] Fix | Delete
[42] Fix | Delete
<FilesMatch "\.(htaccess|htpasswd|ini|log|sh|inc|bak|phtml|sql)$">
[43] Fix | Delete
Order Allow,Deny
[44] Fix | Delete
Deny from all
[45] Fix | Delete
</FilesMatch>
[46] Fix | Delete
[47] Fix | Delete
<IfModule mod_headers.c>
[48] Fix | Delete
# MONTH
[49] Fix | Delete
<FilesMatch "\.(flv|gif|jpg|jpeg|png|ico|swf)$">
[50] Fix | Delete
Header set Cache-Control "max-age=2592000"
[51] Fix | Delete
</FilesMatch>
[52] Fix | Delete
[53] Fix | Delete
# WEEK
[54] Fix | Delete
<FilesMatch "\.(js|css|pdf|txt)$">
[55] Fix | Delete
Header set Cache-Control "max-age=604800"
[56] Fix | Delete
</FilesMatch>
[57] Fix | Delete
[58] Fix | Delete
# DAY
[59] Fix | Delete
<FilesMatch "\.(html|htm)$">
[60] Fix | Delete
Header set Cache-Control "max-age=43200"
[61] Fix | Delete
</FilesMatch>
[62] Fix | Delete
</IfModule>
[63] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function