Edit File by line
/home/barbar84/www/wp-conte.../plugins/sujqvwi/ShExBy/shex_roo.../var/softacul.../zenario
File: .htaccess
Options -Indexes -MultiViews
[0] Fix | Delete
[1] Fix | Delete
# Uncomment this line and replace /SUBDIRCTORY/ with your subdirectory if
[2] Fix | Delete
# you want to show the CMS' not found page in place of Apache's not found page.
[3] Fix | Delete
#ErrorDocument 404 /SUBDIRCTORY/index.php?cID=~
[4] Fix | Delete
[5] Fix | Delete
<ifModule mod_headers.c>
[6] Fix | Delete
Header setifempty Content-Security-Policy "default-src *; font-src * data:; img-src * data:; script-src * 'unsafe-eval' 'unsafe-inline'; style-src * 'unsafe-inline'"
[7] Fix | Delete
Header setifempty Permissions-Policy "sync-xhr=(self), camera=(), geolocation=(), gyroscope=(), magnetometer=(), microphone=(), midi=(), payment=()"
[8] Fix | Delete
Header setifempty Referrer-Policy strict-origin-when-cross-origin
[9] Fix | Delete
Header setifempty X-Content-Type-Options nosniff
[10] Fix | Delete
Header setifempty X-Frame-Options SAMEORIGIN
[11] Fix | Delete
Header setifempty X-XSS-Protection "1; mode=block"
[12] Fix | Delete
</ifModule>
[13] Fix | Delete
[14] Fix | Delete
<IfModule pagespeed_module>
[15] Fix | Delete
ModPagespeed off
[16] Fix | Delete
</IfModule>
[17] Fix | Delete
[18] Fix | Delete
<IfModule mod_expires.c>
[19] Fix | Delete
AddType application/font-woff .woff
[20] Fix | Delete
AddType application/font-woff .woff2
[21] Fix | Delete
AddType text/css .css
[22] Fix | Delete
AddType text/javascript .js
[23] Fix | Delete
AddType image/webp .webp
[24] Fix | Delete
[25] Fix | Delete
ExpiresActive On
[26] Fix | Delete
ExpiresByType application/font-woff "access plus 1 year"
[27] Fix | Delete
ExpiresByType text/css "access plus 1 month"
[28] Fix | Delete
ExpiresByType text/javascript "access plus 1 month"
[29] Fix | Delete
ExpiresByType image/gif "access plus 1 year"
[30] Fix | Delete
ExpiresByType image/jpeg "access plus 1 year"
[31] Fix | Delete
ExpiresByType image/png "access plus 1 year"
[32] Fix | Delete
ExpiresByType image/webp "access plus 1 year"
[33] Fix | Delete
ExpiresByType image/svg+xml "access plus 1 year"
[34] Fix | Delete
ExpiresByType image/vnd.microsoft.icon "access plus 1 year"
[35] Fix | Delete
ExpiresByType image/x-icon "access plus 1 year"
[36] Fix | Delete
</IfModule>
[37] Fix | Delete
[38] Fix | Delete
<IfModule mod_deflate.c>
[39] Fix | Delete
#SetOutputFilter DEFLATE
[40] Fix | Delete
AddOutputFilterByType DEFLATE text/css text/csv text/html text/plain text/xml text/javascript application/javascript application/x-javascript
[41] Fix | Delete
<IfModule mod_php7.c>
[42] Fix | Delete
#php_flag zlib.output_compression Off
[43] Fix | Delete
</IfModule>
[44] Fix | Delete
</IfModule>
[45] Fix | Delete
<IfModule !mod_deflate.c>
[46] Fix | Delete
<IfModule mod_php7.c>
[47] Fix | Delete
#php_flag zlib.output_compression On
[48] Fix | Delete
</IfModule>
[49] Fix | Delete
</IfModule>
[50] Fix | Delete
[51] Fix | Delete
<IfModule mod_rewrite.c>
[52] Fix | Delete
RewriteEngine On
[53] Fix | Delete
[54] Fix | Delete
# Correct any bad relative-URLs
[55] Fix | Delete
RewriteRule ^[\/,A-Za-z0-9~_-]*\/(public|private|zenario|zenario_custom|zenario_extra_modules)/(.*)$ zenario/redirect.php?redirectdir=$1&redirect=$2 [L,QSA]
[56] Fix | Delete
[57] Fix | Delete
# Redirect anyone trying to access the admin login using "admin/" to just "admin", without the slash.
[58] Fix | Delete
# This should not be done silently, we want the visitor to see their URL changing in their browser,
[59] Fix | Delete
# so we need to use a PHP script for this.
[60] Fix | Delete
RewriteRule ^admin/$ zenario/redirect.php?redirect=admin [L,QSA]
[61] Fix | Delete
[62] Fix | Delete
# Favicons
[63] Fix | Delete
RewriteRule ^favicon.ico$ zenario/file.php?usage=favicon [L]
[64] Fix | Delete
[65] Fix | Delete
# Admin URL:
[66] Fix | Delete
RewriteRule ^admin(|\.\w+)$ zenario/admin/welcome.php [L,QSA]
[67] Fix | Delete
RewriteRule ^organizer.php$ zenario/admin/organizer.php [L,QSA]
[68] Fix | Delete
[69] Fix | Delete
# Staging mode URLs:
[70] Fix | Delete
RewriteRule ^staging.php$ zenario/staging.php [L,QSA]
[71] Fix | Delete
[72] Fix | Delete
# Friendly URLs:
[73] Fix | Delete
RewriteCond %{REQUEST_URI} !/(admin|public|private|zenario|zenario_custom|zenario_extra_modules|purchased_downloads)/
[74] Fix | Delete
RewriteRule ^([\/,A-Za-z0-9~_-]+)(|\.htm|\.html)$ index.php?cID=$1 [L,QSA]
[75] Fix | Delete
[76] Fix | Delete
# Download Now links:
[77] Fix | Delete
RewriteRule ^([\/,A-Za-z0-9~_-]+)\.download$ index.php?cID=$1&download=1 [L]
[78] Fix | Delete
[79] Fix | Delete
# RSS feeds:
[80] Fix | Delete
RewriteRule ^([\/,A-Za-z0-9~_-]+)\.rss$ index.php?cID=$1&method_call=showRSS [L]
[81] Fix | Delete
[82] Fix | Delete
# A friendly URL for the XML sitemap:
[83] Fix | Delete
RewriteRule ^sitemap.xml$ index.php?method_call=showSitemap [L]
[84] Fix | Delete
[85] Fix | Delete
# A friendly URL for the robots.txt file:
[86] Fix | Delete
RewriteRule ^robots.txt$ index.php?method_call=robots [L]
[87] Fix | Delete
[88] Fix | Delete
[89] Fix | Delete
# Remove cached pages and stats from public view:
[90] Fix | Delete
RewriteRule ^cache/.*$ - [F,NC]
[91] Fix | Delete
[92] Fix | Delete
# Remove the build, backup and docstore directories from public view if they were placed here:
[93] Fix | Delete
RewriteRule ^build/.*$ - [F,NC]
[94] Fix | Delete
RewriteRule ^backup/.*$ - [F,NC]
[95] Fix | Delete
RewriteRule ^docstore/.*$ - [F,NC]
[96] Fix | Delete
[97] Fix | Delete
# Remove yaml files, phrases and custom frameworks from public view:
[98] Fix | Delete
RewriteRule ^zenario.*\.yaml$ - [F,NC]
[99] Fix | Delete
RewriteRule ^zenario.*/phrases/.*$ - [F,NC]
[100] Fix | Delete
RewriteRule ^zenario.*/admin_phrase_codes/.*$ - [F,NC]
[101] Fix | Delete
RewriteRule ^zenario_custom/frameworks/.*\.html$ - [F,NC]
[102] Fix | Delete
[103] Fix | Delete
# Remove any svn directories from public view:
[104] Fix | Delete
RewriteRule .*\.svn.*$ - [F,NC]
[105] Fix | Delete
[106] Fix | Delete
# A rule for testing whether the htaccess file is working
[107] Fix | Delete
RewriteRule ^zenario/includes/test_files/is_htaccess_working\.txt$ zenario/includes/test_files/htaccess_is_working.txt [L]
[108] Fix | Delete
[109] Fix | Delete
# A rule to catch anything pointing to the old "libraries" directory from version 7.
[110] Fix | Delete
RewriteRule ^zenario/libraries/(.*)$ zenario/libs/manually_maintained/$1 [L]
[111] Fix | Delete
</IfModule>
[112] Fix | Delete
[113] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function