logo
Tags down

shadow

HTTPS switches to HTTP


By : user3851748
Date : October 15 2020, 11:12 PM
I wish this help you Are you posting your login form to http://mysite.com/login.php?
If so, I'd recommend using a relative link (e.g.
)
code :


Share : facebook icon twitter icon

htaccess rewriterule: redirect http to https or https to http (both ways) depending on URL typed


By : dkacher
Date : March 29 2020, 07:55 AM
To fix the issue you can do Try adding the following to your htaccess file in the root directory of your site.
code :
RewriteEngine on
RewriteBase /

#determine if page is supposed to be http
#if it has p=home or p=home1 or qqq=home in querystring
RewriteCond %{QUERY_STRING} (^|&)(p=home1?|qqq=home)(&|$) [NC,OR]
#or if query string is empty
RewriteCond %{QUERY_STRING} ^$
#set env var to 1
RewriteRule ^ - [E=IS_HTTP:1]


#all pages that are supposed to be http redirected if https
RewriteCond %{HTTPS} on
RewriteCond %{ENV:IS_HTTP} 1
RewriteRule ^ http://%{HTTP_HOST}%{REQUEST_URI} [R,L=301]

#all other pages are sent to https if not already so
RewriteCond %{HTTPS} off
RewriteCond %{ENV:IS_HTTP} !1
RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [R,L=301]

IE silently switches from https to http


By : user3401648
Date : March 29 2020, 07:55 AM
With these it helps I'm guessing it could be a permanent redirection issue. try to open your website using Private Mode and see what happens.
UPDATE Actually I checked your website, when I try to open it with HTTPS it returns a 301 (Permanent Redirection) to the HTTP version. check ur server configurations.

some of my https requests in Jmeter arbitrarlily switches to plain http but keeps the port on 443


By : Ezhil Selvan
Date : March 29 2020, 07:55 AM
I hope this helps . I solved it by removing a HTTP Request Defaults config element. That config must have confused the rest of the script.
I also got the same tips from Blazemeter on Twitter, after I had solved it.

Forcing prepared requests from HTTPS back to HTTP Python Zeep client (wsdl https, binding needs to be http)


By : user3327401
Date : March 29 2020, 07:55 AM
Hope this helps You can set the "force_https" property to false in order to avoid the https forcing.
https://python-zeep.readthedocs.io/en/master/settings.html#settings

Laravel session not working when switching protocol (https to http or http to https)


By : Narendra Bitra
Date : March 29 2020, 07:55 AM
hope this fix your issue By default, Laravel is setting secure and/or httponly for auth and session cookies. I could not find a way to change this in configuration, and infact in Laravel 4.0 (this is no longer the case), the httponly is hard coded as a setting in vendor/laravel/framework/src/Illuminate/Session/SessionManager.php
Note that you should not leak cookies from HTTPS to HTTP, because it stops you from being able to keep sessions secure (I could still sniff a session from another user on my network logged into your website, for example).
shadow
Privacy Policy - Terms - Contact Us © bighow.org