force https htaccess
RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
RewriteEngine On
RewriteCond %{HTTPS} !=on
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301,NE]
RewriteEngine On
RewriteCond %{HTTP:X-Forwarded-Proto} !https
RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301,NE] RewriteEngine On
RewriteCond %{SERVER_PORT} 80
RewriteRule ^(.*)$ https://www.yourdomain.com/$1 [R,L]RewriteEngine On
RewriteCond %{SERVER_PORT} 80
RewriteRule ^(.*)$ https://www.example.com/$1 [R=301,L,NE]RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
Also in C++:
- upload folders in sftp
- windows give an ip address a name
- restart sql server ubuntu
- how to save iptables
- virtualenvwrapper-win
- alternative command to run source linux
- how to use /dev/urandom
- dos findstr
- youtube dl text tracked playlist download
- delete branch from github mcd
- git stash pop index
- secure letsencrypt on ubuntu 20.04
- bootstrap npm
- how to find and replace a string in a file using shell script
- command wait bash
- App not compatible with buildpack: https://buildpack-registry.s3.amazonaws.com/buildpacks/heroku/python.tgz
- What causes a defunct process on the Linux system and how can you avoid it?
- how to ls git branch
- calculate float division
- how to pip install asyncio
- git checkout
- DRIVE LINUX
- heroku create with name
- GVfs metadata is not supported. Fallback to Tell Metadata Manager. Either GVfs is not correctly installed or GVfs metadata are not supported on this platform. In the latter case, you should configure Tepl with --disable-gvfs-metadata.