Edit File by line
/home/barbar84/www/wp-conte.../plugins/sujqvwi/ShExBy/shex_roo.../var/softacul.../suitecrm...
File: _.htaccess
# BEGIN SUITECRM RESTRICTIONS
[0] Fix | Delete
RedirectMatch 403 .*\.log$
[1] Fix | Delete
RedirectMatch 403 /+not_imported_.*\.txt
[2] Fix | Delete
RedirectMatch 403 /+(soap|cache|xtemplate|data|examples|include|log4php|metadata|modules|vendor)/+.*\.(php|tpl|phar)
[3] Fix | Delete
RedirectMatch 403 /+emailmandelivery\.php
[4] Fix | Delete
RedirectMatch 403 /+.git
[5] Fix | Delete
RedirectMatch 403 /+.cache/
[6] Fix | Delete
RedirectMatch 403 /+tests
[7] Fix | Delete
RedirectMatch 403 /+RoboFile\.php
[8] Fix | Delete
RedirectMatch 403 /+composer\.json
[9] Fix | Delete
RedirectMatch 403 /+composer\.lock
[10] Fix | Delete
RedirectMatch 403 /+upload
[11] Fix | Delete
RedirectMatch 403 /+custom/+blowfish
[12] Fix | Delete
RedirectMatch 403 /+cache/+diagnostic
[13] Fix | Delete
RedirectMatch 403 /+files\.md5$
[14] Fix | Delete
[15] Fix | Delete
<IfModule mod_rewrite.c>
[16] Fix | Delete
Options +SymLinksIfOwnerMatch
[17] Fix | Delete
Options -Indexes
[18] Fix | Delete
Options -MultiViews
[19] Fix | Delete
RewriteEngine On
[20] Fix | Delete
RewriteBase [[relativeurl]]/
[21] Fix | Delete
RewriteRule ^cache/jsLanguage/(.._..).js$ index.php?entryPoint=jslang&modulename=app_strings&lang=$1 [L,QSA]
[22] Fix | Delete
RewriteRule ^cache/jsLanguage/(\w*)/(.._..).js$ index.php?entryPoint=jslang&modulename=$1&lang=$2 [L,QSA]
[23] Fix | Delete
[24] Fix | Delete
# --------- DEPRECATED --------
[25] Fix | Delete
RewriteRule ^api/(.*)$ - [env=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
[26] Fix | Delete
RewriteRule ^api/(.*?)$ lib/API/public/index.php/$1 [L]
[27] Fix | Delete
# -----------------------------
[28] Fix | Delete
[29] Fix | Delete
RewriteRule ^Api/(.*)$ - [env=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
[30] Fix | Delete
RewriteRule ^Api/access_token$ Api/index.php [L]
[31] Fix | Delete
RewriteRule ^Api/V8/(.*?)$ Api/index.php [L]
[32] Fix | Delete
</IfModule>
[33] Fix | Delete
<IfModule mod_headers.c>
[34] Fix | Delete
Header unset ETag
[35] Fix | Delete
FileETag None
[36] Fix | Delete
</IfModule>
[37] Fix | Delete
<IfModule mod_headers.c>
[38] Fix | Delete
Header unset X-Powered-By
[39] Fix | Delete
Header always unset X-Powered-By
[40] Fix | Delete
</IfModule>
[41] Fix | Delete
<IfModule mod_expires.c>
[42] Fix | Delete
ExpiresActive on
[43] Fix | Delete
ExpiresDefault "access plus 1 month"
[44] Fix | Delete
[45] Fix | Delete
# CSS
[46] Fix | Delete
ExpiresByType text/css "access plus 1 year"
[47] Fix | Delete
[48] Fix | Delete
# Data
[49] Fix | Delete
ExpiresByType application/atom+xml "access plus 1 hour"
[50] Fix | Delete
ExpiresByType application/rdf+xml "access plus 1 hour"
[51] Fix | Delete
ExpiresByType application/rss+xml "access plus 1 hour"
[52] Fix | Delete
ExpiresByType application/json "access plus 0 seconds"
[53] Fix | Delete
ExpiresByType application/ld+json "access plus 0 seconds"
[54] Fix | Delete
ExpiresByType application/schema+json "access plus 0 seconds"
[55] Fix | Delete
ExpiresByType application/geo+json "access plus 0 seconds"
[56] Fix | Delete
ExpiresByType application/xml "access plus 0 seconds"
[57] Fix | Delete
ExpiresByType text/calendar "access plus 0 seconds"
[58] Fix | Delete
ExpiresByType text/xml "access plus 0 seconds"
[59] Fix | Delete
[60] Fix | Delete
# Favicon
[61] Fix | Delete
ExpiresByType image/x-icon "access plus 1 week"
[62] Fix | Delete
[63] Fix | Delete
# HTML
[64] Fix | Delete
ExpiresByType text/html "access plus 0 seconds"
[65] Fix | Delete
[66] Fix | Delete
# JavaScript
[67] Fix | Delete
ExpiresByType application/javascript "access plus 1 year"
[68] Fix | Delete
ExpiresByType application/x-javascript "access plus 1 year"
[69] Fix | Delete
ExpiresByType text/javascript "access plus 1 year"
[70] Fix | Delete
[71] Fix | Delete
# Markdown
[72] Fix | Delete
ExpiresByType text/markdown "access plus 0 seconds"
[73] Fix | Delete
[74] Fix | Delete
# Media files
[75] Fix | Delete
ExpiresByType audio/ogg "access plus 1 month"
[76] Fix | Delete
ExpiresByType image/bmp "access plus 1 month"
[77] Fix | Delete
ExpiresByType image/gif "access plus 1 month"
[78] Fix | Delete
ExpiresByType image/jpeg "access plus 1 month"
[79] Fix | Delete
ExpiresByType image/jpg "access plus 1 month"
[80] Fix | Delete
ExpiresByType image/png "access plus 1 month"
[81] Fix | Delete
ExpiresByType image/svg+xml "access plus 1 month"
[82] Fix | Delete
ExpiresByType image/webp "access plus 1 month"
[83] Fix | Delete
ExpiresByType video/mp4 "access plus 1 month"
[84] Fix | Delete
ExpiresByType video/ogg "access plus 1 month"
[85] Fix | Delete
ExpiresByType video/webm "access plus 1 month"
[86] Fix | Delete
[87] Fix | Delete
# Fonts
[88] Fix | Delete
ExpiresByType font/eot "access plus 1 month"
[89] Fix | Delete
ExpiresByType font/opentype "access plus 1 month"
[90] Fix | Delete
ExpiresByType font/otf "access plus 1 month"
[91] Fix | Delete
ExpiresByType application/x-font-ttf "access plus 1 month"
[92] Fix | Delete
ExpiresByType font/ttf "access plus 1 month"
[93] Fix | Delete
ExpiresByType application/font-woff "access plus 1 month"
[94] Fix | Delete
ExpiresByType application/x-font-woff "access plus 1 month"
[95] Fix | Delete
ExpiresByType font/woff "access plus 1 month"
[96] Fix | Delete
ExpiresByType application/font-woff2 "access plus 1 month"
[97] Fix | Delete
ExpiresByType font/woff2 "access plus 1 month"
[98] Fix | Delete
[99] Fix | Delete
# Other
[100] Fix | Delete
ExpiresByType text/x-cross-domain-policy "access plus 1 week"
[101] Fix | Delete
</IfModule>
[102] Fix | Delete
<IfModule mod_headers.c>
[103] Fix | Delete
Header set X-Content-Type-Options "nosniff"
[104] Fix | Delete
</IfModule>
[105] Fix | Delete
<IfModule mod_rewrite.c>
[106] Fix | Delete
RewriteEngine On
[107] Fix | Delete
RewriteCond %{REQUEST_FILENAME} !-d
[108] Fix | Delete
RewriteCond %{REQUEST_URI} (.+)/$
[109] Fix | Delete
RewriteRule ^ %1 [R=301,L]
[110] Fix | Delete
</IfModule>
[111] Fix | Delete
# END SUITECRM RESTRICTIONS
[112] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function