How to make an exception to https redirect for a single page?

Warning: count(): Parameter must be an array or an object that implements Countable in /home/styllloz/public_html/qa-theme/donut-theme/qa-donut-layer.php on line 274
0 like 0 dislike
Please tell me how to set up a redirect. The whole site works on https but I need one page to write the http Protocol!
Admin set up and does not get in touch!
In .htaccess have the following
Options +FollowSymLinks RewriteEngine On #del www RewriteCond %{HTTP_HOST} ^www\\.(.*) [NC] RewriteRule ^(.*)$ http://%1/$1 [R=301,L] #del // RewriteCond %{REQUEST_URI} ^(.*)/{2,}(.*)$ RewriteRule (.*) %1/%2 [R=301,L] #add / RewriteCond %{REQUEST_URI} ^(.*/[^/\\.]+)$ RewriteRule ^(.*)$ http://%{HTTP_HOST}/$1/ [R=301,L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-l RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !/bitrix/urlrewrite.php$ RewriteRule ^(.*)$ /bitrix/urlrewrite.php [L] RewriteRule .* - [E=REMOTE_USER:%{HTTP:Authorization}] 

I do not understand how is made a redirect to https to add an exception....
Required to for example one page worked without redirects in two minutes!
by | 17 views

1 Answer

0 like 0 dislike
there is no redirect to https
but it can be elsewhere
1. redirect in nginx
2. redirect in apache
3 the configuration of the https there you can set up automatic redirect to https
for example
add_header Content-Security-Policy-Report-Only "default-src https:; script-src https: 'unsafe-eval' 'unsafe-inline'; style-src https: 'unsafe-inline'; img-src https: dat a:; font-src https: dat a:; report-uri /csp-report";

Related questions

0 like 0 dislike
1 answer
0 like 0 dislike
1 answer
0 like 0 dislike
1 answer
0 like 0 dislike
1 answer
asked May 20, 2019 by danil4e
0 like 0 dislike
2 answers
asked Apr 5, 2019 by skyfly2010
110,608 questions
257,186 answers
35,405 users