1 (edited by newera07 2019-05-24 18:49:30)

Topic: SSL http/https

Guys I have a huge problem. All my websites are labeled as dangerous because I should edit the htaccess file but I can't edit it because somehow cutenews effects it. How can I fix it?

This is my actual


RewriteEngine ON
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ /cutenews/show_news.php?cn_rewrite_url=$1 [L]

and this is what I'm supposed to ass to make eveything sure

RewriteEngine On
RewriteBase /
RewriteCond %{HTTPS} off
RewriteCond %{HTTP:X-Forwarded-Proto} !https
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]