Closed stklcode closed 1 month ago
hdd.htaccess (see #248):
Example output with GZIP enabled
# BEGIN CACHIFY <IfModule mod_rewrite.c>; RewriteEngine on # set hostname directory RewriteCond %{HTTPS} on RewriteRule .* - [E=CACHIFY_HOST:https-%{HTTP_HOST}] RewriteCond %{HTTPS} off RewriteRule .* - [E=CACHIFY_HOST:%{HTTP_HOST}] # set subdirectory RewriteCond %{REQUEST_URI} /$ RewriteRule .* - [E=CACHIFY_DIR:%{REQUEST_URI}] RewriteCond %{REQUEST_URI} ^$ RewriteRule .* - [E=CACHIFY_DIR:/] # gzip RewriteRule .* - [E=CACHIFY_SUFFIX:] <IfModule mod_mime.c>; RewriteCond %{HTTP:Accept-Encoding} gzip RewriteRule .* - [E=CACHIFY_SUFFIX:.gz] AddType text/html .gz AddEncoding gzip .gz </IfModule>; # Main Rules RewriteCond %{HTTP_ACCEPT} .*text/html.* RewriteCond %{REQUEST_METHOD} GET RewriteCond %{QUERY_STRING} ^$ RewriteCond %{REQUEST_URI} !^/(wp-admin|wp-content/cache)/.* RewriteCond %{HTTP_COOKIE} !(wp-postpass|wordpress_logged_in|comment_author)_ RewriteCond /var/www/html/wordpress/wp-content/cache/cachify/%{ENV:CACHIFY_HOST}%{ENV:CACHIFY_DIR}index.html%{ENV:CACHIFY_SUFFIX} -f RewriteRule ^(.*) /wordpress/wp-content/cache/cachify/%{ENV:CACHIFY_HOST}%{ENV:CACHIFY_DIR}index.html%{ENV:CACHIFY_SUFFIX} [L] </IfModule>; # END CACHIFY
hdd.nginx
gzip_static on;
apc.htaccess
apc.nginx
<strong>
<textarea>
Issues 0 New issues 0 Accepted issues
Measures 0 Security Hotspots 0.0% Coverage on New Code 0.0% Duplication on New Code
See analysis details on SonarCloud
hdd.htaccess (see #248):
Example output with GZIP enabled
hdd.nginx
gzip_static on;
directive to nginx HDD example, if gzip is enabledapc.htaccess
apc.nginx
<strong>
tags which are now allowed within<textarea>
(regression from #215)