## No directory listings IndexIgnore * Header set Strict-Transport-Security "max-age=31536000" env=HTTPS ## No directory listings IndexIgnore * ## Can be commented out if causes errors, see notes above. Options +FollowSymlinks -MultiViews Options -Indexes ## Mod_rewrite in use. RewriteEngine On RewriteBase / #RewriteRule ^(.*)$ http://www.blackmailhelpline.com [NC] #RewriteCond %{HTTP_HOST} ^blackmailhelpline.com/$1 [L,R=301] RewriteCond %{REQUEST_URI} ^/bmc.php$ RewriteCond %{QUERY_STRING} (^|&)utm_campaign=DR-(SEX|CBM|SMM)-([-%\sa-zA-Z0-9_]+)($|&) RewriteCond %{QUERY_STRING} (^|&)utm_term=([-%\sa-zA-Z0-9_]+)($|&) RewriteRule (.*) / [R=301,L] # RewriteRule ^(.*)$ /blackmail/$1 [L] # RewriteRule ^/(.*)$ /blackmail/$1 [R=301,NC,L] # RewriteRule ^blackmail/(.*)$ https://sextortion.co.uk/blackmail/$1 [R=301,L] RewriteRule ^sign/authorization-form/(.*)$ https://www.digitalforensics.com/sign/authorization-form/$1 [R=301,L] RewriteRule ^sign/settlement-agreement/(.*)$ https://www.digitalforensics.com/sign/settlement-agreement/$1 [R=301,L] RewriteRule ^sign/signing-complete(.*)$ https://www.digitalforensics.com/sign/signing-complete$1 [R=301,L] RewriteRule ^feedback/(.*)$ https://www.digitalforensics.com/feedback/$1 [R=301,L] RewriteRule ^authorization.php(.*)$ https://www.digitalforensics.com/authorization.php$1 [R=301,L] RewriteRule ^customer/service-code/(.*)/(.*)$ https://www.sextortion.co.uk/assets/customer_service_code/service_code.php?domain=$1&code=$2 [R=301,L] # To internally forward /dir/foo to /dir/foo.php RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME}.php -f RewriteRule ^(.*?)/?$ $1.php [L] ## No directory listings IndexIgnore * Header set Strict-Transport-Security "max-age=31536000" env=HTTPS Header set Strict-Transport-Security "max-age=31536000" env=HTTP Header set Cache-Control "max-age=31536000, public" Header set X-XSS-Protection "1; mode=block" Header always append X-Frame-Options SAMEORIGIN Header set X-Content-Type-Options nosniff